我用的是从官方2.5.0.1编译出来的rt3070sta.ko,但是在扫描ssid的时候非常慢,要10几s才能扫描到。
不知道是什么原因造成的。
D/SettingsWifiEnabler( 1904): Received wifi state changed from Disabled to Enabling
[ 68.567345] rtusb init --->
[ 68.570018]
[ 68.570028]
[ 68.570032] === pAd = c5e02000, size = 500544 ===
[ 68.570040]
[ 68.577643] <-- RTMPAllocAdapterBlock, Status=0
[ 68.580516] ra0 (usb): not using net_device_ops yet
[ 68.588360] usbcore: registered new interface driver rt2870
D/WifiService( 1813): ACTION_BATTERY_CHANGED pluggedType: 0
E/WifiHW ( 1813): Unable to open connection to supplicant on "/data/system/wpa_supplicant/ra0": No such file or directory
D/SettingsWifiEnabler( 1904): Received wifi state changed from Enabling to Enabled
D/dalvikvm( 1904): GC freed 3541 objects / 215040 bytes in 102ms
E/SettingsWifiLayer( 1904): Unable to scan for networks
I/NotificationService( 1813): enqueueToast pkg=com.android.settings callback=android.app.ITransientNotification$Stub$Proxy@43d7ee60 duration=1
[ 73.846406] *******PHYS_OFFSET 50000000********
[ 73.846452] *******PHYS_UNRESERVED_SIZE 8000000********
[ 73.873170] <-- RTMPAllocTxRxRingMemory, Status=0
[ 73.905315] -->RTUSBVenderReset
[ 73.907291] <--RTUSBVenderReset
E/WifiHW ( 1813): Unable to open connection to supplicant on "/data/system/wpa_supplicant/ra0": No such file or directory
[ 77.243032] [handle_suspend_intr]: USB Bus Suspend (DSTS):0x1cd501
[ 77.430239] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 78.693605] Key1Str is Invalid key length(0) or Type(0)
[ 78.693792] Key2Str is Invalid key length(0) or Type(0)
[ 78.698646] Key3Str is Invalid key length(0) or Type(0)
[ 78.703821] Key4Str is Invalid key length(0) or Type(0)
[ 78.711243] 1. Phy Mode = 5
[ 78.711582] 2. Phy Mode = 5
[ 78.714360] NVM is Efuse and its size =2d[2d0-2fc]
E/WifiHW ( 1813): Unable to open connection to supplicant on "/data/system/wpa_supplicant/ra0": No such file or directory
[ 79.290347] hub 1-0:1.0: connect-debounce failed, port 2 disabled
E/SettingsWifiLayer( 1904): Unable to scan for networks
I/NotificationService( 1813): enqueueToast pkg=com.android.settings callback=android.app.ITransientNotification$Stub$Proxy@43d82130 duration=1
[ 79.927125] 3. Phy Mode = 9
[ 80.887130] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 80.939101] MCS Set = ff 00 00 00 01
[ 81.126171] <==== rt28xx_init, Status=0
[ 81.151116] 0x1300 = 00064300
[ 81.265178] hub 1-0:1.0: connect-debounce failed, port 2 disabled
I/wpa_supplicant( 1918): CTRL-EVENT-STATE-CHANGE id=-1 state=2
I/wpa_supplicant( 1918): CTRL-EVENT-SCAN-RESULTS Ready
[ 83.265206] hub 1-0:1.0: connect-debounce failed, port 2 disabled
D/WifiService( 1813): ACTION_BATTERY_CHANGED pluggedType: 0
W/ActivityManager( 1813): Unable to start service Intent { act=android.bluetooth.IBluetoothHeadset }: not found
E/BluetoothHeadset( 1813): Could not bind to Bluetooth Headset Service
V/WifiStateTracker( 1813): Connection to supplicant established, state=SCANNING
D/NetworkStateTracker( 1813): setDetailed state, old =IDLE and new state=SCANNING
D/ConnectivityService( 1813): ConnectivityChange for WIFI: DISCONNECTED/SCANNING
W/MobileDataStateTracker( 1813): Ignoring feature request because could not acquire PhoneService
W/MobileDataStateTracker( 1813): Could not enable APN type "default"
D/dalvikvm( 1813): GC freed 10013 objects / 523832 bytes in 138ms
D/GpsLocationProvider( 1813): updateNetworkState available info: NetworkInfo: type: WIFI[], state: DISCONNECTED/SCANNING, reason: (unspecified), extra: (none), roaming: e
D/GpsLocationProvider( 1813): NetworkThread wait for 9223372036854775807ms
[ 85.320170] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 86.699745] ===>rt_ioctl_giwscan. 2(2) BSS returned, data->length = 257
I/wpa_supplicant( 1918): CTRL-EVENT-SCAN-RESULTS Ready
[ 87.270189] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 89.265153] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 91.265140] hub 1-0:1.0: connect-debounce failed, port 2 disabled
I/wpa_supplicant( 1918): CTRL-EVENT-STATE-CHANGE id=-1 state=1
V/WifiMonitor( 1813): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
V/WifiStateTracker( 1813): Changing supplicant state: SCANNING ==> INACTIVE
D/NetworkStateTracker( 1813): setDetailed state, old =SCANNING and new state=IDLE
D/ConnectivityService( 1813): Dropping ConnectivityChange for WIFI: DISCONNECTED/IDLE
I/wpa_supplicant( 1918): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 1813): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 1813): Changing supplicant state: INACTIVE ==> SCANNING
D/NetworkStateTracker( 1813): setDetailed state, old =IDLE and new state=SCANNING
D/ConnectivityService( 1813): Dropping ConnectivityChange for WIFI: DISCONNECTED/SCANNING
[ 93.280198] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 95.265155] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 97.265160] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 98.724821] ===>rt_ioctl_giwscan. 2(2) BSS returned, data->length = 257
I/wpa_supplicant( 1918): CTRL-EVENT-SCAN-RESULTS Ready
[ 99.280174] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 101.265644] hub 1-0:1.0: connect-debounce failed, port 2 disabled
[ 103.265637] hub 1-0:1.0: connect-debounce failed, port 2 disabled
I/wpa_supplicant( 1918): CTRL-EVENT-STATE-CHANGE id=-1 state=1
V/WifiMonitor( 1813): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
V/WifiStateTracker( 1813): Changing supplicant state: SCANNING ==> INACTIVE
D/NetworkStateTracker( 1813): setDetailed state, old =SCANNING and new state=IDLE
D/ConnectivityService( 1813): Dropping ConnectivityChange for WIFI: DISCONNECTED/IDLE