ndis and USB wirelless ethernet

Nikos Vassiliadis nvass9573 at gmx.com
Fri Jul 3 15:49:38 UTC 2009


Hello Weongyo & net,

I did some tests with an AP. The bad news is that I am
getting random crashes. At least I cannot relate them
to something... It just stops responding, I cannot break
to the debugger. Would I try another driver? there are
3 versions if I recall correctly on the vendor's site.

Something strange I've noticed, is that if I set the ssid
before setting the interface to "up" state, it does not
associate with the AP.

ifconfig wlan0 down
ifconfig wlan0 ssid barba
ifconfig wlan0 up

 > Setting BSSID to 00:1b:2f:be:78:aa
 > ndis_newstate: INIT -> SCAN
 > ndis0: link state changed to DOWN
 > ndis0: link state changed to UP
 > ndis_scan_results: 4 results
 > scan: bssid 00:1c:a2:b2:4e:e5 chan 2412MHz (1/1152) rssi 25
 > scan: bssid 00:13:33:07:90:90 chan 2442MHz (7/1152) rssi 75
 > scan: bssid 00:05:59:0a:b7:c1 chan 2437MHz (6/1152) rssi 60
 > scan: bssid 00:1a:4f:20:dc:4a chan 2437MHz (6/1152) rssi 6
 > wlan0: ieee80211_new_state_locked: pending SCAN -> RUN transition lost
 > ndis_newstate: SCAN -> AUTH
 > Setting BSSID to 00:1b:2f:be:78:aa
 > Setting BSSID to ff:ff:ff:ff:ff:ff
 > Setting ESSID to "barba"
 > ndis_newstate: AUTH -> ASSOC

If if delete the ssid, and "up" the interface, it
associates:

 > Setting BSSID to 00:1b:2f:be:78:aa
 > ndis_newstate: INIT -> SCAN
 > ndis0: link state changed to DOWN
 > ndis_scan_results: 4 results
 > scan: bssid 00:13:33:07:90:90 chan 2442MHz (7/1152) rssi 73
 > scan: bssid 00:1c:a2:b2:4e:e5 chan 2412MHz (1/1152) rssi 15
 > scan: bssid 00:1a:4f:20:dc:4a chan 2437MHz (6/1152) rssi 7
 > scan: bssid 00:05:59:0a:b7:c1 chan 2437MHz (6/1152) rssi 54
 > ndis_newstate: SCAN -> AUTH
 > Setting BSSID to 00:1b:2f:be:78:aa
 > Setting BSSID to ff:ff:ff:ff:ff:ff
 > Setting ESSID to "barba"
 > ndis_newstate: AUTH -> ASSOC
 > ndis_newstate: ASSOC -> RUN
 > ndis0: link state changed to UP

If you have some idea, I would be happy to test it.

Thanks, Nikos


More information about the freebsd-net mailing list