Bluetooth: Update to latest mgmt API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | Bluetooth: Fix clearing persistent flagsnet/ | +2 | 1 reply | |
| 2/15 | Bluetooth: Rename mgmt connected events to match user spaceinclude/ include/ net/ +1 more | +15 | 1 reply | |
| 3/15 | Bluetooth: Add eir_len parameter to mgmt_ev_device_foundinclude/ include/ net/ | +18 | 1 reply | |
| 4/15 | Bluetooth: Rename eir_has_complete_name to eir_has_data_typenet/ | +5 | 1 reply | |
| 5/15 | Bluetooth: Add missing EIR defines to hci.hinclude/ | +3 | 1 reply | |
| 6/15 | Bluetooth: Move eir_has_data_field to hci_core.hinclude/ net/ | +25 | 1 reply | |
| 7/15 | Bluetooth: Merge device class into the EIR data in mgmt_ev_device_foundinclude/ include/ net/ | +24 | 6 replies | |
| 8/15 | Bluetooth: Rename conn->pend to conn->flagsinclude/ net/ net/ +2 more | +41 | 1 reply | |
| 9/15 | Bluetooth: Merge boolean members of struct hci_conn into flagsinclude/ net/ net/ | +25 | 3 replies | |
| 10/15 | Bluetooth: Add a convenience function to check for SSP enabledinclude/ net/ net/ | +12 | 3 replies | |
| 11/15 | Bluetooth: Convert hdev->ssp_mode to a flaginclude/ include/ net/ +1 more | +12 | 1 reply | |
| 12/15 | Bluetooth: Convert hdev->out to a bool typeinclude/ net/ net/ | +7 | 1 reply | |
| 13/15 | Bluetooth: Update device_connected and device_found events to latest APIinclude/ include/ net/ +1 more | +110 | 1 reply | |
| 14/15 | Bluetooth: Rename hdev->flags to hdev->compat_flagsdrivers/ drivers/ drivers/ +10 more | +121 | 1 reply | |
| 15/15 | Bluetooth: Rename hdev->dev_flags to hdev-flagsinclude/ include/ net/ +3 more | +77 | 0 replies |
Reviews trailers per patch
10 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Marcel Holtmann |
|---|---|
| 1/15 | A-b |
| 2/15 | A-b |
| 3/15 | A-b |
| 4/15 | A-b |
| 5/15 | A-b |
| 6/15 | A-b |
| 7/15 | A-b |
| 8/15 | A-b |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | A-b |
| 13/15 | A-b |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/15] Bluetooth: Update to latest mgmt API
Hi,
These patches update the device_found and device_connected mgmt events to correspond to the latest API. The patches should work with latest user space git. There are also some bugfixes like the persistent flags one and some cosmetic changes like the flags variable renames. Also, sorry about the slightly big patch 13/15. I tried to look into splitting it but didn't find any simple way.
Johan Hedberg (15):
Bluetooth: Fix clearing persistent flags
Bluetooth: Rename mgmt connected events to match user space
Bluetooth: Add eir_len parameter to mgmt_ev_device_found
Bluetooth: Rename eir_has_complete_name to eir_has_data_type
Bluetooth: Add missing EIR defines to hci.h
Bluetooth: Move eir_has_data_field to hci_core.h
Bluetooth: Merge device class into the EIR data in mgmt_ev_device_found
Bluetooth: Rename conn->pend to conn->flags
Bluetooth: Merge boolean members of struct hci_conn into flags
Bluetooth: Add a convenience function to check for SSP enabled
Bluetooth: Convert hdev->ssp_mode to a flag
Bluetooth: Convert hdev->out to a bool type
Bluetooth: Update device_connected and device_found events to latest API
Bluetooth: Rename hdev->flags to hdev->compat_flags
Bluetooth: Rename hdev->dev_flags to hdev-flags
drivers/bluetooth/bfusb.c | 12 +- drivers/bluetooth/bpa10x.c | 12 +- drivers/bluetooth/btmrvl_main.c | 9 +- drivers/bluetooth/btusb.c | 20 ++-- drivers/bluetooth/hci_ldisc.c | 6 +- drivers/bluetooth/hci_vhci.c | 6 +- include/net/bluetooth/hci.h | 29 ++-- include/net/bluetooth/hci_core.h | 77 +++++++++--- include/net/bluetooth/mgmt.h | 25 ++-- net/bluetooth/hci_conn.c | 50 ++++---- net/bluetooth/hci_core.c | 101 ++++++++------- net/bluetooth/hci_event.c | 264 ++++++++++++++++++++------------------ net/bluetooth/hci_sock.c | 8 +- net/bluetooth/l2cap_core.c | 2 +- net/bluetooth/mgmt.c | 166 +++++++++++++++---------- net/bluetooth/smp.c | 21 ++-- 16 files changed, 455 insertions(+), 353 deletions(-)