]> granicus.if.org Git - esp-idf/commitdiff
mesh: update libs
authorqiyuexia <qiyuexia@espressif.com>
Tue, 8 Jan 2019 14:14:36 +0000 (22:14 +0800)
committerqiyueixa <qiyuexia@espressif.com>
Tue, 15 Jan 2019 06:26:05 +0000 (14:26 +0800)
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.

components/esp32/include/esp_mesh.h
components/esp32/lib
components/esp32/wifi_init.c
examples/mesh/internal_communication/main/Kconfig.projbuild

index 8f8d03794de0e2dd04c41ce5274c45fffa488f41..a532117567ea72cd5460780c52e7cbcdbd21b3b0 100644 (file)
@@ -1044,9 +1044,10 @@ esp_err_t esp_mesh_set_vote_percentage(float percentage);
 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,
  *             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
  *
@@ -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);
 
 /**
- * @brief      Set mesh network capacity
+ * @brief      Set mesh network capacity (max:1000, default:300)
  *
  * @attention  This API shall be called before mesh is started.
  *
index 4123071ff5e730cfed699f853a81359008607314..630ff8281b5babb5ba67dffdc6139bdbc4c58f92 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 4123071ff5e730cfed699f853a81359008607314
+Subproject commit 630ff8281b5babb5ba67dffdc6139bdbc4c58f92
index ed539b62547dc870521f5b6b941f5ef3bd689dc3..2b3dae6b01edc5c19298434dd64fcdea20e7cb2f 100644 (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.
     */
     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()
index e7f46ada30c6e44aac7482b7ba5ea0011b493a15..50b649d930be7154dc7ae2616cf3f55c4ecacf90 100644 (file)
@@ -59,7 +59,7 @@ config MESH_AP_CONNECTIONS
 
 config MESH_MAX_LAYER
     int "Mesh Max Layer"
-        range 1 15
+        range 1 25
         default 6
         help
             Max layer allowed in mesh network.