zephyr/subsys/bluetooth/mesh
Lingao Meng 537d215981 Bluetooth: Mesh: Fixes after proxy advertising unable to send messages
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.

But after https://github.com/zephyrproject-rtos/zephyr/pull/68558

The `k_work_is_pending` always true in `send_pending_adv`, which cause
unable to send more mesh message until more mesh message comming

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2024-10-16 09:58:33 +02:00
..
shell Bluetooth: Mesh: Add prefix to Subnet Bridge API 2024-10-02 14:54:13 +01:00
CMakeLists.txt Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00
Kconfig Bluetooth: Mesh: Add bridging functionality 2024-09-17 05:22:32 -04:00
access.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
access.h
adv.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
adv.h Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
adv_ext.c Bluetooth: Mesh: Fixes after proxy advertising unable to send messages 2024-10-16 09:58:33 +02:00
adv_legacy.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
app_keys.c
app_keys.h
beacon.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
beacon.h
blob.h Bluetooth: Mesh: add Kconfig options for BLOB chunk size 2024-08-20 14:45:57 +02:00
blob_cli.c Bluetooth: Mesh: add API to set chunk send interval 2024-09-12 14:50:25 +02:00
blob_io_flash.c Bluetooth: Mesh: add Kconfig options for BLOB chunk size 2024-08-20 14:45:57 +02:00
blob_srv.c Bluetooth: Mesh: Fix uninitialized field when cancelling transfer blob 2024-08-23 09:53:09 +02:00
brg_cfg.c Bluetooth: Mesh: Fix out of bounds write 2024-10-08 18:09:57 -04:00
brg_cfg.h Bluetooth: Mesh: Remove duplicate brg declaration 2024-10-02 14:54:13 +01:00
brg_cfg_cli.c Bluetooth: Mesh: Add prefix to Subnet Bridge API 2024-10-02 14:54:13 +01:00
brg_cfg_srv.c Bluetooth: Mesh: Add prefix to Subnet Bridge API 2024-10-02 14:54:13 +01:00
cdb.c
cdb.h
cfg.c everywhere: replace `#if IS_ENABLED()` as per docs 2024-06-28 07:20:32 -04:00
cfg.h
cfg_cli.c
cfg_srv.c Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
crypto.c
crypto.h
crypto_psa.c
crypto_tc.c
delayable_msg.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
delayable_msg.h
dfd.h
dfd_srv.c Bluetooth: Mesh: Use dfd_phase_set() in dfu_suspended() 2024-09-20 09:02:21 +02:00
dfd_srv_internal.h
dfu.h
dfu_cli.c
dfu_metadata.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dfu_slot.c
dfu_slot.h
dfu_srv.c
foundation.h tests: bluetooth: mesh: Removed native_posix and renamed sim_ids 2024-09-17 05:22:32 -04:00
friend.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
friend.h
gatt_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
gatt_cli.h
health_cli.c
health_srv.c
heartbeat.c
heartbeat.h
keys.h
large_comp_data_cli.c
large_comp_data_srv.c Bluetooth: Mesh: add extension config server by lcd server 2024-06-24 09:44:58 +02:00
lpn.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
lpn.h
main.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
mesh.h
msg.c
msg.h
net.c tests: bluetooth: mesh: Removed native_posix and renamed sim_ids 2024-09-17 05:22:32 -04:00
net.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
od_priv_proxy.h
od_priv_proxy_cli.c
od_priv_proxy_srv.c Bluetooth: Mesh: add extension config server by private beacon server 2024-06-24 09:44:58 +02:00
op_agg.c
op_agg.h
op_agg_cli.c
op_agg_srv.c bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
pb_adv.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
pb_gatt.c
pb_gatt.h
pb_gatt_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
pb_gatt_cli.h
pb_gatt_srv.c Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
pb_gatt_srv.h
priv_beacon.h
priv_beacon_cli.c
priv_beacon_srv.c Bluetooth: Mesh: add extension config server by private beacon server 2024-06-24 09:44:58 +02:00
prov.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
prov.h everywhere: replace `#if IS_ENABLED()` as per docs 2024-06-28 07:20:32 -04:00
prov_bearer.h
provisionee.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
provisioner.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
provisioner.h
proxy.h
proxy_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
proxy_cli.h
proxy_msg.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
proxy_msg.h
proxy_srv.c Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
rpl.c Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
rpl.h Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
rpr.h
rpr_cli.c
rpr_srv.c
sar_cfg.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
sar_cfg_cli.c
sar_cfg_internal.h bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
sar_cfg_srv.c
settings.c Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
settings.h Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00
sol_pdu_rpl_cli.c
sol_pdu_rpl_srv.c
solicitation.c
solicitation.h
statistic.c
statistic.h
subnet.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
subnet.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
test.c
test.h
testing.c Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
testing.h Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
transport.c bluetooth: mesh: rpl: fix rpl for subnet bridge 2024-09-17 05:22:32 -04:00
transport.h
va.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
va.h bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00