Re: iwlwifi / rtw88 / rtw89 hw crypto request for test (precon for HT/VHT)

From: Andrea Venturoli <ml_at_netfence.it>
Date: Thu, 27 Feb 2025 14:28:59 UTC
On 2/19/25 08:17, Andrea Venturoli wrote:

>>> I've seen cherry-picking it is possible with just a few manual 
>>> adjustment...
>>
>> You can certainly do that.  And that should work.
>>
>> It'll likely be easier to cherrypick from stable/ once things are merged
>> (especially if you keep the merge order).
> 
> OK, so it seems answer is no (even if it applies almost cleanly).
> I'll wait a few day ands try to merge all the relevant commits from 14- 
> stable.
> Thanks.

Hello again.

Since this has landed in 14-STABLE, I tried this merge for fun.
To be clear: I applied to 14.2 all your commits from 14-STABLE after 
14.2 was released.
This almost went cleanly and I had only one little thing to fix in order 
to be able to compile.

System came up perfectly and, after very brief and insufficient testing, 
still seems to work.

Then I set compat.linuxkpi.80211.hw_crypto=1.
First strange thing: "ifconfig wlan0" output doesn't differ; it' still 
says "54Mbps" and "11g".
WiFi doesn't seem to work properly, as I cannot even ssh into the 
machine (hangs after some startup messages).
Also I started seeing a lot of messages that invite me to report to PR 
274382.
I'll eventually try in other networks, if I can.



Fine, this was just a test for fun.
Either I did something wrong or it just can't work on 14.2.
If it's the latter, I can wait for 14.3.

Now, the real question: are you interested in such reports in 274382?
Given the "unofficial" (to say the least) state of my kernel, I'm not sure.



  bye & Thanks
	av.

P.S.
pciconf -lv:
iwlwifi0@pci0:0:12:0:   class=0x028000 rev=0x06 hdr=0x00 vendor=0x8086 
device=0x31dc subvendor=0x8086 subdevice=0x0264
     vendor     = 'Intel Corporation'
     device     = 'Gemini Lake PCH CNVi WiFi'
     class      = network

dmesg:
iwlwifi0: <iwlwifi> mem 0x91118000-0x9111bfff at device 12.0 on pci0
iwlwifi0: Detected crf-id 0x2816, cnv-id 0x1000100 wfpm id 0x80000000
iwlwifi0: PCI dev 31dc/0264, rev=0x312, rfid=0x108110
iwlwifi0: Detected Intel(R) Wireless-AC 9461
iwlwifi0: successfully loaded firmware image 
'iwlwifi-9000-pu-b0-jf-b0-46.ucode'
iwlwifi0: WRT: Overriding region id 0
iwlwifi0: WRT: Overriding region id 1
iwlwifi0: WRT: Overriding region id 2
iwlwifi0: WRT: Overriding region id 3
iwlwifi0: WRT: Overriding region id 4
iwlwifi0: WRT: Overriding region id 6
iwlwifi0: WRT: Overriding region id 8
iwlwifi0: WRT: Overriding region id 9
iwlwifi0: WRT: Overriding region id 10
iwlwifi0: WRT: Overriding region id 11
iwlwifi0: WRT: Overriding region id 15
iwlwifi0: WRT: Overriding region id 16
iwlwifi0: WRT: Overriding region id 18
iwlwifi0: WRT: Overriding region id 19
iwlwifi0: WRT: Overriding region id 20
iwlwifi0: WRT: Overriding region id 21
iwlwifi0: WRT: Overriding region id 28
iwl-debug-yoyo.bin: could not load binary firmware 
/boot/firmware/iwl-debug-yoyo.bin either
iwl-debug-yoyo.bin: could not load binary firmware 
/boot/firmware/iwl-debug-yoyo.bin either
iwl-debug-yoyo_bin: could not load binary firmware 
/boot/firmware/iwl-debug-yoyo_bin either
iwl_debug_yoyo_bin: could not load binary firmware 
/boot/firmware/iwl_debug_yoyo_bin either
iwlwifi0: loaded firmware version 46.ff18e32a.0 
9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
iwlwifi0: base HW address: 20:1e:88:78:ac:3a, OTP minor version: 0x4

The warning about "iwl-debug-yoyo.bin" always happens, with our without 
the latest commits.