summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/txrx.c
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2012-09-10 18:30:49 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-09-11 15:31:58 -0400
commit4ac8764ab2290fd83c21b4183ca6a0f279dab277 (patch)
tree4095ec3b1b1dad95edaa5654e6d56796ff508692 /drivers/net/wireless/mwifiex/txrx.c
parentfd4c45112800573f2c40a6372c419f6218885b58 (diff)
downloadblackbird-op-linux-4ac8764ab2290fd83c21b4183ca6a0f279dab277.tar.gz
blackbird-op-linux-4ac8764ab2290fd83c21b4183ca6a0f279dab277.zip
mwifiex: separate TxPD processing routine for AP
This patch adds separate tx packet descriptor routine for AP interface. This function fills bss_type, bss_num, wmm packet delay information etc for TxPD going on AP interface. 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/txrx.c')
-rw-r--r--drivers/net/wireless/mwifiex/txrx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/txrx.c b/drivers/net/wireless/mwifiex/txrx.c
index 985073d0df1a..2af263992e83 100644
--- a/drivers/net/wireless/mwifiex/txrx.c
+++ b/drivers/net/wireless/mwifiex/txrx.c
@@ -75,7 +75,11 @@ int mwifiex_process_tx(struct mwifiex_private *priv, struct sk_buff *skb,
u8 *head_ptr;
struct txpd *local_tx_pd = NULL;
- head_ptr = mwifiex_process_sta_txpd(priv, skb);
+ if (priv->bss_role == MWIFIEX_BSS_ROLE_UAP)
+ head_ptr = mwifiex_process_uap_txpd(priv, skb);
+ else
+ head_ptr = mwifiex_process_sta_txpd(priv, skb);
+
if (head_ptr) {
if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_STA)
local_tx_pd =
OpenPOWER on IntegriCloud