|
@@ -1772,7 +1772,11 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
|
|
|
|
|
|
memcpy(wiphy->perm_addr, priv->curr_addr, ETH_ALEN);
|
|
|
wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
|
|
|
- wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME;
|
|
|
+ wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME |
|
|
|
+ WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD;
|
|
|
+
|
|
|
+ wiphy->probe_resp_offload = NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS |
|
|
|
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2;
|
|
|
|
|
|
/* Reserve space for mwifiex specific private data for BSS */
|
|
|
wiphy->bss_priv_size = sizeof(struct mwifiex_bss_priv);
|