path: root/src/ap/wnm_ap.h
diff options
authorRajkumar Manoharan <rmanohar@codeaurora.org>2018-03-13 03:20:28 (GMT)
committerJouni Malinen <j@w1.fi>2018-03-19 18:16:32 (GMT)
commitd58c3bd8b76f9ba6674b00e09a9e563970358a30 (patch)
treeb627cd12ac48a96459320550ca13f07eb92817a3 /src/ap/wnm_ap.h
parentec2b5173cedd8582f177395642a13cabfe9ce50e (diff)
hostapd: Ignore LOW_ACK event for co-operative steering clients
Ignore hostapd_event_sta_low_ack for a station which has agreed to steering by checking the agreed_to_steer flag. This flag will be set whenever a station accepts the BSS transition request from the AP. Without this ignoring of the LOW_ACK event, the steering in-progress might be affected due to disassociation. In this way AP will allow some time (two seconds) for the station to move away and reset the flag after the timeout. Co-Developed-by: Tamizh Chelvam <tamizhr@codeaurora.org> Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org> Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org>
Diffstat (limited to 'src/ap/wnm_ap.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/wnm_ap.h b/src/ap/wnm_ap.h
index a44eadb..56d0f88 100644
--- a/src/ap/wnm_ap.h
+++ b/src/ap/wnm_ap.h
@@ -23,5 +23,6 @@ int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
const u8 *bss_term_dur, const char *url,
const u8 *nei_rep, size_t nei_rep_len,
const u8 *mbo_attrs, size_t mbo_len);
+void ap_sta_reset_steer_flag_timer(void *eloop_ctx, void *timeout_ctx);
#endif /* WNM_AP_H */