aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2013-07-30 20:18:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-08-01 15:34:35 -0400
commit78dfca62f1a0a8d00b155e48197a565da18aebd9 (patch)
tree88755c577a01ecf81988746d3c0f0e0294700c0d /drivers/net/wireless/mwifiex/main.h
parentc3afd99fb5adfb31925f0b493a0d4152cd6447cc (diff)
mwifiex: populate rates in probe request using cfg80211_scan_request
Whenever available, use cfg80211_scan_request to populates rates in outgoing probe request. This will help to advertise band specific rates and fix an issue where 11b rates were advertised in probe request going out on 11a band. This will also ensure that we do not advertise 11b rates while P2P scan is going on. 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/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index 9ee3b1b7c365..d2e5ccd891da 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -902,6 +902,8 @@ int mwifiex_cmd_append_vsie_tlv(struct mwifiex_private *priv, u16 vsie_mask,
902u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, 902u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv,
903 u8 *rates); 903 u8 *rates);
904u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates); 904u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates);
905u32 mwifiex_get_rates_from_cfg80211(struct mwifiex_private *priv,
906 u8 *rates, u8 radio_type);
905u8 mwifiex_is_rate_auto(struct mwifiex_private *priv); 907u8 mwifiex_is_rate_auto(struct mwifiex_private *priv);
906extern u16 region_code_index[MWIFIEX_MAX_REGION_CODE]; 908extern u16 region_code_index[MWIFIEX_MAX_REGION_CODE];
907void mwifiex_save_curr_bcn(struct mwifiex_private *priv); 909void mwifiex_save_curr_bcn(struct mwifiex_private *priv);