diff options
| author | Anton Nayshtut <qca_antonn@qca.qualcomm.com> | 2015-01-21 15:30:48 +0200 |
|---|---|---|
| committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:19:38 -0600 |
| commit | 8867947cbff6666022af6f1528918d4a93ab505c (patch) | |
| tree | eca8e49daf7cd16daa6855586711933369059c47 /src/ap | |
| parent | cc7b555d3c31d9cab80dc37b77a2871d5c9c738a (diff) | |
| download | android_external_wpa_supplicant_8-8867947cbff6666022af6f1528918d4a93ab505c.tar.gz android_external_wpa_supplicant_8-8867947cbff6666022af6f1528918d4a93ab505c.tar.bz2 android_external_wpa_supplicant_8-8867947cbff6666022af6f1528918d4a93ab505c.zip | |
FST: Send FST Action frames to AP mode processing
Change-Id: Ifb9a5b8f01338325763daf8c19c35393d653e818
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Git-commit: 037378ff312605e84ff65f26df339a70de6ea9cc
Git-repo: git://w1.fi/srv/git/hostap.git
CRs-Fixed: 891455
Diffstat (limited to 'src/ap')
| -rw-r--r-- | src/ap/drv_callbacks.c | 8 | ||||
| -rw-r--r-- | src/ap/ieee802_11.c | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c index d94e4f1f..7094bacc 100644 --- a/src/ap/drv_callbacks.c +++ b/src/ap/drv_callbacks.c @@ -18,6 +18,7 @@ #include "crypto/random.h" #include "p2p/p2p.h" #include "wps/wps.h" +#include "fst/fst.h" #include "wnm_ap.h" #include "hostapd.h" #include "ieee802_11.h" @@ -759,6 +760,13 @@ static void hostapd_action_rx(struct hostapd_data *hapd, ieee802_11_rx_wnm_action_ap(hapd, mgmt, drv_mgmt->frame_len); } #endif /* CONFIG_WNM */ +#ifdef CONFIG_FST + if (mgmt->u.action.category == WLAN_ACTION_FST && hapd->iface->fst) { + fst_rx_action(hapd->iface->fst, mgmt, drv_mgmt->frame_len); + return; + } +#endif /* CONFIG_FST */ + } diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index cd3975d7..dff6d0ea 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -23,6 +23,7 @@ #include "radius/radius_client.h" #include "p2p/p2p.h" #include "wps/wps.h" +#include "fst/fst.h" #include "hostapd.h" #include "beacon.h" #include "ieee802_11_auth.h" @@ -2109,6 +2110,12 @@ static int handle_action(struct hostapd_data *hapd, ieee802_11_rx_wnm_action_ap(hapd, mgmt, len); return 1; #endif /* CONFIG_WNM */ +#ifdef CONFIG_FST + case WLAN_ACTION_FST: + if (hapd->iface->fst) + fst_rx_action(hapd->iface->fst, mgmt, len); + return 1; +#endif /* CONFIG_FST */ case WLAN_ACTION_PUBLIC: case WLAN_ACTION_PROTECTED_DUAL: #ifdef CONFIG_IEEE80211N |
