zephyr/subsys/bluetooth/mesh
Lingao Meng 0c78a2aaca Bluetooth: Mesh: Fixes Unable recovery twice even after 192h
After PR: https://github.com/zephyrproject-rtos/zephyr/pull/38296

If we receive the second recovery after 192 hours after the first
recovery, we may still not be able to perform any recovery, even
if the IV Index differs by 42, because the `ivi_was_recovered` flag
will only be cleared during the iv update.

But still May lose iv update, as we did the first iv recovery.

This patch by checking the iv duration, if 192h later, auto clear
`ivi_was_recovered` flag.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2022-02-21 21:57:32 -05:00
..
access.c Bluetooth: Mesh: Fix publication period measurement 2021-12-23 14:57:54 +01:00
access.h
adv_ext.c Bluetooth: Mesh: Replace macro as inline 2021-12-02 09:23:54 +02:00
adv_legacy.c Bluetooth: Mesh: Move common gatt adv to adv.c 2021-12-02 09:23:54 +02:00
adv.c Bluetooth: Mesh: Introduce tag field 2021-12-02 09:23:54 +02:00
adv.h Bluetooth: Mesh: Introduce tag field 2021-12-02 09:23:54 +02:00
app_keys.c Bluetooth: Mesh: Use double pointer in bt_mesh_app_key_resolve 2022-01-05 14:40:06 +01:00
app_keys.h Bluetooth: Mesh: Use double pointer in bt_mesh_app_key_resolve 2022-01-05 14:40:06 +01:00
beacon.c Bluetooth: Mesh: Return a boolean from subnet_find callback 2022-01-17 11:52:57 -05:00
beacon.h
cdb.c
cdb.h
cfg_cli.c Bluetooth: Mesh: Fix Config/Health Client async API 2021-12-16 10:15:36 +01:00
cfg_srv.c
cfg.c Bluetooth: Mesh: Return a boolean from subnet_find callback 2022-01-17 11:52:57 -05:00
cfg.h
CMakeLists.txt Bluetooth: Mesh: Split gatt services to pb-gatt and proxy 2021-09-28 19:57:15 -04:00
crypto.c
crypto.h Bluetooth: Mesh: Fix beacon_auth header net_id size 2022-01-05 14:40:06 +01:00
foundation.h
friend.c Bluetooth: Mesh: Introduce adv tag field when create buf 2021-12-02 09:23:54 +02:00
friend.h
health_cli.c Bluetooth: Mesh: Fix Config/Health Client async API 2021-12-16 10:15:36 +01:00
health_srv.c
heartbeat.c
heartbeat.h
Kconfig Bluetooth: Mesh: Add Multi Advertising Sets Support 2021-12-02 09:23:54 +02:00
lpn.c Bluetooth: Mesh: LPN teminate cb establish clause 2022-01-18 10:41:18 -05:00
lpn.h
main.c Bluetooth: Mesh: Rename gatt adv func 2021-12-02 09:23:54 +02:00
mesh.h
msg.c Bluetooth: Mesh: Return ETIMEDOUT if k_sem_take call times out 2021-09-28 11:49:27 +02:00
net.c Bluetooth: Mesh: Fixes Unable recovery twice even after 192h 2022-02-21 21:57:32 -05:00
net.h
pb_adv.c Bluetooth: Mesh: Introduce adv tag field when create buf 2021-12-02 09:23:54 +02:00
pb_gatt_srv.c Bluetooth: Mesh: Rename gatt adv func 2021-12-02 09:23:54 +02:00
pb_gatt_srv.h Bluetooth: Mesh: Remove unnecessary prov buf get function 2021-09-28 19:57:15 -04:00
pb_gatt.c Bluetooth: Mesh: Rename gatt adv func 2021-12-02 09:23:54 +02:00
prov_bearer.h
prov_device.c Bluetooth: Mesh: logging public key in big endian 2021-09-29 15:34:13 -04:00
prov.c Bluetooth: Mesh: Refactoring provisioning to make all OOB auth working 2021-09-28 19:54:00 -04:00
prov.h Bluetooth: Mesh: Refactoring provisioning to make all OOB auth working 2021-09-28 19:54:00 -04:00
provisioner.c Bluetooth: Mesh: logging public key in big endian 2021-09-29 15:34:13 -04:00
provisioner.h
proxy_msg.c kernel: workq: Fix type errors in delayable work handlers 2022-02-02 18:43:12 -05:00
proxy_msg.h Bluetooth: Mesh: Fix crash on disconnect 2021-10-04 18:52:08 +02:00
proxy_srv.c Bluetooth: Mesh: Return a boolean from subnet_find callback 2022-01-17 11:52:57 -05:00
proxy.h Bluetooth: Mesh: Add seperate config for pb-gatt dev name 2021-09-28 19:57:15 -04:00
rpl.c
rpl.h
settings.c Bluetooth: Mesh: Rename bt_mesh_pb_gatt<*> function 2021-09-28 19:57:15 -04:00
settings.h
shell.c Bluetooth: Mesh: Update Health Client API use 2021-12-16 10:15:36 +01:00
subnet.c Bluetooth: Mesh: Return a boolean from subnet_find callback 2022-01-17 11:52:57 -05:00
subnet.h Bluetooth: Mesh: Return a boolean from subnet_find callback 2022-01-17 11:52:57 -05:00
test.c
test.h
TODO
transport.c kernel: workq: Fix type errors in delayable work handlers 2022-02-02 18:43:12 -05:00
transport.h