zephyr/subsys
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
..
bluetooth Bluetooth: att: Reset ATT timer when retrying on security error 2023-06-24 18:55:17 +02:00
canbus
console
debug debug: coredump: flash partition: Use K_NO_WAIT when in ISR 2023-06-21 16:06:06 -04:00
demand_paging
dfu dfu: mcuboot_shell: Add command to enter serial recovery 2023-04-24 13:27:53 +02:00
disk
dsp
emul iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
fb fb: cfb_shell: correct invert command implementation 2023-05-26 09:49:25 -04:00
fs nvs: Fix missing nvs_ate.part init in nvs_add_gc_done_ate 2023-06-05 10:49:15 -04:00
input iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
ipc ipc: icmsg: Align naming for buffers 2023-06-21 15:56:02 +02:00
jwt
logging segger: rtt: disable unsupported shell/log features 2023-06-23 14:42:41 +02:00
lorawan lorawan: initialise data structures earlier 2023-06-01 13:44:16 -04:00
mgmt mgmt: mcumgr: smp: Allow preventing command execution via hook 2023-06-21 13:24:12 +02:00
modbus modbus: cancel the server_work in modbus disable 2023-05-22 10:50:20 +02:00
net drivers: ieee802154: cc13/26xx_subg: improve CSMA/CA compliance 2023-06-23 09:20:55 +02:00
pm device: make device dependencies optional 2023-06-21 09:32:05 +02:00
portability portability cmsis_rtosv2: Check return of k_mem_slab_init() 2023-06-20 10:45:33 +00:00
random random: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
retention retention: Add optional mutex disablement 2023-04-24 13:27:53 +02:00
rtio rtio: Implement a NO_RESPONSE flag for SQEs 2023-06-23 12:31:09 -04:00
sd
sensing sensing: initial sensor list and enumerate each sensor 2023-06-17 07:43:25 -04:00
settings iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
shell segger: rtt: disable unsupported shell/log features 2023-06-23 14:42:41 +02:00
sip_svc iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
stats
storage storage: flash_map list partition labels 2023-05-05 10:02:19 +02:00
task_wdt
testsuite ztest: Allow 'before' functions to run in privilaged mode 2023-06-23 12:30:46 -04:00
timing
tracing tracing: sysview: implement SEGGER_SYSVIEW_APP_NAME 2023-06-08 06:51:03 -04:00
usb usb: device: class: rndis: Fix for 64bit platforms 2023-06-17 07:36:36 -04:00
zbus zbus: remove POSIX arch iterable sections restriction 2023-05-23 22:09:33 +02:00
CMakeLists.txt sensing: add Sensing Subsystem skeleton 2023-06-17 07:43:25 -04:00
Kconfig sensing: add Sensing Subsystem skeleton 2023-06-17 07:43:25 -04:00