zephyr/subsys/bluetooth/host
Mariusz Skamra 93abc2ad76 Bluetooth: att: Reset ATT timer when retrying on security error
If the remote responds with and security related error the stack tries
to increase the security level to satisfy the remote permissions.
This fixes missing ATT timer reset on security related ATT Error
Response as the ATT operation is considered as complete.

< ACL Data TX: Handle 0 flags 0x00 dlen 7
      ATT: Read Request (0x0a) len 2
        Handle: 0x0084
        TMAS: Role
> ACL Data RX: Handle 0 flags 0x02 dlen 9
      ATT: Error Response (0x01) len 4
        Read Request (0x0a)
        Handle: 0x0084
        Error: Insufficient Authentication (0x05)
          TMAS: Role
           Error code: 0x05
< ACL Data TX: Handle 0 flags 0x00 dlen 6
      SMP: Security Request (0x0b) len 1
        Authentication requirement: Bonding, No MITM, SC, No Keypresses
= bt: bt_att: ATT Timeout

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2023-06-24 18:55:17 +02:00
..
a2dp_internal.h
a2dp.c
addr_internal.h
addr.c Bluetooth: Host: Fix bt_addr_from_str for str starting with ':' 2023-06-05 08:31:06 -04:00
adv.c Bluetooth: host: invalidate the RPA when starting legacy adv 2023-06-17 07:36:58 -04:00
adv.h
aes_ccm.c
at.c bluetooth: fix armclang compiler warnings with is*() functions 2023-03-31 09:19:16 +02:00
at.h
att_internal.h Bluetooth: BAP: Add unicast client and server write long support 2023-05-26 05:55:15 -04:00
att.c Bluetooth: att: Reset ATT timer when retrying on security error 2023-06-24 18:55:17 +02:00
avdtp_internal.h
avdtp.c
br.c Bluetooth: Use bt_addr_eq 2023-05-09 09:23:52 +02:00
br.h
buf.c Bluetooth: Fix clearing sent_cmd pointer when allocating event buffer 2023-04-11 16:57:37 +02:00
CMakeLists.txt Bluetooth: Move bt_data_parse to dedicated source file 2023-03-16 11:46:36 +01:00
conn_internal.h Bluetooth: host: don't fragment ISO if len <= MTU 2023-05-03 10:02:44 +02:00
conn.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
crypto.c
crypto.h
data.c Bluetooth: Host: Move new bt_data functions to data.c 2023-03-21 18:17:52 +00:00
direction_internal.h
direction.c Bluetooth: host: df: Add missing bt_conn_unref in error cases 2023-03-23 08:56:07 +00:00
ecc.c tests: bluetooth: host: Add UT for bt_pub_key_gen() 2023-03-22 09:33:42 +01:00
ecc.h
gatt_internal.h
gatt.c Bluetooth: Host: Fix connection reference leak 2023-06-24 18:55:04 +02:00
hci_common.c
hci_core.c Bluetooth: Host: Add NULL check for addr in unpair 2023-06-23 09:21:35 +02:00
hci_core.h Bluetooth: id: Keep RPA as bt_addr_t 2023-05-12 10:55:50 +03:00
hci_ecc.c
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: hci_raw: Fix a LOG_ERR message 2023-04-28 10:33:18 -05:00
hfp_hf.c
hfp_internal.h
id.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
id.h
iso_internal.h Bluetooth: audio: Fix declaring conn type object in header file 2023-03-28 15:07:09 +02:00
iso.c Bluetooth: ISO: Log status as hex instead of decimal 2023-06-09 14:16:15 -04:00
Kconfig Bluetooth: host: clarify the behavior of BT_PRIVACY 2023-05-22 15:26:55 +02:00
Kconfig.gatt Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
Kconfig.l2cap Bluetooth: MCS: Remove requirement for TX_BUF_COUNT 2023-05-26 05:54:58 -04:00
keys_br.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
keys.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
keys.h
l2cap_br.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap_internal.h iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap.c Bluetooth: Host: Re-order LE L2CAP connection accept procedure 2023-06-17 07:33:11 -04:00
long_wq.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
long_wq.h
monitor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
monitor.h
rfcomm_internal.h
rfcomm.c
scan.c Bluetooth: Fix endianness handling for ext scan reports evt_type 2023-06-21 16:06:36 +02:00
scan.h
sdp_internal.h
sdp.c
settings.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
settings.h Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
smp_null.c
smp.c Bluetooth: Host: Fix warning from the logging subsystem 2023-05-09 14:28:49 +02:00
smp.h Bluetooth: Host: SMP Keypress Notification 2023-03-13 14:04:25 +01:00
ssp.c
ssp.h
testing.c Bluetooth: Mesh: Add Model Receive testing callback 2023-03-06 13:52:15 +01:00
testing.h Bluetooth: Mesh: Add Model Receive testing callback 2023-03-06 13:52:15 +01:00
uuid.c