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
>Organization:
>Environment:
NetBSD X61 7.0_RC3 NetBSD 7.0_RC3 (GENERIC.201508110747Z) amd64
>Description:
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
                    Channel:48
                    Frequency:5.24 GHz (Channel 48)
                    Quality=45/70  Signal level=-65 dBm
                    Encryption key:on
                    ESSID:"5Ghz-access-point"
                    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
                    Mode:Master
                    Extra:tsf=0000004e0f09fba8
                    Extra: Last beacon: 54ms ago
                    IE: Unknown:
00204269726D696E6768616D43656E7472616C4261636B7061636B6572733547687A
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown:
073C4742202401172801172C01173001173401173801173C011740011764011E68011E6C011E70011E74011E78011E7C011E80011E84011E88011E8C011E
                    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:
2D1AED091BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown:
3D1630080400000000000000000000000000000000000000
                    IE: Unknown: DD090010180205F03C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown:
DD180050F2020101800003A4000027A4000042435E0062322F00

No problem accessing this access point under Linux.

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


>How-To-Repeat:
1) wpa_gui &
2) Press "scan"
3) Analyse scan result
4) View Event history

Alternatively:
1) wlanctl iwn0 
2) Compare results with Linux iwlist wls3 scan
>Fix:



Home | Main Index | Thread Index | Old Index