mwifiex: tdls related handling for data packets addressed to TDLS peer
authorAvinash Patil <patila@marvell.com>
Sat, 8 Feb 2014 00:30:36 +0000 (16:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:36:22 +0000 (15:36 -0500)
commitd63bf5e5e00dc025c71532e9244a96966ac8e252
treec2ab58bc1d1c2c0c138fe27b374cf00a869046cf
parent56bd24a18e1a7306a21f6b7d7716cced7e593057
mwifiex: tdls related handling for data packets addressed to TDLS peer

1. If data packet is addressed to TDLS peer for which link is
established, mark these packets with TDLS flag so that FW can
send them on direct link instead of sending via AP.
2. If data packet is addressed to TDLS peer and TDLS setup is
underway, move these packets to TDLS queue.
3. If this packet is TDLS setup packet, do not block it.

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/main.h
drivers/net/wireless/mwifiex/tdls.c
drivers/net/wireless/mwifiex/wmm.c