Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 842719 Details for
Bug 836165
net-wireless/broadcom-sta-6.30.223.271-r6 fails to compile with linux kernel 5.17
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
broadcom-sta-6.30.223.271-r6-linux-6.0.patch
broadcom-sta-6.30.223.271-r6-linux-6.0.patch (text/plain), 1.83 KB, created by
ShadowOne333
on 2022-12-14 22:54:44 UTC
(
hide
)
Description:
broadcom-sta-6.30.223.271-r6-linux-6.0.patch
Filename:
MIME Type:
Creator:
ShadowOne333
Created:
2022-12-14 22:54:44 UTC
Size:
1.83 KB
patch
obsolete
>--- a/src/wl/sys/wl_cfg80211_hybrid.c 2022-12-14 08:58:10.974438882 -0700 >+++ b/src/wl/sys/wl_cfg80211_hybrid.c 2022-12-14 12:52:12.381689207 -0700 >@@ -791,6 +791,7 @@ > break; > case NL80211_AUTHTYPE_NETWORK_EAP: > WL_DBG(("network eap\n")); >+ break; > default: > val = 2; > WL_ERR(("invalid auth type (%d)\n", sme->auth_type)); >@@ -2348,24 +2349,34 @@ > const wl_event_msg_t *e, void *data) > { > struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl); >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) >- struct cfg80211_roam_info roam_info = {}; >-#endif > s32 err = 0; >- >- wl_get_assoc_ies(wl); >- memcpy(wl->profile->bssid, &e->addr, ETHER_ADDR_LEN); >- memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN); >- wl_update_bss_info(wl); >- > #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) >+ struct cfg80211_bss *bss; >+ struct wlc_ssid *ssid; >+ struct cfg80211_roam_info roam_info; >+ ssid = &wl->profile->ssid; >+ bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid, >+ ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); >+ // Rel. commit "cfg80211: Indicate MLO connection info in connect and roam callbacks" (Veerendranath Jakkam, Wed Jun 8) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0) >+ roam_info.bss = bss; > roam_info.channel = &wl->conf->channel, > roam_info.bssid = (u8 *)&wl->bssid, >+#else >+ roam_info.links[0].bss = bss; >+#endif > roam_info.req_ie = conn_info->req_ie, > roam_info.req_ie_len = conn_info->req_ie_len, > roam_info.resp_ie = conn_info->resp_ie, > roam_info.resp_ie_len = conn_info->resp_ie_len, >+#endif > >+ wl_get_assoc_ies(wl); >+ memcpy(wl->profile->bssid, &e->addr, ETHER_ADDR_LEN); >+ memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN); >+ wl_update_bss_info(wl); >+ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) > cfg80211_roamed(ndev, &roam_info, GFP_KERNEL); > #else > cfg80211_roamed(ndev,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 836165
:
767877
|
768771
|
768772
|
771107
|
842717
| 842719