zephyr/include/bluetooth
Johan Hedberg ed5fb3ff37 Bluetooth: Mesh: Fix (re)transmit interval handling
The adv_send() function was incorrectly decoding the 5-bit value (it
was using it directly as milliseconds), which effectively lead to the
code always picking the controller's minimum supported interval.

Fix this issue, but do it by simplifying the (re)transmission state
tracking so that the state is always stored in the original "packed"
8-bit value, where 5 bits are reserved for the interval, and 3 for the
count.

Fixes #7972

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-06-05 19:15:14 +02:00
..
mesh Bluetooth: Mesh: Fix (re)transmit interval handling 2018-06-05 19:15:14 +02:00
a2dp-codec.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
a2dp.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
att.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
avdtp.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
bluetooth.h Bluetooth: Introduce new bt_set_id_addr() API 2018-05-10 22:39:04 +02:00
buf.h bt: Don't rely on 'enum bt_buf_type' being 1 byte 2018-01-29 06:58:42 -08:00
conn.h doc: fix misspellings in include (API docs) 2017-08-10 12:22:19 -04:00
crypto.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
gatt.h Bluetooth: GATT: Change attribute count from u16_t to size_t 2018-05-22 13:33:00 -04:00
hci_raw.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
hci_vs.h Bluetooth: VS: Replace IRK with IR 2017-08-17 12:36:51 +02:00
hci.h Bluetooth: Mesh: Switch to using Linux Foundation Company ID 2018-03-05 19:54:21 -05:00
hfp_hf.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
l2cap.h Bluetooth: L2CAP: Add support for dynamically allocated PSM values 2018-05-18 12:39:58 +03:00
mesh.h Bluetooth: Mesh: Remove unnecessary #ifdefs from header file 2018-05-02 15:45:16 +01:00
rfcomm.h Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
sdp.h Bluetooth: UUID: Remove macros defining 16 bit values 2018-02-13 13:33:48 +02:00
testing.h Bluetooth: btp: Add event indicating expiration of incomp timer 2018-01-03 10:48:13 +01:00
uuid.h Bluetooth: UUID: Remove macros defining 16 bit values 2018-02-13 13:33:48 +02:00