** Description changed:

  SRU Justification
  
  [ Impact ]
  
   In Linux v7.3-rc1 commit 914781c72813  ("wifi: cfg80211: convert cookie 
output to input parameter")
   changed the semantics of the cookie and with that the variable types of 
remain_on_channel and mgmt_tx and makes the module impossible to be compiled 
from Linux v7.3-rc1 commit 914781c72813 onwards.
  
  To address this build failure importing the upstream fix is needed.
+ 
+ Fixing Resolute as well in anticipation of HWE Kernels.
  
  [ Fix ]
  
   Import upstream commit
  
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
  
  [ Test case ]
  
  Follow the following steps:
  
  - Install the correct series package from
  https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
  
  - Check the new package correctly installs in the system
  
  - Check the installed version number is the correct one
  
  - Verify the compiled qcacld2 module file exists and inspect its module 
metadata (verifies successful build and vermagic match without requiring 
hardware):
     $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
     $ modinfo "$MOD"
     Expected result: modinfo outputs valid module metadata with vermagic 
matching $(uname -r) and no errors.
  
  - (OPTIONAL - On systems with supported Qualcomm/Ezurio Wi-Fi hardware 
attached) Load the driver, verify the wireless interface appears, and check 
dmesg for any cfg80211 warnings or oopses:
     $ sudo modprobe qcacld2
     $ lsmod | grep qcacld2
     $ iw dev
     $ sudo iw dev <iface> scan | head -n 20
     $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
     Expected result: Module loads cleanly (exit 0), wireless interface 
initializes and scans without errors, and no kernel warnings or call traces 
appear in dmesg.
  Without the HW module installed, the module will fail to load with the 
following message
  == modprobe: ERROR: could not insert 'qcacld2': No such device ==
  
  [ What could go wrong ]
  
   The semantic of the cookie creation is inverted since kernel 7.3 so, if
  the fix is not correct some side effect like cancelling a
  remain_on_channel request would be discarded by the radio, as it won't
  find the cookie from wpa_supplicant.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173882

Title:
  ezurio-qcacld-2.0-dkms fails to build in kernel 7.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ezurio-qcacld-2.0-dkms/+bug/2173882/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to