zephyr/subsys/bluetooth/host
Johan Hedberg c2f0dad29d Bluetooth: Mesh: Improve Network Message Cache behavior
The implementation of the Network Message Cache has so far been
suboptimal, since it has treated the same packet with different TTL
values as different packets. Since one of the purposes of this cache
is to prevent unnecessary relaying, it's important that we don't let
the TTL value influence the "hash" that's used for matching messages.

This patch changes the hash to consist of most of the IV Index (three
least significant bytes of it), the sequence number and the source
address, which should give fairly optimal matching behavior.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-10-24 18:23:36 +03:00
..
mesh Bluetooth: Mesh: Improve Network Message Cache behavior 2017-10-24 18:23:36 +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: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
avdtp_internal.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
avdtp.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
conn_internal.h Bluetooth: Fix reporting packets for disconnected connections 2017-10-12 22:02:14 -05:00
conn.c Bluetooth: Fix freeing up conn->tx_notify upon disconnect 2017-10-13 17:23:46 -07:00
crypto.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
crypto.h Bluetooth: Make LE Encrypt helpers public 2017-03-21 17:05:42 -07:00
ecc.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
gatt_internal.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
gatt.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
hci_core.c Bluetooth: Fix memory leak of command response buffer 2017-10-17 17:40:00 -04:00
hci_core.h Bluetooth: Add basic host-side support for HCI vendor extensions 2017-10-17 15:01:54 +03:00
hci_ecc.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
hci_ecc.h Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
hci_raw_internal.h Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
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: Kconfig: fix default value and range for BT_RX_STACK_SIZE 2017-08-17 21:11:50 +03:00
keys_br.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
keys.c Bluetooth: Add helper to iterate all key objects 2017-10-05 13:14:08 +03:00
keys.h Bluetooth: Add helper to iterate all key objects 2017-10-05 13:14:08 +03:00
l2cap_br.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
l2cap_internal.h Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
l2cap.c Bluetooth: L2CAP: Increase disconnect timeout to 2 seconds 2017-10-15 15:50:38 +03:00
Makefile Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +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 Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
sdp.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
smp_null.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
smp.c Bluetooth: SMP: Fix responding to Pairing Failed PDUs 2017-09-25 14:38:34 +03:00
smp.h Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
storage.c Bluetooth: Fix formatting string for storage directory name 2017-08-17 11:16:03 +03:00
uuid.c Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00