diff options
author | Dewey Lee <dewey.lee@broadcom.corp-partner.google.com> | 2023-10-26 13:34:35 +0900 |
---|---|---|
committer | Isaac Chiou <isaacchiou@google.com> | 2023-11-14 09:14:12 +0000 |
commit | dbe39df719e03c250359c53e175aaa008dde5a67 (patch) | |
tree | bcbc07c274a526f586e8eb2e131ddedc136a65e4 | |
parent | acfc312466e23b7f6e72da6fc5683de56639f38c (diff) | |
download | bcm4389-dbe39df719e03c250359c53e175aaa008dde5a67.tar.gz |
bcmdhd: Fixed clm restricted channels to be filtered out for p2p gc caseandroid-u-qpr2-beta-2_r0.7android-u-qpr2-beta-2_r0.5android-u-qpr2-beta-2_r0.4android-u-qpr2-beta-2_r0.3android-u-qpr2-beta-2_r0.2android-u-qpr2-beta-2_r0.1
For P22, the driver doesn't support passive channels for entire p2p.
Therefore, fixed clm restricted channels to be filtered out from usable channels for p2p gc.
Bug: 292411619
Test: Verified with Pixel device
Signed-off-by: Dewey Lee <dewey.lee@broadcom.corp-partner.google.com>
Change-Id: I1bf7e1a9ae102be02b5942cc289f840b4fd7c6c7
-rw-r--r-- | wl_cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wl_cfg80211.c b/wl_cfg80211.c index 5d36997..3802ed0 100644 --- a/wl_cfg80211.c +++ b/wl_cfg80211.c @@ -25718,7 +25718,7 @@ int wl_get_usable_channels(struct bcm_cfg80211 *cfg, usable_channel_info_t *u_in } /* Supplicant does scan passive channel but not for DFS channel */ - if (!(chaninfo & WL_CHAN_RADAR) && !ch_160mhz_5g && + if (!restrict_chan && !ch_160mhz_5g && !CHSPEC_IS6G(chspec) && (!is_unii4)) { mask |= (1 << WIFI_INTERFACE_P2P_CLIENT); } |