Bluetooth: LE CoC support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest32 patches 3 repliesIn review
- v131 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | Bluetooth: Remove unnecessary braces from one-line if-statementnet/ | +2 | 0 replies | |
| 2/32 | Bluetooth: Add module parameter to enable LE CoC supportinclude/ net/ | +13 | 0 replies | |
| 3/32 | Bluetooth: Update l2cap_global_chan_by_psm() to take a link typenet/ | +11 | 0 replies | |
| 4/32 | Bluetooth: Allow l2cap_chan_check_security() to be used for LE links.net/ | +3 | 0 replies | |
| 5/32 | Bluetooth: Pass command length to LE signaling channel handlersnet/ | +6 | 0 replies | |
| 6/32 | Bluetooth: Move LE L2CAP initiator procedure to its own functionnet/ | +6 | 0 replies | |
| 7/32 | Bluetooth: Add definitions for LE connection oriented channelsinclude/ | +31 | 0 replies | |
| 8/32 | Bluetooth: Add initial code for LE L2CAP Connect Requestnet/ | +98 | 0 replies | |
| 9/32 | Bluetooth: Add smp_sufficient_security helper functionnet/ net/ | +13 | 0 replies | |
| 10/32 | Bluetooth: Refactor L2CAP connect rejection to its own functionnet/ | +24 | 0 replies | |
| 11/32 | Bluetooth: Add basic LE L2CAP connect request receiving supportinclude/ net/ | +151 | 0 replies | |
| 12/32 | Bluetooth: Fix L2CAP channel closing for LE connectionsnet/ | +4 | 0 replies | |
| 13/32 | Bluetooth: Add L2CAP Disconnect suppport for LEnet/ | +7 | 0 replies | |
| 14/32 | Bluetooth: Make l2cap_le_sig_cmd logic consistentnet/ | +16 | 0 replies | |
| 15/32 | Bluetooth: Add LE L2CAP flow control modeinclude/ net/ net/ | +38 | 0 replies | |
| 16/32 | Bluetooth: Track LE L2CAP credits in l2cap_chaninclude/ net/ net/ | +16 | 0 replies | |
| 17/32 | Bluetooth: Limit L2CAP_OPTIONS socket option usage with LEnet/ | +15 | 0 replies | |
| 18/32 | Bluetooth: Add new BT_SNDMTU and BT_RCVMTU socket optionsinclude/ net/ | +55 | 0 replies | |
| 19/32 | Bluetooth: Implement returning of LE L2CAP creditsnet/ | +26 | 0 replies | |
| 20/32 | Bluetooth: Add LE flow control disciplinenet/ | +66 | 0 replies | |
| 21/32 | Bluetooth: Reject LE CoC commands when the feature is not enablednet/ | +11 | 0 replies | |
| 22/32 | Bluetooth: Introduce L2CAP channel callback for suspendinginclude/ net/ | +10 | 0 replies | |
| 23/32 | Bluetooth: Add LE L2CAP segmentation support for outgoing datanet/ | +126 | 0 replies | |
| 24/32 | Bluetooth: Implement LE L2CAP reassemblynet/ | +76 | 0 replies | |
| 25/32 | Bluetooth: Fix LE L2CAP Connect Request handling together with SMPinclude/ net/ | +4 | 0 replies | |
| 26/32 | Bluetooth: Fix suspending the L2CAP socket if we start with 0 creditsnet/ | +3 | 0 replies | |
| 27/32 | Bluetooth: Limit LE MPS to the MTU valuenet/ | +14 | 0 replies | |
| 28/32 | Bluetooth: Fix clearing of chan->omtu for LE CoC channelsnet/ | +4 | 0 replies | |
| 29/32 | Bluetooth: Fix CID ranges for LE CoC CID allocationsinclude/ net/ | +8 | 0 replies | |
| 30/32 | Bluetooth: Fix validating LE PSM valuesnet/ net/ | +44 | 2 replies | |
| 31/32 | Bluetooth: Add debugfs controls for LE CoC MPS and Creditsnet/ | +12 | 0 replies | |
| 32/32 | Bluetooth: Simplify l2cap_chan initialization for LE CoCinclude/ net/ net/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/32] Bluetooth: LE CoC support
Hi,
Here's v2 of the patches with all comments taken into account. Additionally I've fixed the permissions of the debugfs files, fixed the credits calculation for max_credits == 1, and added a cleanup patch at the end of the set for simplifying l2cap_chan initialization for LE CoC.
I've also updated user space l2test now to support the new BT_SNDMTU and BT_RCVMTU socket options, i.e. the LE CoC functionality can now be tested using upstream l2test.
Johan
----------------------------------------------------------------
Johan Hedberg (32):
Bluetooth: Remove unnecessary braces from one-line if-statement
Bluetooth: Add module parameter to enable LE CoC support
Bluetooth: Update l2cap_global_chan_by_psm() to take a link type
Bluetooth: Allow l2cap_chan_check_security() to be used for LE links.
Bluetooth: Pass command length to LE signaling channel handlers
Bluetooth: Move LE L2CAP initiator procedure to its own function
Bluetooth: Add definitions for LE connection oriented channels
Bluetooth: Add initial code for LE L2CAP Connect Request
Bluetooth: Add smp_sufficient_security helper function
Bluetooth: Refactor L2CAP connect rejection to its own function
Bluetooth: Add basic LE L2CAP connect request receiving support
Bluetooth: Fix L2CAP channel closing for LE connections
Bluetooth: Add L2CAP Disconnect suppport for LE
Bluetooth: Make l2cap_le_sig_cmd logic consistent
Bluetooth: Add LE L2CAP flow control mode
Bluetooth: Track LE L2CAP credits in l2cap_chan
Bluetooth: Limit L2CAP_OPTIONS socket option usage with LE
Bluetooth: Add new BT_SNDMTU and BT_RCVMTU socket options
Bluetooth: Implement returning of LE L2CAP credits
Bluetooth: Add LE flow control discipline
Bluetooth: Reject LE CoC commands when the feature is not enabled
Bluetooth: Introduce L2CAP channel callback for suspending
Bluetooth: Add LE L2CAP segmentation support for outgoing data
Bluetooth: Implement LE L2CAP reassembly
Bluetooth: Fix LE L2CAP Connect Request handling together with SMP
Bluetooth: Fix suspending the L2CAP socket if we start with 0 credits
Bluetooth: Limit LE MPS to the MTU value
Bluetooth: Fix clearing of chan->omtu for LE CoC channels
Bluetooth: Fix CID ranges for LE CoC CID allocations
Bluetooth: Fix validating LE PSM values
Bluetooth: Add debugfs controls for LE CoC MPS and Credits
Bluetooth: Simplify l2cap_chan initialization for LE CoC
include/net/bluetooth/bluetooth.h | 3 + include/net/bluetooth/l2cap.h | 45 +++ net/bluetooth/l2cap_core.c | 720 ++++++++++++++++++++++++++++++++++--- net/bluetooth/l2cap_sock.c | 157 +++++++- net/bluetooth/smp.c | 16 +- net/bluetooth/smp.h | 1 + 6 files changed, 873 insertions(+), 69 deletions(-)