zephyr/subsys/bluetooth/mesh
Lingao Meng e80161c86d Bluetooth: Mesh: Fix unable iv recovery 0 0 -> 1 0
According Mesh Spec 1.0.1:

Upon receiving and successfully authenticating to
Secure Network beacon for a primary subnet whose
IV Index is 1 or more higher than the current known IV
Index, the node shall set its current IV Index and its
current IV Update procedure state from the values in
this Secure Network beacon.

Look like test_iv_index.c:81
``` C

(bt_mesh_net_iv_update(TEST_IV_IDX + 1, BCN_IV_IN_IDLE));

```

This test case already exists, but the wrong testcase
to test wrong code.

Move `is_iv_recovery` into `bt_mesh_net_iv_update`.
First check whether it is IV recovery, and then carry out
the subsequent IV normal update procedure.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2022-07-28 19:47:36 +01:00
..
access.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
access.h
adv_ext.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
adv_legacy.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
adv.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
adv.h
app_keys.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
app_keys.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
beacon.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
beacon.h
cdb.c Bluetooth: Mesh: Flush pending settings in bt_mesh_reset/_cdb_clear 2022-07-13 10:19:44 +02:00
cdb.h
cfg_cli.c Bluetooth: Mesh: cfg cli async status callback 2022-07-08 20:01:02 +00:00
cfg_srv.c Bluetooth: Mesh: Call bt_mesh_reset in cfg srv from workqueue 2022-07-13 10:19:44 +02:00
cfg.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
cfg.h
CMakeLists.txt Bluetooth: Mesh: Configurable RPL module 2022-06-16 10:29:38 +02:00
crypto.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
crypto.h Bluetooth: Mesh: encapsulate tinycrypt dependency 2022-04-27 10:07:47 +02:00
foundation.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
friend.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
friend.h
gatt_cli.c Bluetooth: Gatt: Update users of write callback in subscription params 2022-05-16 16:54:27 +02:00
gatt_cli.h
health_cli.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
health_srv.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
heartbeat.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
heartbeat.h
Kconfig Bluetooth: Mesh: Configurable RPL module 2022-06-16 10:29:38 +02:00
lpn.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
lpn.h
main.c Bluetooth: Mesh: IV Index timer is not started 2022-07-14 17:51:31 +00:00
mesh.h
msg.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net.c Bluetooth: Mesh: Fix unable iv recovery 0 0 -> 1 0 2022-07-28 19:47:36 +01:00
net.h
pb_adv.c Bluetooth: Mesh: Don't open prov link after being provisioned 2022-07-07 15:47:59 +00:00
pb_gatt_cli.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pb_gatt_cli.h
pb_gatt_srv.c Bluetooth: Mesh: fix pb gatt fast advertising 2022-06-24 20:26:48 +02:00
pb_gatt_srv.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pb_gatt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pb_gatt.h
prov_bearer.h
prov_device.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
prov.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
prov.h
provisioner.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
provisioner.h
proxy_cli.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
proxy_cli.h
proxy_msg.c Bluetooth: Mesh: Fix segmentation when sending proxy message 2022-05-13 15:45:22 +03:00
proxy_msg.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
proxy_srv.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
proxy.h
rpl.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
rpl.h
settings.c Bluetooth: Mesh: Flush pending settings in bt_mesh_reset/_cdb_clear 2022-07-13 10:19:44 +02:00
settings.h Bluetooth: Mesh: Flush pending settings in bt_mesh_reset/_cdb_clear 2022-07-13 10:19:44 +02:00
shell.c Bluetooth: Mesh: Fix mesh shell compilation without provisionee support 2022-07-07 10:01:09 +02:00
subnet.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
subnet.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
test.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
test.h
TODO
transport.c Bluetooth: Mesh: Don't do bulk tx of seg msgs 2022-07-04 14:31:44 +00:00
transport.h