monitor: Add decoding support for LL Extended Feature Set
Luiz Augusto von Dentz
maintainerPATCH 1/1 monitor: Add decoding support for LL Extended Feature Set
From: Luiz Augusto von Dentz <[email protected]>
This adds support for decoding LL Extended Feature Set introduced in 6.0 that adds the following:
Commands:
- HCI_LE_Read_All_Local_Supported_Features(0x2087)(Feature:47,1)
- HCI_LE_Read_All_Remote_Features(0x2088)(Feature:47,2)
Events:
- HCI_LE_Read_All_Remote_Features_Complete(0x2b)(Mask bit:42)
--- monitor/bt.h | 24 ++++++++++ monitor/packet.c | 114 ++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 131 insertions(+), 7 deletions(-)
monitor/bt.h +24 -0
@@ -2952,6 +2952,21 @@ struct bt_hci_rsp_le_read_iso_link_quality {uint32_t duplicated_packets; } __attribute__ ((packed)); +#define BT_HCI_CMD_LE_READ_ALL_LOCAL_FEATURES 0x2087 +#define BT_HCI_BIT_LE_READ_ALL_LOCAL_FEATURES BT_HCI_CMD_BIT(47, 2) +struct bt_hci_rsp_le_read_all_local_features { +uint8_t status; +uint8_t page; +uint8_t features[248 ]; +} __attribute__ ((packed)); + +#define BT_HCI_CMD_LE_READ_ALL_REMOTE_FEATURES 0x2088 +#define BT_HCI_BIT_LE_READ_ALL_REMOTE_FEATURES BT_HCI_CMD_BIT(47, 3) +struct bt_hci_cmd_le_read_all_remote_features { +uint16_t handle; +uint8_t pages; +} __attribute__ ((packed)); +#define BT_HCI_CMD_LE_CS_RD_LOC_SUPP_CAP 0x2089#define BT_HCI_BIT_LE_CS_RD_LOC_SUPP_CAP BT_HCI_CMD_BIT(20, 5)struct bt_hci_rsp_le_cs_rd_loc_supp_cap {
@@ -3990,6 +4005,15 @@ struct bt_hci_evt_le_big_info_adv_report {uint8_t encryption; } __attribute__ ((packed)); +#define BT_HCI_EVT_LE_READ_ALL_REMOTE_FEATURES_COMPLETE 0x2B +struct bt_hci_evt_le_read_all_remote_features_complete { +uint8_t status; +uint16_t handle; +uint8_t max_pages; +uint8_t valid_pages; +uint8_t features[248 ]; +} __attribute__ ((packed)); +#define BT_HCI_EVT_LE_CS_RD_REM_SUPP_CAP_COMPLETE (0x2C)struct bt_hci_evt_le_cs_rd_rem_supp_cap_complete {uint8_t status;
monitor/packet.c +107 -7
173 lines not on this page · raw message
Signature · 1 line
2.51.0
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=1017464
---Test result---
Test Summary:
CheckPatch PENDING 0.32 seconds GitLint PENDING 0.33 seconds BuildEll PASS 20.22 seconds BluezMake PASS 2757.45 seconds MakeCheck PASS 20.90 seconds MakeDistcheck PASS 185.78 seconds CheckValgrind PASS 244.36 seconds CheckSmatch WARNING 311.73 seconds bluezmakeextell PASS 130.06 seconds IncrementalBuild PENDING 0.30 seconds ScanBuild PASS 922.94 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:monitor/packet.c: note: in included file:monitor/display.h:82:26: warning: Variable length array is used.monitor/packet.c:1931:26: warning: Variable length array is used.monitor/packet.c: note: in included file:monitor/bt.h:3852:52: warning: array of flexible structuresmonitor/bt.h:3840:40: warning: array of flexible structures
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth