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.
This commit is contained in:
Felix Fietkau 2011-04-02 22:03:05 +03:00 committed by Jouni Malinen
parent 439efd1eac
commit 4378fc14eb
13 changed files with 27 additions and 24 deletions

View file

@ -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];