mesh: update libs

1. detect and fix root conflicts when router BSSID is not set.
2. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.
This commit is contained in:
qiyuexia 2019-01-08 22:14:36 +08:00 committed by qiyueixa
parent dbca85f962
commit a05fdd9c10
4 changed files with 6 additions and 4 deletions

View file

@ -1044,9 +1044,10 @@ esp_err_t esp_mesh_set_vote_percentage(float percentage);
float esp_mesh_get_vote_percentage(void); float esp_mesh_get_vote_percentage(void);
/** /**
* @brief Set mesh softAP associate expired time * @brief Set mesh softAP associate expired time (default:10 seconds)
* - If mesh softAP hasn't received any data from an associated child within this time, * - If mesh softAP hasn't received any data from an associated child within this time,
* mesh softAP will take this child inactive and disassociate it. * mesh softAP will take this child inactive and disassociate it.
* - If mesh softAP is encrypted, this value should be set a greater value, such as 30 seconds.
* *
* @param[in] seconds the expired time * @param[in] seconds the expired time
* *
@ -1227,7 +1228,7 @@ esp_err_t esp_mesh_get_group_list(mesh_addr_t *addr, int num);
bool esp_mesh_is_my_group(const mesh_addr_t *addr); bool esp_mesh_is_my_group(const mesh_addr_t *addr);
/** /**
* @brief Set mesh network capacity * @brief Set mesh network capacity (max:1000, default:300)
* *
* @attention This API shall be called before mesh is started. * @attention This API shall be called before mesh is started.
* *

@ -1 +1 @@
Subproject commit 4123071ff5e730cfed699f853a81359008607314 Subproject commit 630ff8281b5babb5ba67dffdc6139bdbc4c58f92

View file

@ -34,6 +34,7 @@ static void __attribute__((constructor)) s_set_default_wifi_log_level()
the user to set the level again before esp_wifi_init() is called. the user to set the level again before esp_wifi_init() is called.
*/ */
esp_log_level_set("wifi", CONFIG_LOG_DEFAULT_LEVEL); esp_log_level_set("wifi", CONFIG_LOG_DEFAULT_LEVEL);
esp_log_level_set("mesh", CONFIG_LOG_DEFAULT_LEVEL);
} }
static void esp_wifi_set_debug_log() static void esp_wifi_set_debug_log()

View file

@ -59,7 +59,7 @@ config MESH_AP_CONNECTIONS
config MESH_MAX_LAYER config MESH_MAX_LAYER
int "Mesh Max Layer" int "Mesh Max Layer"
range 1 15 range 1 25
default 6 default 6
help help
Max layer allowed in mesh network. Max layer allowed in mesh network.