FST: Send FST Action frame for processing (wpa_supplicant)
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>
Sun, 16 Nov 2014 15:28:53 +0000 (17:28 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 16 Jul 2015 15:26:15 +0000 (18:26 +0300)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c

index 92abb25..70f7511 100644 (file)
@@ -23,6 +23,7 @@
 #include "eap_peer/eap.h"
 #include "ap/hostapd.h"
 #include "p2p/p2p.h"
+#include "fst/fst.h"
 #include "wnm_sta.h"
 #include "notify.h"
 #include "common/ieee802_11_defs.h"
@@ -3128,6 +3129,13 @@ static void wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s,
                return;
        }
 
+#ifdef CONFIG_FST
+       if (mgmt->u.action.category == WLAN_ACTION_FST && wpa_s->fst) {
+               fst_rx_action(wpa_s->fst, mgmt, len);
+               return;
+       }
+#endif /* CONFIG_FST */
+
        wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid,
                           category, payload, plen, freq);
        if (wpa_s->ifmsh)