diff options
author | Avinash Patil <patila@marvell.com> | 2014-05-21 22:02:31 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-22 14:04:38 -0400 |
commit | 09869495616af7e5098aabb6f3eefdf885235699 (patch) | |
tree | 02f95e3dcd07a9993631cb66067698a44cff96cb /drivers/net/wireless/mwifiex/fw.h | |
parent | 71e17ee57cde7e30ef0acd765f73e21295c867fd (diff) | |
download | blackbird-op-linux-09869495616af7e5098aabb6f3eefdf885235699.tar.gz blackbird-op-linux-09869495616af7e5098aabb6f3eefdf885235699.zip |
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/fw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h index ee59508307cc..42eaeda1dc82 100644 --- a/drivers/net/wireless/mwifiex/fw.h +++ b/drivers/net/wireless/mwifiex/fw.h @@ -539,6 +539,7 @@ struct mwifiex_ie_types_data { #define MWIFIEX_TxPD_POWER_MGMT_NULL_PACKET 0x01 #define MWIFIEX_TxPD_POWER_MGMT_LAST_PACKET 0x08 #define MWIFIEX_TXPD_FLAGS_TDLS_PACKET 0x10 +#define MWIFIEX_RXPD_FLAGS_TDLS_PACKET 0x01 struct txpd { u8 bss_type; @@ -581,7 +582,7 @@ struct rxpd { * [Bit 7] Reserved */ u8 ht_info; - u8 reserved; + u8 flags; } __packed; struct uap_txpd { |