aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-29 09:22:23 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-29 15:18:17 (GMT)
commitdbfb8e82ff69e6c7969b7cd23e53fd39b3e896e7 (patch)
tree9085718b8765d48b9d911d8bac162126c283a88d /wpa_supplicant/wnm_sta.h
parent1450e1e3199bb26fe6944bfb4474755523b0cc88 (diff)
downloadhostap-dbfb8e82ff69e6c7969b7cd23e53fd39b3e896e7.zip
hostap-dbfb8e82ff69e6c7969b7cd23e53fd39b3e896e7.tar.gz
hostap-dbfb8e82ff69e6c7969b7cd23e53fd39b3e896e7.tar.bz2
Remove unnecessary EVENT_RX_ACTION
This driver event was used separately for some Action frames, but all the driver wrappers converted to this from information that would have been enough to indicate an EVENT_RX_MGMT event. In addition, the received event was then converted back to a full IEEE 802.11 management frame for processing in most cases. This is unnecessary complexity, so get rid of the extra path and use EVENT_RX_MGMT for Action frames as well as other management frame subtypes. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wnm_sta.h')
-rw-r--r--wpa_supplicant/wnm_sta.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/wpa_supplicant/wnm_sta.h b/wpa_supplicant/wnm_sta.h
index 2933926..de87301 100644
--- a/wpa_supplicant/wnm_sta.h
+++ b/wpa_supplicant/wnm_sta.h
@@ -9,9 +9,6 @@
#ifndef WNM_STA_H
#define WNM_STA_H
-struct rx_action;
-struct wpa_supplicant;
-
struct tsf_info {
u8 present;
u8 tsf_offset[2];
@@ -78,7 +75,7 @@ int ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s,
u8 action, u16 intval, struct wpabuf *tfs_req);
void ieee802_11_rx_wnm_action(struct wpa_supplicant *wpa_s,
- struct rx_action *action);
+ const struct ieee80211_mgmt *mgmt, size_t len);
void wnm_scan_response(struct wpa_supplicant *wpa_s,
struct wpa_scan_results *scan_res);