aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-02-11 21:39:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-02-12 15:36:13 -0500
commit21f58d200388480547df909b5464b5aafebf299d (patch)
tree4f538ef7445b23a0f14e006e486952d1551fbc8c /drivers/net/wireless/mwifiex/main.h
parentd44b5c2f2ec54569006dc85c7dbe25ccd41cfb73 (diff)
mwifiex: implement extended scan feature
In extended scan, host gets scan results through one or multiple events instead of scan command response. Host will send next scan command when all the events are received. Legacy scan sometimes truncates scan results in a noisy environment due to buffer length limitation. This issue is addressed in extended scan. 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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index 29d27d9b5ebe..c473f54ba738 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -59,7 +59,7 @@ enum {
59 59
60#define MWIFIEX_UPLD_SIZE (2312) 60#define MWIFIEX_UPLD_SIZE (2312)
61 61
62#define MAX_EVENT_SIZE 1024 62#define MAX_EVENT_SIZE 2048
63 63
64#define ARP_FILTER_MAX_BUF_SIZE 68 64#define ARP_FILTER_MAX_BUF_SIZE 68
65 65
@@ -753,6 +753,7 @@ struct mwifiex_adapter {
753 atomic_t is_tx_received; 753 atomic_t is_tx_received;
754 atomic_t pending_bridged_pkts; 754 atomic_t pending_bridged_pkts;
755 struct semaphore *card_sem; 755 struct semaphore *card_sem;
756 bool ext_scan;
756}; 757};
757 758
758int mwifiex_init_lock_list(struct mwifiex_adapter *adapter); 759int mwifiex_init_lock_list(struct mwifiex_adapter *adapter);
@@ -938,6 +939,12 @@ mwifiex_set_wmm_params(struct mwifiex_private *priv,
938 struct cfg80211_ap_settings *params); 939 struct cfg80211_ap_settings *params);
939void mwifiex_set_ba_params(struct mwifiex_private *priv); 940void mwifiex_set_ba_params(struct mwifiex_private *priv);
940void mwifiex_set_11ac_ba_params(struct mwifiex_private *priv); 941void mwifiex_set_11ac_ba_params(struct mwifiex_private *priv);
942int mwifiex_cmd_802_11_scan_ext(struct mwifiex_private *priv,
943 struct host_cmd_ds_command *cmd,
944 void *data_buf);
945int mwifiex_ret_802_11_scan_ext(struct mwifiex_private *priv);
946int mwifiex_handle_event_ext_scan_report(struct mwifiex_private *priv,
947 void *buf);
941 948
942/* 949/*
943 * This function checks if the queuing is RA based or not. 950 * This function checks if the queuing is RA based or not.