summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanfran <sanfran.shen@broadcom.corp-partner.google.com>2020-06-19 08:23:46 +0800
committerAhmed ElArabawy <arabawy@google.com>2020-06-30 18:30:19 -0700
commitf066d55010423620f21b4c3adabe38c13e5469cf (patch)
tree02f97a51f3f27932dc446fca7dc397dc4bef042f
parent725cec0edd8de58bf4271ca5ac708586e1542858 (diff)
downloadbcm43752-f066d55010423620f21b4c3adabe38c13e5469cf.tar.gz
Add ext_features to support wpa_supplicant enable_oce
For support wpa_s->enable_oce, dhd needs to advertise other ext_features Bug: 154372567 Test: Check if wpa_s->enable_oce is true in getWpaDriverCapabilitiesInternal Signed-off-by: sanfran <sanfran.shen@broadcom.corp-partner.google.com> Change-Id: I11d20369eaf468ef8a5d0d5cb1588f1ade3ce46b Signed-off-by: sanfran <sanfran.shen@broadcom.corp-partner.google.com> Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
-rw-r--r--wl_cfg80211.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/wl_cfg80211.c b/wl_cfg80211.c
index ce3457f..19182b8 100644
--- a/wl_cfg80211.c
+++ b/wl_cfg80211.c
@@ -13468,7 +13468,12 @@ static s32 wl_setup_wiphy(struct wireless_dev *wdev, struct device *sdiofunc_dev
wiphy_ext_feature_set(wdev->wiphy, NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN);
wdev->wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN;
#endif /* WL_SCAN_TYPE */
-
+#ifdef WL_OCE
+ wiphy_ext_feature_set(wdev->wiphy, NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME);
+ wiphy_ext_feature_set(wdev->wiphy, NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP);
+ wiphy_ext_feature_set(wdev->wiphy, NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE);
+ wiphy_ext_feature_set(wdev->wiphy, NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION);
+#endif /* WL_OCE */
return err;
}