summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34d0be0)
raw | patch | inline | side by side (parent: 34d0be0)
author | KN <sudharshan@ti.com> | |
Tue, 9 Jun 2020 21:19:11 +0000 (16:19 -0500) | ||
committer | KN <sudharshan@ti.com> | |
Tue, 9 Jun 2020 21:19:11 +0000 (16:19 -0500) |
Due to the fix of how to deauthenticate a mesh interface
the problem was we sent a close action and never waited for a response
now we divided it into sending and waiting for the response and only then
deinitializing the interface.
in the select network scenario - this didn't work properly. we had to shorten
the timer time to 100ms from 300ms, change the code in such a way that it will
deinit only after the timer has finished.
fixes: WILINK8_SW_DEV-496 and WILINK8_SW_DEV-502
Signed-off-by: KN <sudharshan@ti.com>
the problem was we sent a close action and never waited for a response
now we divided it into sending and waiting for the response and only then
deinitializing the interface.
in the select network scenario - this didn't work properly. we had to shorten
the timer time to 100ms from 300ms, change the code in such a way that it will
deinit only after the timer has finished.
fixes: WILINK8_SW_DEV-496 and WILINK8_SW_DEV-502
Signed-off-by: KN <sudharshan@ti.com>
wpa_supplicant/mesh_mpm.h | patch | blob | history | |
wpa_supplicant/wpa_supplicant.c | patch | blob | history | |
wpa_supplicant/wpa_supplicant_i.h | patch | blob | history |
index 26111f22c6a0fe85ae6ecd4442081af51a212614..4b00945394143fc526fc861d28814f2be1df305e 100644 (file)
const struct ieee80211_mgmt *mgmt, size_t len);
void mesh_mpm_mgmt_rx(struct wpa_supplicant *wpa_s, struct rx_mgmt *rx_mgmt);
-#define MESH_CLOSE_LINKS_RESPONSE_TIMER 300000 // 300 ms - 300,000usec
+#define MESH_CLOSE_LINKS_RESPONSE_TIMER 100000 // 100 ms - 100,000usec
#else /* CONFIG_MESH */
index 62d5fcfcabf16b33830eee442325c51fc4fd1815..ecc46af15474d4e904b2da80080260d68ae43830 100644 (file)
}
-static void wpa_supplicant_clear_connection(struct wpa_supplicant *wpa_s,
+void wpa_supplicant_clear_connection(struct wpa_supplicant *wpa_s,
const u8 *addr)
{
struct wpa_ssid *old_ssid;
wpa_supplicant_leave_mesh_initiate(wpa_s);
}
+ else
+ {
#endif /* CONFIG_MESH */
if (addr) {
}
wpa_supplicant_clear_connection(wpa_s, addr);
+#ifdef CONFIG_MESH
+ }
+#endif
}
static void wpa_supplicant_enable_one_network(struct wpa_supplicant *wpa_s,
index 0e5b632ce7664ccde6424f76cc943665c726b848..dfc7752a023d4e1102209bedabdbe7c0701b1ebf 100644 (file)
void wpa_supplicant_update_channel_list(struct wpa_supplicant *wpa_s,
struct channel_list_changed *info);
+void wpa_supplicant_clear_connection(struct wpa_supplicant *wpa_s,const u8 *addr);
/* eap_register.c */
int eap_register_methods(void);