aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-02 19:03:05 (GMT)
committerJouni Malinen <j@w1.fi>2011-04-02 19:03:05 (GMT)
commit4378fc14ebfb355705e7674bf347ea659bcd77bc (patch)
tree7e5527738a060345f0f5c8f9828a4216847b93f3 /wpa_supplicant/driver_i.h
parent439efd1eac41bed0606f6da66a0879b8f46c4df7 (diff)
downloadhostap-4378fc14ebfb355705e7674bf347ea659bcd77bc.zip
hostap-4378fc14ebfb355705e7674bf347ea659bcd77bc.tar.gz
hostap-4378fc14ebfb355705e7674bf347ea659bcd77bc.tar.bz2
nl80211: Send EAPOL frames as QoS data frames for QoS aware clients
This should fix EAPOL reauthentication and rekeying timeout issues with Intel clients when using WMM (e.g., with IEEE 802.11n). These stations do not seem to be able to handle EAPOL data frames as non-QoS Data frames after the initial setup. This adds STA flags to hapd_send_eapol() driver op to allow driver_nl80211.c to mark the EAPOL frames as QoS Data frame when injecting it through the monitor interface.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 693491b..0d436dd 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -351,12 +351,12 @@ static inline int wpa_drv_sta_remove(struct wpa_supplicant *wpa_s,
static inline int wpa_drv_hapd_send_eapol(struct wpa_supplicant *wpa_s,
const u8 *addr, const u8 *data,
size_t data_len, int encrypt,
- const u8 *own_addr)
+ const u8 *own_addr, u32 flags)
{
if (wpa_s->driver->hapd_send_eapol)
return wpa_s->driver->hapd_send_eapol(wpa_s->drv_priv, addr,
data, data_len, encrypt,
- own_addr);
+ own_addr, flags);
return -1;
}