summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/wmm.h
diff options
context:
space:
mode:
authorZhaoyang Liu <liuzy@marvell.com>2015-03-13 17:37:55 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-03-16 18:12:27 +0200
commit39df5e8233bf34696204207c7594a0a6320fa044 (patch)
tree59feca393ea83b8e9c2971293ef2de4b777ad4b8 /drivers/net/wireless/mwifiex/wmm.h
parentb2713f67f7a4c3226772c5ac581c7f37d7c473f1 (diff)
downloadlinux-next-39df5e8233bf34696204207c7594a0a6320fa044.tar.gz
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/wmm.h')
-rw-r--r--drivers/net/wireless/mwifiex/wmm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/wmm.h b/drivers/net/wireless/mwifiex/wmm.h
index 569bd73f33c5..48ece0b35591 100644
--- a/drivers/net/wireless/mwifiex/wmm.h
+++ b/drivers/net/wireless/mwifiex/wmm.h
@@ -127,4 +127,6 @@ mwifiex_wmm_get_queue_raptr(struct mwifiex_private *priv, u8 tid,
const u8 *ra_addr);
u8 mwifiex_wmm_downgrade_tid(struct mwifiex_private *priv, u32 tid);
+struct mwifiex_ra_list_tbl *mwifiex_wmm_get_ralist_node(struct mwifiex_private
+ *priv, u8 tid, const u8 *ra_addr);
#endif /* !_MWIFIEX_WMM_H_ */