Skip to content

Commit 90d6e45

Browse files
committed
Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v4.4' into 'release/v4.4'
wifi_mesh: fix bugs for mesh network (backport v4.4) See merge request espressif/esp-idf!22899
2 parents 2222ca4 + 794905b commit 90d6e45

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

components/esp_wifi/include/esp_mesh.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ typedef enum {
188188
MESH_EVENT_PARENT_DISCONNECTED, /**< parent is disconnected on station interface */
189189
MESH_EVENT_NO_PARENT_FOUND, /**< no parent found */
190190
MESH_EVENT_LAYER_CHANGE, /**< layer changes over the mesh network */
191-
MESH_EVENT_TODS_STATE, /**< state represents whether the root is able to access external IP network */
191+
MESH_EVENT_TODS_STATE, /**< state represents whether the root is able to access external IP network.
192+
This state is a manual event that needs to be triggered with esp_mesh_post_toDS_state(). */
192193
MESH_EVENT_VOTE_STARTED, /**< the process of voting a new root is started either by children or by the root */
193194
MESH_EVENT_VOTE_STOPPED, /**< the process of voting a new root is stopped */
194195
MESH_EVENT_ROOT_ADDRESS, /**< the root address is obtained. It is posted by mesh stack automatically. */
@@ -1189,7 +1190,10 @@ esp_err_t esp_mesh_get_rx_pending(mesh_rx_pending_t *pending);
11891190
int esp_mesh_available_txupQ_num(const mesh_addr_t *addr, uint32_t *xseqno_in);
11901191

11911192
/**
1192-
* @brief Set the number of queue
1193+
* @brief Set the number of RX queue for the node, the average number of window allocated to one of
1194+
* its child node is: wnd = xon_qsize / (2 * max_connection + 1).
1195+
* However, the window of each child node is not strictly equal to the average value,
1196+
* it is affected by the traffic also.
11931197
*
11941198
* @attention This API shall be called before mesh is started.
11951199
*

0 commit comments

Comments
 (0)