Skip to content

Commit

Permalink
Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v5.0' into 'relea…
Browse files Browse the repository at this point in the history
…se/v5.0'

wifi_mesh: fix bugs for mesh network (backport v5.0)

See merge request espressif/esp-idf!22902
  • Loading branch information
jack0c committed Mar 29, 2023
2 parents 30058e3 + 9801647 commit 2048d1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions components/esp_wifi/include/esp_mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ typedef enum {
MESH_EVENT_PARENT_DISCONNECTED, /**< parent is disconnected on station interface */
MESH_EVENT_NO_PARENT_FOUND, /**< no parent found */
MESH_EVENT_LAYER_CHANGE, /**< layer changes over the mesh network */
MESH_EVENT_TODS_STATE, /**< state represents whether the root is able to access external IP network */
MESH_EVENT_TODS_STATE, /**< state represents whether the root is able to access external IP network.
This state is a manual event that needs to be triggered with esp_mesh_post_toDS_state(). */
MESH_EVENT_VOTE_STARTED, /**< the process of voting a new root is started either by children or by the root */
MESH_EVENT_VOTE_STOPPED, /**< the process of voting a new root is stopped */
MESH_EVENT_ROOT_ADDRESS, /**< the root address is obtained. It is posted by mesh stack automatically. */
Expand Down Expand Up @@ -1175,7 +1176,10 @@ esp_err_t esp_mesh_get_rx_pending(mesh_rx_pending_t *pending);
int esp_mesh_available_txupQ_num(const mesh_addr_t *addr, uint32_t *xseqno_in);

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

0 comments on commit 2048d1e

Please sign in to comment.