aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-02-24 10:20:31 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-24 10:20:31 (GMT)
commitadf0478e8ed672eaaa0c400edc67426ad1e39330 (patch)
treed2f8897f6550fec5917cc791dc597047e4d46c35 /src/ap/ieee802_11.c
parent077dcfb8c48d2509a6e116c0de3ad57d2fbfe4fe (diff)
downloadhostap-adf0478e8ed672eaaa0c400edc67426ad1e39330.zip
hostap-adf0478e8ed672eaaa0c400edc67426ad1e39330.tar.gz
hostap-adf0478e8ed672eaaa0c400edc67426ad1e39330.tar.bz2
AP: Store STA supported operating classes information
This makes hostapd track Supported Operating Classes information from the associated STAs. The stored information is available through the STA control interface command (supp_op_classes row) as a hexdump of the Supported Operating Classes element starting from the Length field. This information can be used as input to BSS transition management and channel switching decisions. 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 84e6e15..b36e68d 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -1726,6 +1726,9 @@ static u16 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta,
}
#endif /* CONFIG_MBO */
+ ap_copy_sta_supp_op_classes(sta, elems.supp_op_classes,
+ elems.supp_op_classes_len);
+
return WLAN_STATUS_SUCCESS;
}