aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2012-06-28 23:30:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-09 16:36:00 -0400
commit2dd2bd6b36bc10b896fe565e31328d5e8327f431 (patch)
treecab49654337ce271df223b5595aa411c389830fe
parent5370c83684d9e7247b4026ca193b813580653377 (diff)
mwifiex: advertise WPS probe response offload support to cfg80211
Being a fullmac driver, mwifiex takes care of populating beacon, probe response, association response WPS IEs to firmware. And firmware is responsible for constructing these frames. Advertise this to cfg80211. 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>
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index 0170e87f7ca4..2aeb97428669 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -1772,7 +1772,11 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
1772 1772
1773 memcpy(wiphy->perm_addr, priv->curr_addr, ETH_ALEN); 1773 memcpy(wiphy->perm_addr, priv->curr_addr, ETH_ALEN);
1774 wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; 1774 wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
1775 wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME; 1775 wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME |
1776 WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD;
1777
1778 wiphy->probe_resp_offload = NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS |
1779 NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2;
1776 1780
1777 /* Reserve space for mwifiex specific private data for BSS */ 1781 /* Reserve space for mwifiex specific private data for BSS */
1778 wiphy->bss_priv_size = sizeof(struct mwifiex_bss_priv); 1782 wiphy->bss_priv_size = sizeof(struct mwifiex_bss_priv);