aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-03-07 22:41:31 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-03-14 14:49:14 -0400
commit4c9f9fb29b3cdfa751c8ccf984a84fbe9e643b91 (patch)
tree862f31d509422e595a289016c89fcac1332e2bd2 /drivers/net/wireless/mwifiex/main.h
parent5e6e43eb20639aa8003794c076677c188ac01b3a (diff)
mwifiex: add AMSDU inside AMPDU support
Currently AMPDU aggregation is preferred over AMSDU. AMSDU aggregation is performed only if AMPDU streams in firmware are full. This patch adds simultaneous AMSDU and AMPDU aggregation support. This mechanism helps to improve throughput. AMSDU is enabled only for 8897 chipsets which supports 4K transmit buffer. User can disable AMSDU using 'disable_tx_amsdu' module parameter. Signed-off-by: Amitkumar Karwar <akarwar@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/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index 713dd247a153..a67f7da12b30 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -192,6 +192,8 @@ struct mwifiex_add_ba_param {
192 u32 tx_win_size; 192 u32 tx_win_size;
193 u32 rx_win_size; 193 u32 rx_win_size;
194 u32 timeout; 194 u32 timeout;
195 u8 tx_amsdu;
196 u8 rx_amsdu;
195}; 197};
196 198
197struct mwifiex_tx_aggr { 199struct mwifiex_tx_aggr {
@@ -560,6 +562,7 @@ struct mwifiex_tx_ba_stream_tbl {
560 int tid; 562 int tid;
561 u8 ra[ETH_ALEN]; 563 u8 ra[ETH_ALEN];
562 enum mwifiex_ba_status ba_status; 564 enum mwifiex_ba_status ba_status;
565 u8 amsdu;
563}; 566};
564 567
565struct mwifiex_rx_reorder_tbl; 568struct mwifiex_rx_reorder_tbl;
@@ -579,6 +582,7 @@ struct mwifiex_rx_reorder_tbl {
579 int win_size; 582 int win_size;
580 void **rx_reorder_ptr; 583 void **rx_reorder_ptr;
581 struct reorder_tmr_cnxt timer_context; 584 struct reorder_tmr_cnxt timer_context;
585 u8 amsdu;
582 u8 flags; 586 u8 flags;
583}; 587};
584 588