diff options
author | Stone Piao <piaoyun@marvell.com> | 2012-06-20 20:21:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 08:47:49 -0700 |
commit | c148a3eb63d97d2956a906ebed2def889d07eb21 (patch) | |
tree | 468adfce10bb3f0daae932101e02847413ed0a26 /drivers/net/ne2.c | |
parent | 1dc1e5ad5a05da69c51446f9c8a2c097884fece7 (diff) | |
download | kernel_samsung_aries-c148a3eb63d97d2956a906ebed2def889d07eb21.zip kernel_samsung_aries-c148a3eb63d97d2956a906ebed2def889d07eb21.tar.gz kernel_samsung_aries-c148a3eb63d97d2956a906ebed2def889d07eb21.tar.bz2 |
mwifiex: fix 11n rx packet drop issue
commit 925839243dc9aa4ef25305f5afd10ed18258a4ac upstream.
Currently we check the sequence number of last packet received
against start_win. If a sequence hole is detected, start_win is
updated to next sequence number.
Since the rx sequence number is initialized to 0, a corner case
exists when BA setup happens immediately after association. As
0 is a valid sequence number, start_win gets increased to 1
incorrectly. This causes the first packet with sequence number 0
being dropped.
Initialize rx sequence number as 0xffff and skip adjusting
start_win if the sequence number remains 0xffff. The sequence
number will be updated once the first packet is received.
Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ne2.c')
0 files changed, 0 insertions, 0 deletions