zephyr/subsys/bluetooth/host
Mariusz Skamra daa8040e2f Bluetooth: Mesh: Ignore segments of cancelled message
This fixes the issue when after incomplete timer expiration
host sent ACK.
The host failed in two cases:
1. Sending ACK right after the incomplete timer expiration;
2. Sending ACK from new RX context. Now, seq_auth of cancelled
message is not cleaned on RX reset, so segments of cancelled message
will be discarded when resend.

According to the Mesh Profile v1.0
"When the incomplete timer expires, the lower transport layer
shall consider that the message being received has failed and
cancel the acknowledgment timer. Any segment of a canceled
message shall be ignored."

Fixes #6023

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-02-14 17:53:37 +02:00
..
mesh Bluetooth: Mesh: Ignore segments of cancelled message 2018-02-14 17:53:37 +02:00
a2dp_internal.h
a2dp.c
at.c
at.h
att_internal.h
att.c Bluetooth: UUID: Remove macros defining 16 bit values 2018-02-13 13:33:48 +02:00
avdtp_internal.h
avdtp.c
CMakeLists.txt Bluetooth: Introduce Bluetooth Testing API 2017-12-13 11:26:32 +02:00
conn_internal.h
conn.c Bluetooth: Introduce dedicated TX fragment pool 2018-02-13 14:49:52 +02:00
crypto.c
crypto.h
ecc.h
gatt_internal.h
gatt.c Bluetooth: UUID: Remove macros defining 16 bit values 2018-02-13 13:33:48 +02:00
hci_core.c Bluetooth: Move HCI command buffer user data into separate array 2018-02-12 09:48:32 +02:00
hci_core.h Bluetooth: Defer RL update if there's an ongoing connection 2017-11-06 12:50:40 +02:00
hci_ecc.c
hci_ecc.h
hci_raw_internal.h
hci_raw.c
hfp_hf.c
hfp_internal.h
Kconfig Bluetooth: Introduce dedicated TX fragment pool 2018-02-13 14:49:52 +02:00
keys_br.c
keys.c Bluetooth: Defer RL update if there's an ongoing connection 2017-11-06 12:50:40 +02:00
keys.h Bluetooth: Defer RL update if there's an ongoing connection 2017-11-06 12:50:40 +02:00
l2cap_br.c
l2cap_internal.h
l2cap.c net: buf: Redesigned API with split data and meta-data 2018-02-10 09:20:42 +02:00
monitor.c
monitor.h
rfcomm_internal.h
rfcomm.c
sdp_internal.h
sdp.c
smp_null.c
smp.c Bluetooth: Defer RL update if there's an ongoing connection 2017-11-06 12:50:40 +02:00
smp.h
storage.c
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