]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: get rid of BA setup helper functions
authorZhaoyang Liu <liuzy@marvell.com>
Fri, 13 Mar 2015 12:07:55 +0000 (17:37 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 16 Mar 2015 16:12:27 +0000 (18:12 +0200)
commitf3d3c61bff6dd785f81bd3cb7450ddabb661f214
tree59feca393ea83b8e9c2971293ef2de4b777ad4b8
parent1221a1ce6fcd02866d89e9ae73160161e70740a1
mwifiex: get rid of BA setup helper functions

This patch removes BA setup helper routines
mwifiex_is_bastream_setup and  mwifiex_is_amsdu_in_ampdu_allowed.

Current code will use two functions to check bastream setup and
amsdu in ampdu. This patch change these functions to flags, thus
avoiding redundant spin_lock check while dequeuing TX packets.

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Reviewed-by: Cathy Luo <cluo@marvell.com>
Reviewed-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/11n.c
drivers/net/wireless/mwifiex/11n.h
drivers/net/wireless/mwifiex/11n_rxreorder.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/wmm.c
drivers/net/wireless/mwifiex/wmm.h