diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-09-12 10:38:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-15 15:00:52 -0400 |
commit | d8d91253ba11bb6e98105c2bc88a40d08fac06ff (patch) | |
tree | 62ab4e47c86d5f180c1fbde0b1790de03c0b1a3d /drivers/net/wireless/mwifiex/main.h | |
parent | 971a73f5523ea0512267949bd6ae3f68b9f3431f (diff) |
mwifiex: remove low priority scan handling
We have a logic in driver to delay or abort low priority scan
to serve Tx traffic effectively. With scan channel
gap support added, firmware now allows driver to send Tx data while
scan operation is in progress. Hence low priority scan handling
in driver is not required now. This patch removes related code.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@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.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 651fd8cc4c7f..e9cd4ab4902d 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -90,12 +90,6 @@ enum { | |||
90 | 90 | ||
91 | #define MWIFIEX_MAX_TOTAL_SCAN_TIME (MWIFIEX_TIMER_10S - MWIFIEX_TIMER_1S) | 91 | #define MWIFIEX_MAX_TOTAL_SCAN_TIME (MWIFIEX_TIMER_10S - MWIFIEX_TIMER_1S) |
92 | 92 | ||
93 | #define MWIFIEX_MAX_SCAN_DELAY_CNT 50 | ||
94 | #define MWIFIEX_MAX_EMPTY_TX_Q_CNT 10 | ||
95 | #define MWIFIEX_SCAN_DELAY_MSEC 20 | ||
96 | |||
97 | #define MWIFIEX_MIN_TX_PENDING_TO_CANCEL_SCAN 2 | ||
98 | |||
99 | #define RSN_GTK_OUI_OFFSET 2 | 93 | #define RSN_GTK_OUI_OFFSET 2 |
100 | 94 | ||
101 | #define MWIFIEX_OUI_NOT_PRESENT 0 | 95 | #define MWIFIEX_OUI_NOT_PRESENT 0 |
@@ -561,7 +555,6 @@ struct mwifiex_private { | |||
561 | u16 proberesp_idx; | 555 | u16 proberesp_idx; |
562 | u16 assocresp_idx; | 556 | u16 assocresp_idx; |
563 | u16 rsn_idx; | 557 | u16 rsn_idx; |
564 | struct timer_list scan_delay_timer; | ||
565 | u8 ap_11n_enabled; | 558 | u8 ap_11n_enabled; |
566 | u8 ap_11ac_enabled; | 559 | u8 ap_11ac_enabled; |
567 | u32 mgmt_frame_mask; | 560 | u32 mgmt_frame_mask; |
@@ -816,8 +809,6 @@ struct mwifiex_adapter { | |||
816 | spinlock_t queue_lock; /* lock for tx queues */ | 809 | spinlock_t queue_lock; /* lock for tx queues */ |
817 | u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; | 810 | u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; |
818 | u16 max_mgmt_ie_index; | 811 | u16 max_mgmt_ie_index; |
819 | u8 scan_delay_cnt; | ||
820 | u8 empty_tx_q_cnt; | ||
821 | const struct firmware *cal_data; | 812 | const struct firmware *cal_data; |
822 | struct device_node *dt_node; | 813 | struct device_node *dt_node; |
823 | 814 | ||
@@ -829,7 +820,6 @@ struct mwifiex_adapter { | |||
829 | u32 usr_dot_11ac_dev_cap_a; | 820 | u32 usr_dot_11ac_dev_cap_a; |
830 | u32 usr_dot_11ac_mcs_support; | 821 | u32 usr_dot_11ac_mcs_support; |
831 | 822 | ||
832 | atomic_t is_tx_received; | ||
833 | atomic_t pending_bridged_pkts; | 823 | atomic_t pending_bridged_pkts; |
834 | struct semaphore *card_sem; | 824 | struct semaphore *card_sem; |
835 | bool ext_scan; | 825 | bool ext_scan; |