[Bug 264238] wpa_supplicant fails to associate to open unprotected 802.11n

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 08:05:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238

--- Comment #106 from Jaskie <jiangjun12321@gmail.com> ---
(In reply to Cy Schubert from comment #105)

OK. I applied this patch (A better patch), compiled & installed wpa and tested.
WiFi still not working. 

# ifconfig -v wlan0 list scan |grep WHU-STU
WHU-STU                           70:d9:31:0e:5e:20    1   54M  -83:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<1> COUNTRY<CN 
1-13,20> ERP<0x2> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000> HTCAP<cap
0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 1,
0,1,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x6 BE[aifsn 3
cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> ATH<0x7fff>
WHU-STU                           70:d9:31:0e:14:a0    1   54M  -88:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<1> COUNTRY<CN 
1-13,20> ERP<0x2> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000> HTCAP<cap
0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 1,
0,1,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x6 BE[aifsn 3
cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> ATH<0x7fff>
WHU-STU                           fc:b6:98:f5:b6:c0   13   54M  -87:-95   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<13> TIM<050400010001>
COUNTRY<CN  1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000>
HTCAP<cap 0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0>
HTINFO<ctl 13, 8,0,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x5
BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0]
VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
ATH<0x7fff>
WHU-STU                           70:d9:31:0e:80:a0   13   54M  -85:-95   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<13> TIM<050400010001>
COUNTRY<CN  1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000>
HTCAP<cap 0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0>
HTINFO<ctl 13, 8,0,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x5
BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0]
VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
ATH<0x7fff>
WHU-STU                           70:d9:31:0e:2c:00    5   54M  -78:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<5> TIM<050400010001>
COUNTRY<CN  1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000>
HTCAP<cap 0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0>
HTINFO<ctl 5, 0,5,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x5
BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0]
VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
ATH<0x7fff>
WHU-STU                           fc:b6:98:f5:cc:00    5   54M  -84:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<5> COUNTRY<CN 
1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000> HTCAP<cap
0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 5,
0,5,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x0 BE[aifsn 3
cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> ATH<0x7fff>
WHU-STU                           fc:b6:98:f6:01:a0    5   54M  -84:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<5> COUNTRY<CN 
1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000> HTCAP<cap
0x18d param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 5,
0,1,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x6 BE[aifsn 3
cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> ATH<0x7fff>
WHU-STU                           70:d9:31:0e:19:20    5   54M  -85:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<5> TIM<050400010001>
COUNTRY<CN  1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000>
HTCAP<cap 0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0>
HTINFO<ctl 5, 0,1,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x3
BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0]
VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
ATH<0x7fff>
WHU-STU                           fc:b6:98:f6:0a:20    9   54M  -81:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<9> COUNTRY<CN 
1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000> HTCAP<cap
0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 9,
8,0,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0xc BE[aifsn 3
cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> ATH<0x7fff>
WHU-STU                           70:d9:31:12:9b:80    9   54M  -88:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<9> COUNTRY<CN 
1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000> HTCAP<cap
0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 9,
8,0,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x6 BE[aifsn 3
cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> ATH<0x7fff>
WHU-STU                           70:d9:31:03:06:c0    9   54M  -87:-96   300
ES   SSID<WHU-STU> RATES<B2,B4,11,22,12,18,24,36> DSPARMS<9> TIM<050400010001>
COUNTRY<CN  1-13,20> ERP<0x0> XRATES<48,72,96,108> RRM_ENCAPS<46057100000000>
HTCAP<cap 0x18c param 0x3 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0>
HTINFO<ctl 9, 8,0,0,0 basicmcs[]> EXTCAP<7f080000080000000440> WME<qosinfo 0x0
BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0]
VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
ATH<0x7fff>

Notice: bssid 70:d9:31:0e:2c:00 is usually the one I connect when using wpa
2.9.


/usr/sbin/wpa_supplicant -dd -i wlan0 -c /etc/wpa_supplicant.conf -D bsd output
is too long to paste so I uploaded it as an attachment.
Thanks all of you for your effort!

-- 
You are receiving this mail because:
You are on the CC list for the bug.