aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-05-20 07:55:05 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-27 13:40:48 (GMT)
commit78d35b16de46dfe4f5ae75f7290dfb224a3fad1f (patch)
treefbdf7a781396bab744509fc2b3dfd6a744cb8f39 /src/ap/ap_drv_ops.c
parent8f5fc369e2638bc83fcf285fa440b56deaab48b1 (diff)
downloadhostap-78d35b16de46dfe4f5ae75f7290dfb224a3fad1f.zip
hostap-78d35b16de46dfe4f5ae75f7290dfb224a3fad1f.tar.gz
hostap-78d35b16de46dfe4f5ae75f7290dfb224a3fad1f.tar.bz2
HE: Add AP mode MLME/SME handling for HE stations
Process HE information in (Re)Association Request frames and add HE elements into (Re)Association Response frames when HE is enabled in the BSS. Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com> Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 9d7759d..8bdacf6 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -413,6 +413,8 @@ int hostapd_sta_add(struct hostapd_data *hapd,
u16 listen_interval,
const struct ieee80211_ht_capabilities *ht_capab,
const struct ieee80211_vht_capabilities *vht_capab,
+ const struct ieee80211_he_capabilities *he_capab,
+ size_t he_capab_len,
u32 flags, u8 qosinfo, u8 vht_opmode, int supp_p2p_ps,
int set)
{
@@ -432,6 +434,8 @@ int hostapd_sta_add(struct hostapd_data *hapd,
params.listen_interval = listen_interval;
params.ht_capabilities = ht_capab;
params.vht_capabilities = vht_capab;
+ params.he_capab = he_capab;
+ params.he_capab_len = he_capab_len;
params.vht_opmode_enabled = !!(flags & WLAN_STA_VHT_OPMODE_ENABLED);
params.vht_opmode = vht_opmode;
params.flags = hostapd_sta_flags_to_drv(flags);