A100 + 8723DS 安卓上面点击开WIFI, 发现并没有开起来,控制台提示这个错误信息
-
A100 + 8723DS 安卓上面点击开WIFI, 发现并没有开起来,控制台提示这个信息:
[ 1072.231005] sunxi-wlan soc@03000000:wlan@0: bus_index: 1 [ 1077.574935] init: Unable to set property 'wlan.driver.status' to 'timeout' from uid:1010 gid:1010 pid:5721: Property type check failed, value doesn't match expected type 'enum ok unloaded'
-
console:/ # ps |grep 5721 wifi 5721 1 13256 4144 binder_thread_read 0 S android.hardware.wifi@1.0-service-lazy
看了一下 5721 进程是 android.hardware.wifi@1.0-service-lazy
-
lsmod 发现并没有加载 8723ds.ko ,
但是手动加载是可以的。
-
把 out/ 目录删了,花2小时重新编译一次试一试。
-
在屏幕上面点击 wifi 启动按钮,
同时在命令行执行 insmod /vendor/modules/8723ds.ko发现控制台提示:
1|console:/ # [ 4830.998347] sunxi-wlan soc@03000000:wlan@0: bus_index: 1 insmod: failed to load /vendor/modules/8723ds.ko: File exists [ 4836.322256] init: Unable to set property 'wlan.driver.status' to 'timeout' from uid:1010 gid:1010 pid:5346: Property type check failed, value doesn't match expected type 'enum ok unloaded'
看来安卓系统也在同时 insmod 8723ds.ko ?说明执行了安装ko,但是没成功?
-
如果先在命令行先执行:
1|console:/ # insmod /vendor/modules/8723ds.ko [ 5624.751744] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
再在屏幕开启 wifi,那个按钮就迅速跳回原来的状态。
-
执行 *iw list 结果:
console:/ # iw list Wiphy phy24 max # scan SSIDs: 9 max scan IEs length: 2304 bytes max # sched scan SSIDs: 0 max # match sets: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP (00-0f-ac:4) Available Antennas: TX 0 RX 0 Supported interface modes: * IBSS * managed * AP * P2P-client * P2P-GO Band 1: Bitrates (non-HT): * 1.0 Mbps * 2.0 Mbps * 5.5 Mbps * 11.0 Mbps * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) (no IR) * 2472 MHz [13] (20.0 dBm) (no IR) * 2484 MHz [14] (disabled) Supported commands: * new_interface * set_interface * new_key * start_ap * new_station * set_bss * join_ibss * set_pmksa * del_pmksa * flush_pmksa * remain_on_channel * frame * set_channel * connect * disconnect Supported TX frame types: * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types: * IBSS: 0xd0 * managed: 0x40 0xd0 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-client: 0x40 0xd0 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 WoWLAN support: * wake up on anything (device continues operating normally) software interface modes (can always be added): interface combinations are not supported Device supports scan flush. Wiphy phy23 max # scan SSIDs: 9 max scan IEs length: 2304 bytes max # sched scan SSIDs: 0 max # match sets: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP (00-0f-ac:4) Available Antennas: TX 0 RX 0 Supported interface modes: * IBSS * managed * AP Band 1: Bitrates (non-HT): * 1.0 Mbps * 2.0 Mbps * 5.5 Mbps * 11.0 Mbps * 6.0 Mbps * 9.0 Mbps * 12.0 Mbps * 18.0 Mbps * 24.0 Mbps * 36.0 Mbps * 48.0 Mbps * 54.0 Mbps Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) (no IR) * 2472 MHz [13] (20.0 dBm) (no IR) * 2484 MHz [14] (disabled) Supported commands: * new_interface * set_interface * new_key * start_ap * new_station * set_bss * join_ibss * set_pmksa * del_pmksa * flush_pmksa * remain_on_channel * frame * set_channel * connect * disconnect Supported TX frame types: * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types: * IBSS: 0xd0 * managed: 0x40 0xd0 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 * P2P-client: 0x40 0xd0 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0 WoWLAN support: * wake up on anything (device continues operating normally) software interface modes (can always be added): interface combinations are not supported Device supports scan flush. console:/ #
up网卡wlan0:
console:/ # console:/ # ifconfig wlan0 up [ 7245.956020] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready console:/ #
扫描热点:
console:/ # iw wlan0 scan BSS 30:b2:37:7e:a5:89(on wlan0) TSF: 7251149191 usec (0d, 02:00:51) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431) signal: -63.00 dBm last seen: 3 ms ago SSID: midea_ca_0356 Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 DS Parameter set: channel 1 Country: US Environment: Indoor/Outdoor Channels [1 - 11] @ 30 dBm ERP: <no flags> Extended supported rates: 24.0 36.0 48.0 54.0 HT capabilities: Capabilities: 0x120 HT20 Static SM Power Save RX HT20 SGI RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 16383 bytes (exponent: 0x001) Minimum RX AMPDU time spacing: No restriction (0x00) HT RX MCS rate indexes supported: 0-7 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: nonmember * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec BSS 70:95:40:7f:7a:fa(on wlan0) TSF: 7251149208 usec (0d, 02:00:51) freq: 2412 beacon interval: 100 TUs capability: ESS Privacy ShortSlotTime (0x0411) signal: -63.00 dBm last seen: 3 ms ago SSID: USER_200411 Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 DS Parameter set: channel 1 ERP: <no flags> Extended supported rates: 24.0 36.0 48.0 54.0 HT capabilities: Capabilities: 0x19ee HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 16 usec (0x07) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 63041253-1019-2006-1228-00017301ffff * Manufacturer: Realtek Semiconductor Corp. * Model: RTL8xxx * Model Number: EV-2010-09-20 * Serial Number: 123456789012347 * Primary Device Type: 6-0050f204-1 * Device name: RTK_AP * Config methods: Display * RF Bands: 0x3 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 Extended capabilities: BSS 70:85:40:7f:7a:fa(on wlan0) TSF: 7251149214 usec (0d, 02:00:51) freq: 2412 beacon interval: 100 TUs capability: ESS ShortSlotTime (0x0401) signal: -62.00 dBm last seen: 3 ms ago Information elements from Probe Response frame: SSID: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 DS Parameter set: channel 1 TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0 ERP: Barker_Preamble_Mode Extended supported rates: 24.0 36.0 48.0 54.0 HT capabilities: Capabilities: 0x19ee HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 7935 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT RX MCS rate indexes supported: 0-15 HT TX MCS rate indexes are undefined HT operation: * primary channel: 1 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 180 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % WMM: * Parameter version 1 * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Extended capabilities: HT Information Exchange Supported BSS 38:22:e2:77:90:35(on wlan0) TSF: 7251149221 usec (0d, 02:00:51) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x0511) signal: -47.00 dBm last seen: 3 ms ago SSID: DIRECT-33-HP DeskJet 2600 series Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 11 Power constraint: 0 dB TPC report: TX power: 17 dBm ERP: Use_Protection ERP D4.0: Use_Protection RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) HT capabilities: Capabilities: 0x20 HT20 Static SM Power Save RX HT20 SGI No RX STBC Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 32767 bytes (exponent: 0x002) Minimum RX AMPDU time spacing: 8 usec (0x06) HT RX MCS rate indexes supported: 0-7 HT TX MCS rate indexes are undefined HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: non-HT mixed * non-GF present: 0 * OBSS non-GF present: 1 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 WMM: * Parameter version 1 * u-APSD * BE: CW 15-63, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 1, TXOP 3008 usec * VO: CW 3-7, AIFSN 1, TXOP 1504 usec WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * AP setup locked: 0x01 * Selected Registrar: 0x0 * Response Type: 3 (AP) * UUID: 5d4d1c5b-e691-fd89-aa14-5d03ae1a2fec * Manufacturer: HP * Model: 0 * Model Number: 0 * Serial Number: 0 * Primary Device Type: 3-0050f204-5 * Device name: DIRECT-33-HP DeskJet 2600 series * Config methods: * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 * Unknown TLV (0x1049, 23 bytes): 00 01 37 10 06 00 10 5d 4d 1c 5b e6 91 fd 89 aa 14 5d 03 ae 1a 2f ec BSS e4:26:8b:89:a9:f8(on wlan0) TSF: 7251149227 usec (0d, 02:00:51) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431) signal: -67.00 dBm last seen: 3 ms ago SSID: whycan.com Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 DS Parameter set: channel 11 TPC report: TX power: 30 dBm ERP: NonERP_Present Use_Protection RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Extended supported rates: 24.0 36.0 48.0 54.0 BSS Load: * station count: 7 * channel utilisation: 91/255 * available admission capacity: 0 [*32us] HT capabilities: Capabilities: 0x1ed RX LDPC HT20 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT TX/RX MCS rate indexes supported: 0-15 HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: nonmember * non-GF present: 1 * OBSS non-GF present: 1 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % Extended capabilities: HT Information Exchange Supported, BSS Transition, 6 VHT capabilities: VHT Capabilities (0x02810991): Max MPDU length: 7991 Supported Channel Width: neither 160 nor 80+80 RX LDPC TX STBC SU Beamformer VHT RX MCS set: 1 streams: MCS 0-8 2 streams: MCS 0-8 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 173 Mbps VHT TX MCS set: 1 streams: MCS 0-8 2 streams: MCS 0-8 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 173 Mbps VHT operation: * channel width: 0 (20 or 40 MHz) * center freq segment 1: 11 * center freq segment 2: 0 * VHT basic MCS set: 0xfff5 WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: 9f2e0266-fbd5-5df5-b8b1-9fc3b8a97f24 * Manufacturer: Huawei Technology Co.,Ltd * Model: Wireless AP * Model Number: 123 * Serial Number: 12345 * Primary Device Type: 6-0050f204-1 * Device name: WS5281-10 * Config methods: Label, PBC * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 BSS e4:26:8b:89:a9:fd(on wlan0) TSF: 7251149233 usec (0d, 02:00:51) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431) signal: -58.00 dBm last seen: 3 ms ago Information elements from Probe Response frame: SSID: Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 DS Parameter set: channel 11 TIM: DTIM Count 0 DTIM Period 2 Bitmap Control 0x0 Bitmap[0] 0x0 TPC report: TX power: 30 dBm ERP: NonERP_Present Use_Protection RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Extended supported rates: 24.0 36.0 48.0 54.0 BSS Load: * station count: 0 * channel utilisation: 91/255 * available admission capacity: 0 [*32us] HT capabilities: Capabilities: 0x1ed RX LDPC HT20 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT TX/RX MCS rate indexes supported: 0-15 HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: nonmember * non-GF present: 0 * OBSS non-GF present: 1 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % Extended capabilities: HT Information Exchange Supported, 6 VHT capabilities: VHT Capabilities (0x02810991): Max MPDU length: 7991 Supported Channel Width: neither 160 nor 80+80 RX LDPC TX STBC SU Beamformer VHT RX MCS set: 1 streams: MCS 0-8 2 streams: MCS 0-8 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 173 Mbps VHT TX MCS set: 1 streams: MCS 0-8 2 streams: MCS 0-8 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 173 Mbps VHT operation: * channel width: 0 (20 or 40 MHz) * center freq segment 1: 11 * center freq segment 2: 0 * VHT basic MCS set: 0xfff5 BSS d8:a4:91:84:63:58(on wlan0) TSF: 7251149240 usec (0d, 02:00:51) freq: 2462 beacon interval: 100 TUs capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431) signal: -77.00 dBm last seen: 3 ms ago Information elements from Probe Response frame: SSID: whycan.com Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 DS Parameter set: channel 11 Country: CN Environment: Indoor/Outdoor Channels [1 - 13] @ 27 dBm TPC report: TX power: 30 dBm ERP: NonERP_Present Use_Protection RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec Extended supported rates: 24.0 36.0 48.0 54.0 BSS Load: * station count: 3 * channel utilisation: 82/255 * available admission capacity: 0 [*32us] HT capabilities: Capabilities: 0x51ed RX LDPC HT20 SM Power Save disabled RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 40 MHz Intolerant Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 4 usec (0x05) HT TX/RX MCS rate indexes supported: 0-15 HT operation: * primary channel: 11 * secondary channel offset: no secondary * STA channel width: 20 MHz * RIFS: 0 * HT protection: nonmember * non-GF present: 1 * OBSS non-GF present: 1 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 Overlapping BSS scan params: * passive dwell: 20 TUs * active dwell: 10 TUs * channel width trigger scan interval: 300 s * scan passive total per channel: 200 TUs * scan active total per channel: 20 TUs * BSS width channel transition delay factor: 5 * OBSS Scan Activity Threshold: 0.25 % Extended capabilities: HT Information Exchange Supported, BSS Transition WPS: * Version: 1.0 * Wi-Fi Protected Setup State: 2 (Configured) * Response Type: 3 (AP) * UUID: e3811aaf-2d00-5515-b4de-fe9c4018ace7 * Manufacturer: Huawei Technology Co.,Ltd * Model: Wireless AP * Model Number: 123 * Serial Number: 12345 * Primary Device Type: 6-0050f204-1 * Device name: PT8021-10 * Config methods: Label, PBC * RF Bands: 0x1 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20 console:/ #
-
按下wifi使能按钮之后logcat 日志:
130|console:/ # 130|console:/ # logcat -c console:/ # logcat [ 8585.702223] logd: logdr: UID=0 GID=0 PID=29922 b tail=0 logMask=19 pid=0 start=0ns timeout=0ns --------- beginning of main 03-26 19:37:00.003 5374 5374 D KeyguardClockSwitch: Updating clock: 737 03-26 19:37:25.316 1818 1818 E AW_PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies: No such file or directory 03-26 19:37:25.316 1818 1818 E AW_PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies: No such file or directory 03-26 19:37:25.383 6294 6294 W SettingsMetricsFeature: action(Pair<Integer, Object>... taggedData) is deprecated, Use action(int, int, int, String, int) instead. 03-26 19:37:25.385 2326 2635 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true 03-26 19:37:25.385 2326 5226 D WifiController: StaEnabledState.enter() 03-26 19:37:25.386 2326 5227 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=0 what=0 target=com.android.internal.util.StateMachine$SmHandler } 03-26 19:37:25.386 2326 5227 D WifiActiveModeWarden: Switching from WifiDisabledState to ClientMode 03-26 19:37:25.386 2326 5227 D WifiActiveModeWarden: Entering ClientModeActiveState 03-26 19:37:25.387 2326 5227 D WifiClientModeManager: entering IdleState 03-26 19:37:25.387 2326 5227 D WifiActiveModeWarden: State changed from client mode. state = 2 03-26 19:37:25.396 2326 2326 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false 03-26 19:37:25.399 1808 8018 D audio_hw_primary: start_output_stream 03-26 19:37:25.400 1808 8018 V audio_platform: disable backend pcm(direction:PCM_OUT) 03-26 19:37:25.400 1808 8018 D audio_route: Apply path: out-reset 03-26 19:37:25.400 1808 8018 V audio_platform: mode(0),devices(0x2):platform device:OUT_SPK(0x3) 03-26 19:37:25.400 1808 8018 D audio_route: Apply path: media-single-speaker 03-26 19:37:25.400 1808 8018 D audio_hw_primary: select device(out):pdev:OUT_SPK, path:media-single-speaker 03-26 19:37:25.400 1808 8018 V audio_platform: mode(0),devices(0x2):platform device:OUT_SPK(0x3) 03-26 19:37:25.400 1808 8018 D audio_hw_primary: +++++++++++++++ start_output_stream: pcm sample_rate: 48000,pcm fmt: 0x00000000,pcm channels: 2 03-26 19:37:25.494 1826 2002 D AudioFlinger: mixer(0xec9cff40) throttle end: throttle time(9) [ 8589.048320] sunxi-wlan soc@03000000:wlan@0: bus_index: 1 03-26 19:37:27.025 2326 2348 D EthernetNetworkFactoryExt: interfaceAdded: iface = wlan0 03-26 19:37:27.025 2326 5360 I EthernetTracker: maybeTrackInterface wlan0 03-26 19:37:27.028 2326 5212 W BestClock: java.time.DateTimeException: Missing NTP fix 03-26 19:37:27.036 2326 2348 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false 03-26 19:37:27.038 2326 2348 D EthernetNetworkFactoryExt: interfaceLinkStateChanged: iface = wlan0, up = false 03-26 19:37:27.039 2326 2348 D EthernetNetworkFactoryExt: interfaceAdded: iface = wlan1 03-26 19:37:27.039 2326 5360 I EthernetTracker: maybeTrackInterface wlan1 03-26 19:37:27.049 2326 2348 I EthernetTracker: interfaceLinkStateChanged, iface: wlan1, up: false 03-26 19:37:27.050 2326 2348 D EthernetNetworkFactoryExt: interfaceLinkStateChanged: iface = wlan1, up = false 03-26 19:37:27.057 1804 5366 I netd : trafficSwapActiveStatsMap() <27.20ms> 03-26 19:37:27.064 1804 5366 I netd : tetherGetStats() <4.73ms> 03-26 19:37:27.081 2326 5212 W BestClock: java.time.DateTimeException: Missing NTP fix 03-26 19:37:27.087 2326 5214 W BestClock: java.time.DateTimeException: Missing NTP fix 03-26 19:37:28.631 1808 1870 D audio_hw_primary: out_standby --------- beginning of system [ 8594.444177] init: Unable to set property 'wlan.driver.status' to 'timeout' from uid:1010 gid:1010 pid:5346: Property type check failed, value doesn't match expected type 'enum ok unloaded' 03-26 19:37:31.066 5346 5346 I android.hardware.wifi@1.0-service-lazy: Timeout, register net device wlan0/p2p0 failed. 03-26 19:37:31.089 5346 5346 W libc : Unable to set property "wlan.driver.status" to "timeout": error code: 0x14 03-26 19:37:31.119 2326 2348 D EthernetNetworkFactoryExt: interfaceRemoved: iface = wlan0 03-26 19:37:31.119 2326 5360 D EthernetNetworkFactory: updateCapabilityFilter: [ Transports: ETHERNET Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&NOT_CONGESTED LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps] 03-26 19:37:31.119 2326 5360 D EthernetNetworkFactory: acceptRequest, request: NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], score: 0 03-26 19:37:31.120 2326 5360 I EthernetNetworkFactory: networkForRequest, request: NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], network: NetworkInterfaceState{ refCount: 2, iface: eth0, up: false, hwAddress: 36:c9:e3:f1:b8:05, networkInfo: [type: Ethernet[], state: DISCONNECTED/IDLE, reason: (unspecified), extra: (none), failover: false, available: false, roaming: false], networkCapabilities: [ Transports: ETHERNET Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&NOT_CONGESTED LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps], networkAgent: null, score: 0, ipClient: null,linkProperties: {LinkAddresses: [ ] DnsAddresses: [ ] Domains: null MTU: 0 Routes: [ ]}} 03-26 19:37:31.120 2326 5360 D EthernetNetworkFactory: acceptRequest, request: NetworkRequest [ REQUEST id=10, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], score: 0 03-26 19:37:31.120 2326 5360 I EthernetNetworkFactory: networkForRequest, request: NetworkRequest [ REQUEST id=10, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], network: NetworkInterfaceState{ refCount: 2, iface: eth0, up: false, hwAddress: 36:c9:e3:f1:b8:05, networkInfo: [type: Ethernet[], state: DISCONNECTED/IDLE, reason: (unspecified), extra: (none), failover: false, available: false, roaming: false], networkCapabilities: [ Transports: ETHERNET Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&NOT_CONGESTED LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps], networkAgent: null, score: 0, ipClient: null,linkProperties: {LinkAddresses: [ ] DnsAddresses: [ ] Domains: null MTU: 0 Routes: [ ]}} 03-26 19:37:31.124 2326 5212 W BestClock: java.time.DateTimeException: Missing NTP fix 03-26 19:37:31.143 1804 5366 I netd : trafficSwapActiveStatsMap() <17.98ms> 03-26 19:37:31.149 1804 5366 I netd : tetherGetStats() <4.44ms> 03-26 19:37:31.165 2326 5212 W BestClock: java.time.DateTimeException: Missing NTP fix 03-26 19:37:31.168 2326 5214 W BestClock: java.time.DateTimeException: Missing NTP fix 03-26 19:37:31.219 2326 2348 D EthernetNetworkFactoryExt: interfaceRemoved: iface = wlan1 03-26 19:37:31.219 2326 5360 D EthernetNetworkFactory: updateCapabilityFilter: [ Transports: ETHERNET Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&NOT_CONGESTED LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps] 03-26 19:37:31.220 2326 5360 D EthernetNetworkFactory: acceptRequest, request: NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], score: 0 03-26 19:37:31.220 2326 5360 I EthernetNetworkFactory: networkForRequest, request: NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], network: NetworkInterfaceState{ refCount: 2, iface: eth0, up: false, hwAddress: 36:c9:e3:f1:b8:05, networkInfo: [type: Ethernet[], state: DISCONNECTED/IDLE, reason: (unspecified), extra: (none), failover: false, available: false, roaming: false], networkCapabilities: [ Transports: ETHERNET Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&NOT_CONGESTED LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps], networkAgent: null, score: 0, ipClient: null,linkProperties: {LinkAddresses: [ ] DnsAddresses: [ ] Domains: null MTU: 0 Routes: [ ]}} 03-26 19:37:31.221 2326 5360 D EthernetNetworkFactory: acceptRequest, request: NetworkRequest [ REQUEST id=10, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], score: 0 03-26 19:37:31.221 2326 5360 I EthernetNetworkFactory: networkForRequest, request: NetworkRequest [ REQUEST id=10, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], network: NetworkInterfaceState{ refCount: 2, iface: eth0, up: false, hwAddress: 36:c9:e3:f1:b8:05, networkInfo: [type: Ethernet[], state: DISCONNECTED/IDLE, reason: (unspecified), extra: (none), failover: false, available: false, roaming: false], networkCapabilities: [ Transports: ETHERNET Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&NOT_CONGESTED LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps], networkAgent: null, score: 0, ipClient: null,linkProperties: {LinkAddresses: [ ] DnsAddresses: [ ] Domains: null MTU: 0 Routes: [ ]}} 03-26 19:37:31.440 5346 5346 E android.hardware.wifi@1.0-service-lazy: Failed to load WiFi driver 03-26 19:37:31.440 5346 5346 E android.hardware.wifi@1.0-service-lazy: Failed to initialize firmware mode controller 03-26 19:37:31.440 5346 5346 E android.hardware.wifi@1.0-service-lazy: Wifi HAL start failed 03-26 19:37:31.441 2326 5227 E HalDevMgr: Cannot start IWifi: 9 () 03-26 19:37:31.441 2326 5298 E HalDevMgr: IWifiEventCallback.onFailure: 9 () 03-26 19:37:31.441 2326 5227 E WifiVendorHal: Failed to start vendor HAL 03-26 19:37:31.441 2326 5227 E WifiNative: Failed to start vendor HAL 03-26 19:37:31.441 2326 5227 E WifiNative: Failed to start Hal 03-26 19:37:31.441 2326 5227 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle 03-26 19:37:31.445 2326 5227 D WifiActiveModeWarden: State changed from client mode. state = 4 03-26 19:37:31.445 2326 5227 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1 03-26 19:37:31.446 2326 5227 E WifiNative: Could not get Iface object for interface null 03-26 19:37:31.446 2326 2326 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false 03-26 19:37:31.448 2326 5227 D WifiActiveModeWarden: ClientMode failed, return to WifiDisabledState. 03-26 19:37:31.449 2326 5227 D WifiController: ClientMode unexpected failure: state unknown 03-26 19:37:31.452 2326 5227 D WifiClientModeManager: currentstate: IdleState 03-26 19:37:31.453 2326 5254 I WifiScanningService: wifi driver unloaded 03-26 19:37:31.453 2326 5227 D WifiScanRequestProxy: Sending scan available broadcast: false 03-26 19:37:31.456 2326 5227 I WifiScanRequestProxy: Scanning is disabled 03-26 19:37:31.457 2326 5227 D WifiActiveModeWarden: Entering WifiDisabledState 03-26 19:37:31.459 2326 5227 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=-8ms what=3 target=com.android.internal.util.StateMachine$SmHandler } 03-26 19:37:31.460 2326 5227 D WifiActiveModeWarden: Switching from WifiDisabledState to WifiDisabled 03-26 19:37:31.460 2326 5227 D WifiActiveModeWarden: Entering WifiDisabledState 03-26 19:37:31.460 2326 5227 E WifiNative: Could not get Iface object for interface null
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号