mac80211: Initialize RX's last received sequence number
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Thu, 14 May 2009 13:12:08 +0000 (18:42 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:23 +0000 (14:46 -0400)
commitcccaec98a3ddbf20f22604f9ba405781c5f89f0e
treeb7815b6aa900e2d7e200f63e923098bedbd8b5f6
parent80a3511d70e8fc7ed3fe4417d7b0bf6c3f642f64
mac80211: Initialize RX's last received sequence number

The STA may drop the very first frame if it happens to be a retried
frame. This is because we maintian the last received sequence number
per TID for QoS frames and it is initialized to zero through kzalloc
during sta_info_alloc and the sequence number of the very first date
frame received would be ZERO (as per IEEE 802.11-2007, 7.1.3.4.1).

If the frame dropped happens to be an EAP Request Identity(very first
frame from the AP), then wpa_supplicnat disconnects the STA and the
whole procedure starts again.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.c