aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index 672701dc2721..8316b3cd92cd 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -69,7 +69,8 @@ struct mwifiex_drv_mode {
69#define MWIFIEX_TIMER_10S 10000 69#define MWIFIEX_TIMER_10S 10000
70#define MWIFIEX_TIMER_1S 1000 70#define MWIFIEX_TIMER_1S 1000
71 71
72#define MAX_TX_PENDING 60 72#define MAX_TX_PENDING 100
73#define LOW_TX_PENDING 80
73 74
74#define MWIFIEX_UPLD_SIZE (2312) 75#define MWIFIEX_UPLD_SIZE (2312)
75 76
@@ -202,6 +203,7 @@ struct mwifiex_tid_tbl {
202#define WMM_HIGHEST_PRIORITY 7 203#define WMM_HIGHEST_PRIORITY 7
203#define HIGH_PRIO_TID 7 204#define HIGH_PRIO_TID 7
204#define LOW_PRIO_TID 0 205#define LOW_PRIO_TID 0
206#define NO_PKT_PRIO_TID (-1)
205 207
206struct mwifiex_wmm_desc { 208struct mwifiex_wmm_desc {
207 struct mwifiex_tid_tbl tid_tbl_ptr[MAX_NUM_TID]; 209 struct mwifiex_tid_tbl tid_tbl_ptr[MAX_NUM_TID];
@@ -213,7 +215,10 @@ struct mwifiex_wmm_desc {
213 u32 drv_pkt_delay_max; 215 u32 drv_pkt_delay_max;
214 u8 queue_priority[IEEE80211_MAX_QUEUES]; 216 u8 queue_priority[IEEE80211_MAX_QUEUES];
215 u32 user_pri_pkt_tx_ctrl[WMM_HIGHEST_PRIORITY + 1]; /* UP: 0 to 7 */ 217 u32 user_pri_pkt_tx_ctrl[WMM_HIGHEST_PRIORITY + 1]; /* UP: 0 to 7 */
216 218 /* Number of transmit packets queued */
219 atomic_t tx_pkts_queued;
220 /* Tracks highest priority with a packet queued */
221 atomic_t highest_queued_prio;
217}; 222};
218 223
219struct mwifiex_802_11_security { 224struct mwifiex_802_11_security {