Merge bluetooth branch into master
- Controller cleanups
- Refactor controller for a cleaner Link Layer abstraction
- SDP enhancements
- Use sys_slist_t API wherever possible
- Fix race condition in controller
- Update controller to report Bluetooth 5.0 version
----------------------------------------------------------------
Carles Cufi (6):
Bluetooth: controller: Remove unused H:4 tag macros
Bluetooth: controller: Rename downstream API calls
Bluetooth: controller: Introduce BLUETOOTH_LL_SW
Bluetooth: controller: Move ll.h to an include folder
Bluetooth: controller: Remove public address config option
Bluetooth: controller: Move LL code from driver to ll_sw
Johan Hedberg (11):
Bluetooth: Make bt_hci_driver instances link-time constants
Bluetooth: shell: Fix missing initialization of param.own_addr
Bluetooth: shell: Add command to start continuous passive scanning
Bluetooth: Move crypto APIs to dedicated header file
Bluetooth: Controller: Factor out ECB core code from ecb_encrypt()
Bluetooth: Controller: Introduce big-endian variant for ECB
Bluetooth: Introduce public big-endian AES API
Bluetooth: Controller: Increase default TX buffer count
Bluetooth: Use specific pointer type for conn->channels
Bluetooth: ATT: Reorder handler struct for compactness
Bluetooth: ATT: Refactor PDU handling
Kaustav Dey Biswas (5):
Bluetooth: SDP: Server: Send service search response
Bluetooth: SDP: Server: Handle ServiceAttributeRequest
Bluetooth: SDP: Server: Find the attributes in the record
Bluetooth: SDP: Server: Send ServiceAttributeResponse
Bluetooth: SDP: Server: Support ServiceSearchAttributeRequest
Luiz Augusto von Dentz (4):
Bluetooth: ipsp: Fix checking for NULL pointer
Bluetooth: L2CAP: Use sys_slist_t for connection channels
Bluetooth: L2CAP: Use sys_slist_t for server channels
Bluetooth: L2CAP: Use sys_slist_t for fixed channels
Mariusz Skamra (2):
Bluetooth: L2CAP: Fix TX queueing for LE CoC
Bluetooth: tester: Fix UART issue on qemu
Matthias Ringwald (1):
Bluetooth: Controller: Kconfig company id and subversion number
Sathish Narasimman (5):
Bluetooth: HFP HF: SCO: Handle synchronous_conn_complete
Bluetooth: SCO: Rename 'conn' to 'acl'
Bluetooth: HFP HF: SCO: Handle SCO Disconnect
Bluetooth: HFP HF: SCO Initiate Audio connection
Bluetooth: AT: Fix reset the state during error
Vinayak Chettimada (16):
Bluetooth: Controller: Fix RSSI feature conditional compilation
Bluetooth: Controller: Add advertisement event indication feature
Bluetooth: Controller: Add Kconfig range check for public address
Bluetooth: Controller: Version 5.0 and PDU type rename
Bluetooth: controller: Use explicit paths to internal headers
Bluetooth: controller: Move bt_rand into separate file
Bluetooth: Make LE Encrypt helpers public
Bluetooth: controller: Replace 0 for pointers with NULL keyword
Bluetooth: Fix checks for changes in connection parameters
Bluetooth: Support connection parameter update as central
Bluetooth: shell: Reorder commands in logical order of use
Bluetooth: shell: Add connection update command
Bluetooth: controller: Move PDU macros from radio.h to pdu.h
Bluetooth: controller: Cleanup makefiles
Bluetooth: controller: Fix mayfly caller id for thread call path
Bluetooth: controller: Fix race waiting for ticker job to complt
drivers/bluetooth/hci/h4.c | 2 +-
drivers/bluetooth/hci/h5.c | 2 +-
drivers/bluetooth/hci/spi.c | 2 +-
include/bluetooth/bluetooth.h | 15 +-
include/bluetooth/conn.h | 11 +
include/bluetooth/crypto.h | 77 ++
include/bluetooth/hci.h | 24 +
include/bluetooth/l2cap.h | 4 +-
include/drivers/bluetooth/hci_driver.h | 2 +-
samples/bluetooth/ipsp/src/main.c | 6 +-
subsys/bluetooth/Kconfig | 2 +-
subsys/bluetooth/controller/Kconfig | 39 +-
subsys/bluetooth/controller/Makefile | 23 +-
subsys/bluetooth/controller/hal/Makefile | 1 +
subsys/bluetooth/controller/hal/ecb.h | 3 +
subsys/bluetooth/controller/hal/nrf5/Makefile | 3 +
subsys/bluetooth/controller/hal/nrf5/cntr.c | 4 +-
subsys/bluetooth/controller/hal/nrf5/ecb.c | 64 +-
subsys/bluetooth/controller/hal/nrf5/radio.c | 17 +-
subsys/bluetooth/controller/hal/nrf5/rand.c | 4 +-
subsys/bluetooth/controller/hal/radio.h | 5 -
subsys/bluetooth/controller/hci/Makefile | 4 +
subsys/bluetooth/controller/hci/hci.c | 76 +-
subsys/bluetooth/controller/hci/hci_driver.c | 217 +-----
subsys/bluetooth/controller/include/ll.h | 58 ++
subsys/bluetooth/controller/ll/ll.h | 29 -
subsys/bluetooth/controller/ll_sw/Makefile | 4 +
subsys/bluetooth/controller/ll_sw/crypto.c | 54 ++
subsys/bluetooth/controller/{ll => ll_sw}/ctrl.c | 660 +++++++++--------
subsys/bluetooth/controller/{ll => ll_sw}/ctrl.h | 54 +-
.../controller/{ll => ll_sw}/ctrl_internal.h | 6 +-
subsys/bluetooth/controller/{ll => ll_sw}/ll.c | 237 ++++++-
subsys/bluetooth/controller/{ll => ll_sw}/pdu.h | 64 +-
subsys/bluetooth/controller/ticker/Makefile | 3 +
subsys/bluetooth/controller/ticker/ticker.c | 12 +-
subsys/bluetooth/controller/util/Makefile | 1 +
subsys/bluetooth/controller/util/memq.c | 5 +-
subsys/bluetooth/host/Kconfig | 16 +-
subsys/bluetooth/host/Makefile | 2 +
subsys/bluetooth/host/at.c | 7 +-
subsys/bluetooth/host/att.c | 204 ++++--
subsys/bluetooth/host/conn.c | 148 +++-
subsys/bluetooth/host/conn_internal.h | 12 +-
subsys/bluetooth/host/crypto.c | 155 ++++
subsys/bluetooth/host/crypto.h | 8 +
subsys/bluetooth/host/hci_core.c | 150 ++--
subsys/bluetooth/host/hci_core.h | 2 +-
subsys/bluetooth/host/hci_ecc.c | 9 +-
subsys/bluetooth/host/hci_ecc.h | 5 +-
subsys/bluetooth/host/hci_raw.c | 8 +-
subsys/bluetooth/host/hci_raw_internal.h | 2 +-
subsys/bluetooth/host/l2cap.c | 202 ++----
subsys/bluetooth/host/l2cap_br.c | 97 +--
subsys/bluetooth/host/l2cap_internal.h | 5 +-
subsys/bluetooth/host/sdp.c | 781 +++++++++++++++++++++
subsys/bluetooth/host/sdp_internal.h | 14 +
subsys/bluetooth/host/smp.c | 36 +-
tests/bluetooth/init/prj_controller_4_0.conf | 1 +
tests/bluetooth/init/prj_controller_dbg.conf | 1 +
tests/bluetooth/shell/src/main.c | 137 +++-
tests/bluetooth/test_bluetooth/src/bluetooth.c | 2 +-
tests/bluetooth/tester/qemu.conf | 1 +
62 files changed, 2583 insertions(+), 1216 deletions(-)
create mode 100644 include/bluetooth/crypto.h
create mode 100644 subsys/bluetooth/controller/hal/Makefile
create mode 100644 subsys/bluetooth/controller/hal/nrf5/Makefile
create mode 100644 subsys/bluetooth/controller/hci/Makefile
create mode 100644 subsys/bluetooth/controller/include/ll.h
delete mode 100644 subsys/bluetooth/controller/ll/ll.h
create mode 100644 subsys/bluetooth/controller/ll_sw/Makefile
create mode 100644 subsys/bluetooth/controller/ll_sw/crypto.c
rename subsys/bluetooth/controller/{ll => ll_sw}/ctrl.c (93%)
rename subsys/bluetooth/controller/{ll => ll_sw}/ctrl.h (84%)
rename subsys/bluetooth/controller/{ll => ll_sw}/ctrl_internal.h (98%)
rename subsys/bluetooth/controller/{ll => ll_sw}/ll.c (58%)
rename subsys/bluetooth/controller/{ll => ll_sw}/pdu.h (77%)
create mode 100644 subsys/bluetooth/controller/ticker/Makefile
create mode 100644 subsys/bluetooth/controller/util/Makefile
create mode 100644 subsys/bluetooth/host/crypto.c
create mode 100644 subsys/bluetooth/host/crypto.h
Change-Id: Ic8bee0eb4f15c00ce5ca7b3b80133b1bbd0bdbf5
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>