mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-11 22:54:02 -05:00
FST: Send FST Action frames to AP mode processing
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
8e9a8b0f8c
commit
037378ff31
@ -18,6 +18,7 @@
|
|||||||
#include "crypto/random.h"
|
#include "crypto/random.h"
|
||||||
#include "p2p/p2p.h"
|
#include "p2p/p2p.h"
|
||||||
#include "wps/wps.h"
|
#include "wps/wps.h"
|
||||||
|
#include "fst/fst.h"
|
||||||
#include "wnm_ap.h"
|
#include "wnm_ap.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_11.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);
|
ieee802_11_rx_wnm_action_ap(hapd, mgmt, drv_mgmt->frame_len);
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_WNM */
|
#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 */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "radius/radius_client.h"
|
#include "radius/radius_client.h"
|
||||||
#include "p2p/p2p.h"
|
#include "p2p/p2p.h"
|
||||||
#include "wps/wps.h"
|
#include "wps/wps.h"
|
||||||
|
#include "fst/fst.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "beacon.h"
|
#include "beacon.h"
|
||||||
#include "ieee802_11_auth.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);
|
ieee802_11_rx_wnm_action_ap(hapd, mgmt, len);
|
||||||
return 1;
|
return 1;
|
||||||
#endif /* CONFIG_WNM */
|
#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_PUBLIC:
|
||||||
case WLAN_ACTION_PROTECTED_DUAL:
|
case WLAN_ACTION_PROTECTED_DUAL:
|
||||||
#ifdef CONFIG_IEEE80211N
|
#ifdef CONFIG_IEEE80211N
|
||||||
|
Loading…
Reference in New Issue
Block a user