Projects
KMP
broadcom-wl
broadcom-sta-6.30.223.271-wpa_supplicant-2.11_a...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File broadcom-sta-6.30.223.271-wpa_supplicant-2.11_add_max_scan_ie_len.patch of Package broadcom-wl
diff -rup a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c --- a/src/wl/sys/wl_cfg80211_hybrid.c 2024-10-03 11:48:54.756786688 +0200 +++ b/src/wl/sys/wl_cfg80211_hybrid.c 2024-10-03 11:55:37.103920187 +0200 @@ -1864,6 +1864,13 @@ static s32 wl_alloc_wdev(struct device * } set_wiphy_dev(wdev->wiphy, dev); wdev->wiphy->max_scan_ssids = WL_NUM_SCAN_MAX; + + /* Set max_scan_ie_len to a random value in order to make wpa_supplicant + * scans not to fail. The driver should ignore the extra passed IEs. + * Value taken and fix inspired from: + * https://patchwork.kernel.org/project/linux-wireless/patch/20211212221310.5453-1-merlijn@wizzup.org/ + */ + wdev->wiphy->max_scan_ie_len = 512; #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33) wdev->wiphy->max_num_pmkids = WL_NUM_PMKIDS_MAX; #endif Only in b/src/wl/sys: wl_cfg80211_hybrid.c.orig
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.