zephyr/subsys/bluetooth/host
Johan Hedberg df4220b213 Bluetooth: L2CAP: Add support for dynamically allocated PSM values
The Bluetooth core specification splits the valid LE L2CAP PSM range
into two subranges:

 - Standard, SIG-assigned fixed PSM values in the range 0x0001-0x007f
 - Dynamic, allocated at runtime in the range 0x0080-0x00ff

Previously the bt_l2cap_server_register() API was assuming that the
app would always decide the PSM, which effectively made it impossible
to have collision-free dynamic PSMs. This patch extends the
implementation so that if server->psm is 0, then the stack will look
for a free PSM from the dynamic range and take it into use.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-05-18 12:39:58 +03:00
..
mesh Bluetooth: Mesh: Remove redundant ivu_unknown variable 2018-05-18 12:39:41 +03:00
a2dp_internal.h
a2dp.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
at.c tests: bluetooth/at: Fix string signedness issues 2017-09-26 12:56:50 +03:00
at.h tests: bluetooth/at: Fix string signedness issues 2017-09-26 12:56:50 +03:00
att_internal.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
att.c Bluetooth: UUID: Remove macros defining 16 bit values 2018-02-13 13:33:48 +02:00
avdtp_internal.h
avdtp.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
CMakeLists.txt Bluetooth: Remove bt_storage API 2018-05-04 17:26:05 -04:00
conn_internal.h Bluetooth: Compress bt_keys struct 2018-05-04 17:26:05 -04:00
conn.c Bluetooth: Compress bt_keys struct 2018-05-04 17:26:05 -04:00
crypto.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
crypto.h
ecc.h
gatt_internal.h Bluetooth: GATT: Add support to persistent CCC config 2018-05-11 14:55:42 +03:00
gatt.c Bluetooth: GATT: Make BT_GATT_CHARACTERISTIC declare its value 2018-05-14 18:51:22 +03:00
hci_core.c subsys: bluetooth: Remove deprcated k_call_stacks_analyze API 2018-05-15 13:43:00 +03:00
hci_core.h Bluetooth: Remove unused rx_prio_queue 2018-05-12 21:28:09 +03:00
hci_ecc.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
hfp_hf.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
hfp_internal.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
Kconfig Bluetooth: Add support for persistent pairing keys storage 2018-05-04 17:26:05 -04:00
keys_br.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
keys.c Bluetooth: Add support for persistent pairing keys storage 2018-05-04 17:26:05 -04:00
keys.h Bluetooth: Compress bt_keys struct 2018-05-04 17:26:05 -04:00
l2cap_br.c Bluetooth: L2CAP: Use BR definition on connection success 2018-04-03 14:30:10 +03:00
l2cap_internal.h Bluetooth: L2CAP: Update LE specific connection result values 2018-04-03 14:30:10 +03:00
l2cap.c Bluetooth: L2CAP: Add support for dynamically allocated PSM values 2018-05-18 12:39:58 +03:00
monitor.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
monitor.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
rfcomm_internal.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
rfcomm.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
sdp_internal.h
sdp.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
settings.c Bluetooth: Add support for persistent pairing keys storage 2018-05-04 17:26:05 -04:00
settings.h Bluetooth: Add support for persistent pairing keys storage 2018-05-04 17:26:05 -04:00
smp_null.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
smp.c Bluetooth: Compress bt_keys struct 2018-05-04 17:26:05 -04:00
smp.h
testing.c Bluetooth: btp: Add event indicating expiration of incomp timer 2018-01-03 10:48:13 +01:00
testing.h Bluetooth: btp: Add event indicating expiration of incomp timer 2018-01-03 10:48:13 +01:00
uuid.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00