Bluetooth: L2CAP cleanups and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | Bluetooth: Handle LE L2CAP signalling in its own functionnet/ | +48 | 0 replies | |
| 2/13 | Bluetooth: Create independent LE signalling defines and structsinclude/ net/ | +42 | 0 replies | |
| 3/13 | Bluetooth: Rename L2CAP_CID_LE_DATA to L2CAP_CID_ATTinclude/ net/ net/ | +10 | 0 replies | |
| 4/13 | Bluetooth: Fix LE vs BR/EDR selection when connectingnet/ | +1 | 4 replies | |
| 5/13 | Bluetooth: Fix EBUSY condition test in l2cap_chan_connectnet/ | +4 | 0 replies | |
| 6/13 | Bluetooth: Fix hardcoding ATT CID in __l2cap_chan_add()net/ | +6 | 0 replies | |
| 7/13 | Bluetooth: Add clarifying comment to l2cap_conn_ready()net/ | +3 | 0 replies | |
| 8/13 | Bluetooth: Fix duplicate call to l2cap_chan_ready()net/ | +0 | 0 replies | |
| 9/13 | Bluetooth: Remove useless sk variable in l2cap_le_conn_readynet/ | +3 | 0 replies | |
| 10/13 | Bluetooth: Remove unnecessary L2CAP channel state checknet/ | +1 | 0 replies | |
| 11/13 | Bluetooth: Simplify hci_conn_hold/drop logic for L2CAPnet/ | +5 | 0 replies | |
| 12/13 | Bluetooth: Remove useless hci_conn disc_timeout settingnet/ | +0 | 0 replies | |
| 13/13 | Bluetooth: Fix multiple LE socket handlingnet/ | +8 | 1 reply |
Reviews trailers per patch
None of the 13 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marcel Holtmann |
|---|---|
| Series | A-b |
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] Bluetooth: L2CAP cleanups and fixes
Hi,
This set of patches contains some cleanups and fixes for future L2CAP work. The L2CAP usage in coming core spec versions will no longer be as constrined as it has so far with extensions to the LE signalling channel etc. This means that we really do need separate code paths for LE signalling instead of sharing BR/EDR related signalling code. The patches to split this up keep the same functionality as before (for now) but ensure that we have dedicated functions and structs for LE.
Johan
----------------------------------------------------------------
Johan Hedberg (13):
Bluetooth: Handle LE L2CAP signalling in its own function
Bluetooth: Create independent LE signalling defines and structs
Bluetooth: Rename L2CAP_CID_LE_DATA to L2CAP_CID_ATT
Bluetooth: Fix LE vs BR/EDR selection when connecting
Bluetooth: Fix EBUSY condition test in l2cap_chan_connect
Bluetooth: Fix hardcoding ATT CID in __l2cap_chan_add()
Bluetooth: Add clarifying comment to l2cap_conn_ready()
Bluetooth: Fix duplicate call to l2cap_chan_ready()
Bluetooth: Remove useless sk variable in l2cap_le_conn_ready
Bluetooth: Remove unnecessary L2CAP channel state check
Bluetooth: Simplify hci_conn_hold/drop logic for L2CAP
Bluetooth: Remove useless hci_conn disc_timeout setting
Bluetooth: Fix multiple LE socket handling
include/net/bluetooth/l2cap.h | 36 ++++++++-- net/bluetooth/l2cap_core.c | 145 ++++++++++++++++++++++++++--------------- net/bluetooth/l2cap_sock.c | 4 +- 3 files changed, 126 insertions(+), 59 deletions(-)