summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Zhang <zhangmax@google.com>2021-05-19 04:09:05 +0000
committerMax Zhang <zhangmax@google.com>2021-05-19 04:35:54 +0000
commit44f85bda1350de20534fc3038abe5c28804bbfcd (patch)
treeb7002293f5560e97c03b1b8ef74822a778d06ce7
parent7300cc211192bd8f23830fd7f8ea6b7adc82af13 (diff)
downloaddhd-driver-android-tv-deadpool-4.9-android11.tar.gz
wifi: bcm4356 wifi not support WPA3 [1/1]android-tv-deadpool-4.9-android11
commit 9a76adf12ac9dcd221f48826088725cd1a463e04 Author: rongjun.chen <rongjun.chen@amlogic.com> Date: Thu Mar 18 13:23:34 2021 +0800 PD#SWPL-39141 Problem: bcm4356 not support WPA3 Solution: update driver bcm4356 not support sae feature Verify: franklin Change-Id: I6633f4f952c56c6057762f08a7de904ab35f37ed Signed-off-by: rongjun.chen <rongjun.chen@amlogic.com>
-rw-r--r--bcmdhd.101.10.240.x/wl_cfg80211.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bcmdhd.101.10.240.x/wl_cfg80211.c b/bcmdhd.101.10.240.x/wl_cfg80211.c
index f228438..4d77414 100644
--- a/bcmdhd.101.10.240.x/wl_cfg80211.c
+++ b/bcmdhd.101.10.240.x/wl_cfg80211.c
@@ -13448,6 +13448,7 @@ void wl_config_custom_regulatory(struct wiphy *wiphy)
static s32 wl_setup_wiphy(struct wireless_dev *wdev, struct device *sdiofunc_dev, dhd_pub_t *context)
{
s32 err = 0;
+ uint chip;
#ifdef CONFIG_PM
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0))
struct cfg80211_wowlan *brcm_wowlan_config = NULL;
@@ -13457,7 +13458,7 @@ static s32 wl_setup_wiphy(struct wireless_dev *wdev, struct device *sdiofunc_dev
//#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0) || defined(WL_COMPAT_WIRELESS))
dhd_pub_t *dhd = (dhd_pub_t *)context;
BCM_REFERENCE(dhd);
-
+ chip = dhd_conf_get_chip(dhd);
if (!dhd) {
WL_ERR(("DHD is NULL!!"));
err = -ENODEV;
@@ -13669,7 +13670,8 @@ static s32 wl_setup_wiphy(struct wireless_dev *wdev, struct device *sdiofunc_dev
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && defined(SUPPORT_RANDOM_MAC_SCAN) */
#if defined(WL_SAE) || defined(WL_CLIENT_SAE)
- wdev->wiphy->features |= NL80211_FEATURE_SAE;
+ if (chip != BCM4356_CHIP_ID)
+ wdev->wiphy->features |= NL80211_FEATURE_SAE;
#endif /* WL_SAE || WL_CLIENT_SAE */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)) && defined(BCMSUP_4WAY_HANDSHAKE)
if (FW_SUPPORTED(dhd, idsup)) {