[Bug 267947] iwlwifi Can't decode ssid

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Nov 2022 15:44:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267947

            Bug ID: 267947
           Summary: iwlwifi Can't decode ssid
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: thj@FreeBSD.org

After some power outages and maybe an isp update iwlwifi in my Framework (12th
Gen) is unable to decode the ssid of my home network. Oddly it is able to
decode other ssids, verified by connecting to other networks including my
phone.

Instead the ifconfig and wpa_supplicant output contains a hex string.

This doesn't appear to be an 80211 issue as a usb rtwn device in the same
machine is able to see the network and connect. I have a pcap of beacons from
the device and I can clearly see the ssid in the hexdump so the traffic is
arriving.

The pcap is in my home directory on freefall (/home/thj/iwlwifi-beacons.pcap),
but for reasons that are hopefully obvious I don't want to attach it here.

Some facts from the system:

$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 04:cf:4b:1e:ca:e9
        groups: wlan
        ssid "" channel 1 (2412 MHz 11g)
        regdomain FCC country US authmode WPA1+WPA2/802.11i privacy MIXED
        deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme
        roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
$ ifconfig wlan1
wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 74:da:38:8b:bf:34
        groups: wlan
        ssid BTWi-fi channel 6 (2437 MHz 11g ht/20)
        regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
        scanvalid 60 protmode CTS ht20 ampdulimit 8k ampdudensity 16 shortgi
        -stbc -ldpc -uapsd wme
        parent interface: rtwn0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>



$ sudo ifconfig wlan0 scan
SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT
CAPS
BTHub6-XXXX                       78:65:59:b7:63:32    6   54M  -79:-96   100
EP   RSN BSSLOAD HTCAP WPS WME
BTWi-fi                           7a:65:59:b7:65:33    6   54M  -87:-96   100 E
   BSSLOAD HTCAP WME
0x00e0fca0000000010003            1c:43:63:1e:e6:10    4   54M  -54:-96   100
EPS  HTCAP WME ATH WPS RSN
0x00e0fca0000000010003            1c:43:63:1e:e6:14   36   54M  -57:-96   100
EP   HTCAP VHTCAP VHTOPMODE VHTPWRENV WME ATH WPS RSN

$ sudo ifconfig wlan1 scan
SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT
CAPS
BTHub6-XXXX                       78:65:59:b7:63:32    6   54M  -90:-95   100
EP   RSN BSSLOAD HTCAP WPS WME
BTWi-fi                           7a:65:59:b7:65:33    6   54M  -91:-95   100 E
   BSSLOAD HTCAP WME
TALKTALKXXXXXX                    1c:43:63:1e:e6:10    4   54M  -78:-95   100
EPS  HTCAP WME ATH WPS RSN


iwlwifi0: <iwlwifi> mem 0x7a200000-0x7a203fff at device 0.0 on pci2
iwlwifi0: successfully loaded firmware image 'iwlwifi-ty-a0-gf-a0-73.ucode'
iwlwifi0: api flags index 2 larger than supported by driver
iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.36
iwlwifi0: loaded firmware version 73.35c0a2c6.0 ty-a0-gf-a0-73.ucode op_mode
iwlmvm
iwlwifi0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
iwlwifi0: successfully loaded firmware image 'iwlwifi-ty-a0-gf-a0.pnvm'
iwlwifi0: loaded PNVM version 881c99e1
iwlwifi0: Detected RF GF, rfid=0x10d000
iwlwifi0: base HW address: 04:cf:4b:1e:ca:e9

-- 
You are receiving this mail because:
You are the assignee for the bug.