path: root/src/drivers/driver_atheros.c
diff options
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 /src/drivers/driver_atheros.c
parent439efd1eac41bed0606f6da66a0879b8f46c4df7 (diff)
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 'src/drivers/driver_atheros.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 56eac5b..8f24798 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -1132,7 +1132,7 @@ atheros_wireless_event_init(struct atheros_driver_data *drv)
static int
atheros_send_eapol(void *priv, const u8 *addr, const u8 *data, size_t data_len,
- int encrypt, const u8 *own_addr)
+ int encrypt, const u8 *own_addr, u32 flags)
struct atheros_driver_data *drv = priv;
unsigned char buf[3000];