broadcom-wl-6.30.223.271-kernel-6.0.0.patch 1.1 KB

1234567891011121314151617181920212223242526
  1. Adjust for this in upstream 6.0.0
  2. commit efbabc11650040c64884ff3019b88c7bcc0ceb1d
  3. Author: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
  4. Date: Wed Jun 8 14:46:37 2022 +0530
  5. cfg80211: Indicate MLO connection info in connect and roam callbacks
  6. Signed-off-by: Thomas Backlund <tmb@mageia.org>
  7. diff -Nurp broadcom-wl-6.30.223.271.orig/src/wl/sys/wl_cfg80211_hybrid.c broadcom-wl-6.30.223.271/src/wl/sys/wl_cfg80211_hybrid.c
  8. --- broadcom-wl-6.30.223.271.orig/src/wl/sys/wl_cfg80211_hybrid.c 2022-10-08 16:43:22.989444532 +0300
  9. +++ broadcom-wl-6.30.223.271/src/wl/sys/wl_cfg80211_hybrid.c 2022-10-08 16:47:54.453417053 +0300
  10. @@ -2382,7 +2382,11 @@ wl_bss_roaming_done(struct wl_cfg80211_p
  11. bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid,
  12. ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS);
  13. struct cfg80211_roam_info roam_info = {
  14. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
  15. + .links[0].bss = bss,
  16. +#else
  17. .bss = bss,
  18. +#endif
  19. .req_ie = conn_info->req_ie,
  20. .req_ie_len = conn_info->req_ie_len,
  21. .resp_ie = conn_info->resp_ie,