diff options
author | Anton Nayshtut <qca_antonn@qca.qualcomm.com> | 2015-01-21 13:30:48 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-07-16 15:26:15 (GMT) |
commit | 347827ff6eac5879476573e9bc876ddc31ae966b (patch) | |
tree | 22f3dfaf7df6f4c7e4e79b7527c762d345f201f6 /src/ap/ieee802_11.c | |
parent | 037378ff312605e84ff65f26df339a70de6ea9cc (diff) | |
download | hostap-347827ff6eac5879476573e9bc876ddc31ae966b.zip hostap-347827ff6eac5879476573e9bc876ddc31ae966b.tar.gz hostap-347827ff6eac5879476573e9bc876ddc31ae966b.tar.bz2 |
FST: Add FST IEs into AP mode management frames
This adds the FST IEs received from the FST module into Beacon, Probe
Response, and (Re)Association Response frames.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r-- | src/ap/ieee802_11.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index dff6d0e..2785c61 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -1632,6 +1632,14 @@ static void send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, if (sta->qos_map_enabled) p = hostapd_eid_qos_map_set(hapd, p); +#ifdef CONFIG_FST + if (hapd->iface->fst_ies) { + os_memcpy(p, wpabuf_head(hapd->iface->fst_ies), + wpabuf_len(hapd->iface->fst_ies)); + p += wpabuf_len(hapd->iface->fst_ies); + } +#endif /* CONFIG_FST */ + #ifdef CONFIG_IEEE80211AC if (hapd->conf->vendor_vht && (sta->flags & WLAN_STA_VENDOR_VHT)) p = hostapd_eid_vendor_vht(hapd, p); |