Re: iwi driver: ioctl[SIOCS80211, op 21, len 42]: Invalid argument

From: Max Laier <max_at_love2party.net>
Date: Tue, 19 Sep 2006 14:20:16 +0200
On Tuesday 19 September 2006 10:34, Vladimir Grebenschikov wrote:
> i am triing to connect Intel(R) PRO/Wireless 2200BG - iwi0 to WPA-EAP
> wireless network with PEAP:
>
> # wpa_supplicant -i iwi0 -c /usr/local/etc/wpa_supplicant.conf
> Trying to associate with SSID 'OFFICE-PEAP'
> ioctl[SIOCS80211, op 21, len 42]: Invalid argument
> Association request to the driver failed
> ...

Are you sure userland and kernel are in sync?  Did you install possibly 
changed include files before rebuilding wpa_supplicant?

> # kldstat | egrep wlan\|iwi
> 28    1 0xc0892000 2d08     wlan_wep.ko
> 29    5 0xc0895000 1ed74    wlan.ko
> 52    1 0xc4ff9000 7000     wlan_ccmp.ko
> 53    1 0xc5000000 4000     wlan_tkip.ko
> 54    1 0xc3828000 2000     wlan_xauth.ko
> 57    1 0xc4f36000 d000     if_iwi.ko
> #
>
> changing ap_scan=2 >> ap_scan=1
> improves situation a bit, but still does not work:
>
> ...
> State: DISCONNECTED -> SCANNING
> Starting AP scan (broadcast SSID)
> Received 0 bytes of scan results (3 BSSes)
> Scan results: 3
> Selecting BSS from priority group 0
> 0: 00:14:a5:0e:eb:60 ssid='COME' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
>    skip - no WPA/RSN IE
> 1: 00:18:b9:2a:c4:50 ssid='OFFICE' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
>    skip - no WPA/RSN IE
> 2: 00:13:46:fe:c2:ff ssid='pmp' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
>    skip - no WPA/RSN IE
> No suitable AP found.
> Setting scan request: 5 sec 0 usec
> Starting AP scan (broadcast SSID)
> Received 0 bytes of scan results (1 BSSes)
> Scan results: 1
> Selecting BSS from priority group 0
> 0: 00:18:b9:2a:c4:50 ssid='OFFICE' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
>    skip - no WPA/RSN IE
> No suitable AP found.
> Setting scan request: 5 sec 0 usec
> ...
>
> any hints will be really appreciated.

-- 
/"\  Best regards,                      | mlaier_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Received on Tue Sep 19 2006 - 10:20:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC