mwifiex: update seq number correctly for packets from TDLS peer
authorAvinash Patil <patila@marvell.com>
Thu, 22 May 2014 05:02:31 +0000 (22:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2014 18:04:38 +0000 (14:04 -0400)
commit09869495616af7e5098aabb6f3eefdf885235699
tree02f95e3dcd07a9993631cb66067698a44cff96cb
parent71e17ee57cde7e30ef0acd765f73e21295c867fd
mwifiex: update seq number correctly for packets from TDLS peer

This patch adds handling of updating rx sequence number for
packets received from TDLS peer. Current implementation of
mwifiex_queueing_ra_based assumes station would always receive
packets from AP which is not true in case of TDLS.
Fix this by adding this case.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/sta_rx.c