On Thu, 22 Feb 2024 13:29:27 +0100 Stefan Sperling wrote:
> On Thu, Feb 22, 2024 at 11:35:35AM +0100, Marco van Hulten wrote:
> > Hello,
> > 
> > The Qualcomm QCNFA765 (support recently added) in my ThinkPad P14s
> > worked for some time, but now it mostly does not and I get these kernel
> > messages:
> > 
> >   qwx0: failed to send WMI_START_SCAN_CMDID
> >   qwx0: failed to start hw scan: 58
> > 
> > This happens when I run this command:
> > 
> >   ifconfig qwx0 nwid eduroam wpa wpaakms 802.1x up
> > 
> > dmesg is attached.  Is this a bug or am I doing something wrong?
> > 
> > Similar, when I first scan and then try to join an open network,
> > following qwx(4),
> > 
> >   qwx0: failed to send WMI_11D_SCAN_START_CMDID: 58
> >   qwx0: failed to start 11d scan; vdev: 0 ret: 58
> >   qwx0: failed to send WMI_START_SCAN_CMDID
> >   qwx0: failed to start hw scan: 58
> > 
> > Sometimes it works again; I cannot put my finger what triggers the
> > problem.  
> 
> Please show a full trace that appears after you run 'ifconfig qwx0 debug'.

Just 'ifconfig qwx0 debug' doesn't give any output (terminal or
console).  I don't know if it should.  The commands 'ifconfig qwx0 down;
ifconfig qwx0 up debug' resulted on console:

qwx0: ASSOC -> RUN
qwx0: INIT -> SCAN
qwx0: end active scan
qwx0: - 1c:9e:cc:3b:d3:b0   11  +171 54M   ess  privacy   rsn! "Vodafone-D3AC"!
qwx0: - 1c:9e:cc:3b:d3:b8  100  +169 54M   ess  privacy   rsn! "Vodafone-D3AC"!
qwx0: - 1c:ed:6f:bb:ea:bf  100  +172 54M   ess  privacy   rsn! "fHome"!
qwx0: - 1c:ed:6f:bb:ea:c1   60  +168 54M   ess  privacy   rsn! "fHome"!
qwx0: - 26:7b:cb:c6:10:0a   48  +208 54M   ess  privacy   rsn! 
"DIRECT-WTBDGP14SmsWV"!
qwx0: - 6e:63:9c:51:08:fd    6  +173 54M   ess       no!  rsn! "Vodafone 
Hotspot"!
qwx0: - 74:88:bb:4f:74:8d   48  +206 54M   ess       no!  rsn! "gast-bonnet"!
qwx0: - 74:88:bb:4f:74:8e   48  +206 54M   ess       no!  rsn! "bonnet"!
qwx0: + 74:88:bb:4f:74:8f   48  +206 54M   ess  privacy   rsn  "eduroam"
qwx0: + 74:88:bb:9c:32:60    5  +188 54M   ess  privacy   rsn  "eduroam"
qwx0: - 74:88:bb:9c:32:6d  140  +178 54M   ess       no!  rsn! "gast-bonnet"!
qwx0: - 74:88:bb:9c:32:6e  140  +178 54M   ess       no!  rsn! "bonnet"!
qwx0: + 74:88:bb:9c:32:6f  140  +178 54M   ess  privacy   rsn  "eduroam"
qwx0: + 74:88:bb:d0:63:c0    5  +183 54M   ess  privacy   rsn  "eduroam"
qwx0: - 74:88:bb:d0:63:c1    5  +183 54M   ess       no!  rsn! "bonnet"!
qwx0: - 74:88:bb:d0:63:c2    5  +183 54M   ess       no!  rsn! "gast-bonnet"!
qwx0: - 74:88:bb:d0:63:cd   36  +184 54M   ess       no!  rsn! "gast-bonnet"!
qwx0: - 74:88:bb:d0:63:ce   36  +184 54M   ess       no!  rsn! "bonnet"!
qwx0: + 74:88:bb:d0:63:cf   36  +184 54M   ess  privacy   rsn  "eduroam"
qwx0: - ce:9e:a2:2b:a0:be   11  +171 54M   ess  privacy   rsn! 
0x000000000000000000000000000000000000000000!
qwx0: SCAN -> AUTH
qwx0: sending auth to 74:88:bb:4f:74:8f on channel 48 mode 11a
qwx0: AUTH -> ASSOC
qwx0: sending assoc_req to 74:88:bb:4f:74:8f on channel 48 mode 11a
qwx0: ASSOC -> RUN
qwx0: associated with 74:88:bb:4f:74:8f ssid "eduroam" channel 48 start 9Mb 
short preamble short slot time
qwx0: missed beacon threshold set to 30 beacons, beacon interval is 100 TU

> Can you reproduce this on non-WPA-Enterprise networks,
> i.e. without eduraom / wpaakms 802.1x?

Did not succeed in reproducing so far.  I tried a network without a
mention of "802.1x", namely from

detekti# ifconfig qwx0 scan 
qwx0: flags=808847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 
1500
        lladdr 04:7b:cb:b6:bf:14
        index 2 priority 4 llprio 3
        groups: wlan egress
        media: IEEE802.11 autoselect mode 11a (OFDM9 mode 11a)
        status: no network
        ieee80211: nwid eduroam chan 48 bssid 74:88:bb:4f:74:8f -52dBm 
wpaprotos wpa2 wpaakms 802.1x wpaciphers ccmp wpagroupcipher ccmp
                nwid DIRECT-WTBDGP14SmsWV chan 36 bssid 26:7b:cb:c6:10:0a 
-47dBm HT-MCS15 privacy,spectrum_mgmt,wpa2 !wpaproto
                nwid gast-bonnet chan 1 bssid 74:88:bb:4f:74:82 -50dBm HT-MCS23 
spectrum_mgmt,radio_measurement 
                nwid eduroam chan 1 bssid 74:88:bb:4f:74:80 -50dBm HT-MCS23 
privacy,spectrum_mgmt,radio_measurement,wpa2,802.1x
                [...]

I selected 'gast-bonnet':

detekti# ifconfig qwx0 join gast-bonnet debug
detekti# ifconfig qwx0       
qwx0: flags=808806<BROADCAST,DEBUG,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr 04:7b:cb:b6:bf:14
        index 2 priority 4 llprio 3
        groups: wlan egress
        media: IEEE802.11 autoselect mode 11a (OFDM9 mode 11a)
        status: no network
        ieee80211: nwid eduroam wpaprotos wpa2 wpaakms 802.1x wpaciphers ccmp 
wpagroupcipher ccmp

Nothing on console from these commands.  I cannot reproduce the error.

Additional dmesg output that seems to be new:

qwx0: missed beacon threshold set to 30 beacons, beacon interval is 100 TU
qwx0: failed to enqueue rx buf: 28
qwx_ce_recv_process_cb: failed to post rx buf to pipe: 2 err: 28

I will try my networks at home tonight and try to reproduce the error
and generate debug output...

I am running the latest snapshot (same as for original report).

Marco

Reply via email to