NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/50187: iwn0: frequency and channel mismatch

>Number:         50187
>Category:       kern
>Synopsis:       iwn0: frequency and channel mismatch
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 01 22:55:00 +0000 2015
>Originator:     Ottavio Caruso
>Release:        NetBSD 7.0_RC3
NetBSD X61 7.0_RC3 NetBSD 7.0_RC3 (GENERIC.201508110747Z) amd64
Thinkpad X61 with a 4965AGN wireless Intel card. I can connect to
a 5Ghz fine with Linux or Windows 7, but not NetBSD.

The latter sees the access point as a normal 2.4 Ghz host on channel 11:

#wlanctl iwn0
iwn0: mac e0:3f:49:6a:87:ec bss e0:3f:49:6a:87:ec
        node flags 0004<scan>
        ess <5Ghz-access-point>
        chan 11 freq 2462MHz flags 04e0<cck,ofdm,2.4GHz,dynamic cck-ofdm>
        capabilities 0111<ess,privacy>
        beacon-interval 100 TU tsft 337491046458 us
        rates *6.0 9.0 *12.0 18.0 *24.0 36.0 48.0 [54.0]
        assoc-id 0 assoc-failed 0 inactivity 300s
        rssi 194 txseq 0 rxseq 62496

The interface tries to connect to the AP but fails.

The channel and the frequency reported are wrong.

This his how Linux (System Rescue CD) sees it

root@sysresccd /root % iwlist wls3 scan
wls3      Scan completed :
          Cell 01 - Address: E0:3F:49:6A:87:EC
                    Frequency:5.24 GHz (Channel 48)
                    Quality=45/70  Signal level=-65 dBm
                    Encryption key:on
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Extra: Last beacon: 54ms ago
                    IE: Unknown:
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown:
                    IE: Unknown: 200100
                    IE: Unknown: 23021000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown:
                    IE: Unknown:
                    IE: Unknown: DD090010180205F03C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown:

No problem accessing this access point under Linux.

Both Linux and NetBSD use /lib/firmware/iwlwifi-4965-2.ucode.

1) wpa_gui &
2) Press "scan"
3) Analyse scan result
4) View Event history

1) wlanctl iwn0 
2) Compare results with Linux iwlist wls3 scan

Home | Main Index | Thread Index | Old Index