aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-02-22 11:03:28 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-22 17:53:05 (GMT)
commit6332aaf3b2c031f964f4f83ec4914ef273d0b49d (patch)
tree448b3cda94f4730bbe7304d78ede31e9855f658c /src/ap/ieee802_11.c
parentf3cb7a69693063e19decc57e4edae030f50e8158 (diff)
downloadhostap-6332aaf3b2c031f964f4f83ec4914ef273d0b49d.zip
hostap-6332aaf3b2c031f964f4f83ec4914ef273d0b49d.tar.gz
hostap-6332aaf3b2c031f964f4f83ec4914ef273d0b49d.tar.bz2
MBO: Track STA cellular data capability from association request
This makes hostapd parse the MBO attribute in (Re)Association Request frame and track the cellular data capability (mbo_cell_capa=<val> in STA control interface command). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 251c1a9..3ac225d 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -42,6 +42,7 @@
#include "hw_features.h"
#include "ieee802_11.h"
#include "dfs.h"
+#include "mbo_ap.h"
u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid)
@@ -1713,6 +1714,8 @@ static u16 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta,
sta->mb_ies = NULL;
#endif /* CONFIG_FST */
+ mbo_ap_check_sta_assoc(hapd, sta, &elems);
+
return WLAN_STATUS_SUCCESS;
}