wlcore: Allow scans when in AP mode
Subsystems (3)
PATCH 1/1 wlcore: Allow scans when in AP mode
From: James Minor <[email protected]>
When in AP mode, scans can be done without changing firmware to the multi-role firmware. Allow the interface to scan if forced in the scan request.
Signed-off-by James Minor <[email protected]>
Signed-off-by Xander Huff <[email protected]>
Reviewed-by Ben Shelton <[email protected]>
Reviewed-by Jaeden Amero <[email protected]>
--- drivers/net/wireless/ti/wlcore/main.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/ti/wlcore/main.c +2 -0
@@ -6120,6 +6120,8 @@ static int wl1271_init_ieee80211(struct wl1271 *wl)WIPHY_FLAG_SUPPORTS_SCHED_SCAN |WIPHY_FLAG_HAS_CHANNEL_SWITCH ; + wl->hw->wiphy->features |=NL80211_FEATURE_AP_SCAN ; +/* make sure all our channels fit in the scanned_ch bitmask */ BUILD_BUG_ON(ARRAY_SIZE(wl1271_channels) + ARRAY_SIZE(wl1271_channels_5ghz) >
Signature · 1 line
1.9.1
Quoted 10 lines · Xander Huff
From: James Minor <[email protected]>
When in AP mode, scans can be done without changing firmware to the multi-role firmware. Allow the interface to scan if forced in the scan request.
Signed-off-by James Minor <[email protected]>Signed-off-by Xander Huff <[email protected]>Reviewed-by Ben Shelton <[email protected]>Reviewed-by Jaeden Amero <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
87016f5eb1a3 wlcore: Allow scans when in AP mode
Signature · 6 lines
https://patchwork.kernel.org/patch/9366467/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches