linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE
@ 2021-02-23 19:09 Luiz Augusto von Dentz
  2021-02-23 19:09 ` [PATCH BlueZ 2/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED Luiz Augusto von Dentz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Luiz Augusto von Dentz @ 2021-02-23 19:09 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds the missing fields for BT_HCI_EVT_LE_BIG_COMPLETE event.
---
 monitor/bt.h     | 6 ++++++
 monitor/packet.c | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/monitor/bt.h b/monitor/bt.h
index aca847d7c..394dd7a2d 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -3533,6 +3533,12 @@ struct bt_hci_evt_le_big_complete {
 	uint8_t  sync_delay[3];
 	uint8_t  latency[3];
 	uint8_t  phy;
+	uint8_t  nse;
+	uint8_t  bn;
+	uint8_t  pto;
+	uint8_t  irc;
+	uint16_t max_pdu;
+	uint16_t interval;
 	uint8_t  num_bis;
 	uint16_t handle[0];
 } __attribute__ ((packed));
diff --git a/monitor/packet.c b/monitor/packet.c
index fcd698d92..55ba16ccc 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -10575,6 +10575,12 @@ static void le_big_complete_evt(const void *data, uint8_t size)
 	print_usec_interval("BIG Synchronization Delay", evt->sync_delay);
 	print_usec_interval("Transport Latency", evt->latency);
 	print_le_phy("PHY", evt->phy);
+	print_field("NSE: %u", evt->nse);
+	print_field("BN: %u", evt->bn);
+	print_field("PTO: %u", evt->bn);
+	print_field("IRC: %u", evt->irc);
+	print_field("Maximum PDU: %u", evt->max_pdu);
+	print_slot_125("ISO Interval", evt->interval);
 	print_list(evt->handle, size, evt->num_bis, sizeof(*evt->handle),
 						print_bis_handle);
 }
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH BlueZ 2/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED
  2021-02-23 19:09 [PATCH BlueZ 1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE Luiz Augusto von Dentz
@ 2021-02-23 19:09 ` Luiz Augusto von Dentz
  2021-02-23 19:37 ` [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE bluez.test.bot
  2021-02-23 22:59 ` bluez.test.bot
  2 siblings, 0 replies; 6+ messages in thread
From: Luiz Augusto von Dentz @ 2021-02-23 19:09 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds the missing fields for BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED
event.
---
 monitor/bt.h     | 6 ++++++
 monitor/packet.c | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/monitor/bt.h b/monitor/bt.h
index 394dd7a2d..a77a2ee60 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -3554,6 +3554,12 @@ struct bt_hci_evt_le_big_sync_estabilished {
 	uint8_t  status;
 	uint8_t  big_id;
 	uint8_t  latency[3];
+	uint8_t  nse;
+	uint8_t  bn;
+	uint8_t  pto;
+	uint8_t  irc;
+	uint16_t max_pdu;
+	uint16_t interval;
 	uint8_t  num_bis;
 	uint16_t handle[0];
 } __attribute__ ((packed));
diff --git a/monitor/packet.c b/monitor/packet.c
index 55ba16ccc..c07676253 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -10600,6 +10600,12 @@ static void le_big_sync_estabilished_evt(const void *data, uint8_t size)
 	print_status(evt->status);
 	print_field("BIG ID: 0x%2.2x", evt->big_id);
 	print_usec_interval("Transport Latency", evt->latency);
+	print_field("NSE: %u", evt->nse);
+	print_field("BN: %u", evt->bn);
+	print_field("PTO: %u", evt->bn);
+	print_field("IRC: %u", evt->irc);
+	print_field("Maximum PDU: %u", evt->max_pdu);
+	print_slot_125("ISO Interval", evt->interval);
 	print_list(evt->handle, size, evt->num_bis, sizeof(*evt->handle),
 						print_bis_handle);
 }
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* RE: [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE
  2021-02-23 19:09 [PATCH BlueZ 1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE Luiz Augusto von Dentz
  2021-02-23 19:09 ` [PATCH BlueZ 2/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED Luiz Augusto von Dentz
@ 2021-02-23 19:37 ` bluez.test.bot
  2021-02-23 22:47   ` An, Tedd
  2021-02-23 22:56   ` Luiz Augusto von Dentz
  2021-02-23 22:59 ` bluez.test.bot
  2 siblings, 2 replies; 6+ messages in thread
From: bluez.test.bot @ 2021-02-23 19:37 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=437331

---Test result---

##############################
Test: CheckPatch - PASS

##############################
Test: CheckGitLint - PASS

##############################
Test: CheckBuild - FAIL
Output:
configure.ac:21: installing './compile'
configure.ac:33: installing './config.guess'
configure.ac:33: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
configure: error: Embedded Linux library >= 0.37 is required


##############################
Test: MakeCheck - SKIPPED
Output:
checkbuild not success



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE
  2021-02-23 19:37 ` [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE bluez.test.bot
@ 2021-02-23 22:47   ` An, Tedd
  2021-02-23 22:56   ` Luiz Augusto von Dentz
  1 sibling, 0 replies; 6+ messages in thread
From: An, Tedd @ 2021-02-23 22:47 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

Hi Luiz

On 2/23/21, 11:40 AM, "bluez.test.bot@gmail.com" <bluez.test.bot@gmail.com> wrote:

    This is automated email and please do not reply to this email!

    Dear submitter,

    Thank you for submitting the patches to the linux bluetooth mailing list.
    This is a CI test results with your patch series:
    PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=437331

    ---Test result---

    ##############################
    Test: CheckPatch - PASS

    ##############################
    Test: CheckGitLint - PASS

    ##############################
    Test: CheckBuild - FAIL
    Output:
    configure.ac:21: installing './compile'
    configure.ac:33: installing './config.guess'
    configure.ac:33: installing './config.sub'
    configure.ac:5: installing './install-sh'
    configure.ac:5: installing './missing'
    Makefile.am: installing './depcomp'
    parallel-tests: installing './test-driver'
    configure: error: Embedded Linux library >= 0.37 is required

There was an issue with Docker image and it is resolved by now.
Please wait for the next test result.

    ##############################
    Test: MakeCheck - SKIPPED
    Output:
    checkbuild not success



    ---
    Regards,
    Linux Bluetooth



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE
  2021-02-23 19:37 ` [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE bluez.test.bot
  2021-02-23 22:47   ` An, Tedd
@ 2021-02-23 22:56   ` Luiz Augusto von Dentz
  1 sibling, 0 replies; 6+ messages in thread
From: Luiz Augusto von Dentz @ 2021-02-23 22:56 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

On Tue, Feb 23, 2021 at 11:37 AM <bluez.test.bot@gmail.com> wrote:
>
> This is automated email and please do not reply to this email!
>
> Dear submitter,
>
> Thank you for submitting the patches to the linux bluetooth mailing list.
> This is a CI test results with your patch series:
> PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=437331
>
> ---Test result---
>
> ##############################
> Test: CheckPatch - PASS
>
> ##############################
> Test: CheckGitLint - PASS
>
> ##############################
> Test: CheckBuild - FAIL
> Output:
> configure.ac:21: installing './compile'
> configure.ac:33: installing './config.guess'
> configure.ac:33: installing './config.sub'
> configure.ac:5: installing './install-sh'
> configure.ac:5: installing './missing'
> Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
> configure: error: Embedded Linux library >= 0.37 is required
>
>
> ##############################
> Test: MakeCheck - SKIPPED
> Output:
> checkbuild not success
>
>
>
> ---
> Regards,
> Linux Bluetooth

Pushed.

-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE
  2021-02-23 19:09 [PATCH BlueZ 1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE Luiz Augusto von Dentz
  2021-02-23 19:09 ` [PATCH BlueZ 2/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED Luiz Augusto von Dentz
  2021-02-23 19:37 ` [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE bluez.test.bot
@ 2021-02-23 22:59 ` bluez.test.bot
  2 siblings, 0 replies; 6+ messages in thread
From: bluez.test.bot @ 2021-02-23 22:59 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=437331

---Test result---

##############################
Test: CheckPatch - PASS

##############################
Test: CheckGitLint - PASS

##############################
Test: CheckBuild - PASS

##############################
Test: MakeCheck - PASS



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-23 23:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 19:09 [PATCH BlueZ 1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE Luiz Augusto von Dentz
2021-02-23 19:09 ` [PATCH BlueZ 2/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED Luiz Augusto von Dentz
2021-02-23 19:37 ` [BlueZ,1/2] monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE bluez.test.bot
2021-02-23 22:47   ` An, Tedd
2021-02-23 22:56   ` Luiz Augusto von Dentz
2021-02-23 22:59 ` bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).