zephyr/subsys/bluetooth/mesh
Lingao Meng 8c3b244fe3 Bluetooth: Mesh: Fix unable send mesh message when proxy adv pending
When Proxy advertising or PB-GATT Advertising Enabled and use a same
advertising sets.

As `adv_start` will call multi HCI Command will cause syswork_q yield.
At same time, if another thread(BT RX) all `schedule_send` will cause
unable send mesh message, because `ADV_FLAG_ACTIVE` was be set, but
`ADV_FLAG_PROXY` not set currentlly.

Add `ADV_FLAG_SCHEDULE_PENDING` indicate mesh buf has been pendings
but not scheduled, so when proxy advertising enable, let's take again,
as we can't break or terminated `adv_start`, so we must waiting proxy
advertising enabled.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2022-03-02 10:02:25 -08:00
..
access.c Bluetooth: Mesh: Fix publication period measurement 2021-12-23 14:57:54 +01:00
access.h Bluetooth: Mesh: Check if app key is bound in Model Publication Set 2021-09-07 11:32:16 -04:00
adv_ext.c Bluetooth: Mesh: Fix unable send mesh message when proxy adv pending 2022-03-02 10:02:25 -08: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: Add _srv suffix for pb_gatt_srv 2022-02-24 13:51:09 -08: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 Bluetooth: Mesh: Check if app key is bound in Model Publication Set 2021-09-07 11:32:16 -04:00
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: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08: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
gatt_cli.c Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
gatt_cli.h Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
health_cli.c Bluetooth: Mesh: Fix Config/Health Client async API 2021-12-16 10:15:36 +01:00
health_srv.c
heartbeat.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
heartbeat.h
Kconfig Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
lpn.c Bluetooth: Mesh: LPN teminate cb establish clause 2022-01-18 10:41:18 -05:00
lpn.h
main.c Bluetooth: mesh: load iv && neykey from app 2022-02-25 10:06:32 -08:00
mesh.h toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
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: Add Proxy Client Feature 2022-02-24 13:51:09 -08: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_cli.c Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
pb_gatt_cli.h Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
pb_gatt_srv.c Bluetooth: Mesh: Add _srv suffix for pb_gatt_srv 2022-02-24 13:51:09 -08:00
pb_gatt_srv.h Bluetooth: Mesh: Add _srv suffix for pb_gatt_srv 2022-02-24 13:51:09 -08:00
pb_gatt.c Bluetooth: Mesh: Add _srv suffix for pb_gatt_srv 2022-02-24 13:51:09 -08:00
pb_gatt.h Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
prov_bearer.h
prov_device.c Bluetooth: Mesh: Add _srv suffix for pb_gatt_srv 2022-02-24 13:51:09 -08: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: Move relative function to pb_gatt.h 2022-02-24 13:51:09 -08:00
provisioner.c Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
provisioner.h Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
proxy_cli.c Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
proxy_cli.h Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
proxy_msg.c Bluetooth: Move proxy_relay to proxy_msg.c 2022-02-24 13:51:09 -08:00
proxy_msg.h Bluetooth: Move proxy_relay to proxy_msg.c 2022-02-24 13:51:09 -08:00
proxy_srv.c Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
proxy.h Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
rpl.c
rpl.h
settings.c Bluetooth: Mesh: Add _srv suffix for pb_gatt_srv 2022-02-24 13:51:09 -08:00
settings.h
shell.c Bluetooth: Mesh: Add mesh shell command 2022-02-24 13:51:09 -08: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 Bluetooth: Mesh: Opt ram of transport segment message 2022-02-21 22:06:38 -05:00
transport.h Bluetooth: Mesh: Opt ram of transport segment message 2022-02-21 22:06:38 -05:00