Firefly开源社区

打印 上一主题 下一主题

[Linux] roc-rk3566-pc openwrt不能操作wifi进行扫描和创建热点

82

积分

0

威望

0

贡献

技术小白

积分
82

roc-rk3566-pc openwrt不能操作wifi进行扫描和创建热点

发表于 2022-3-4 15:57:34      浏览:5252 | 回复:1        打印      只看该作者   [复制链接] 楼主
roc-rk3566-pc openwrt不能操作wifi进行扫描和创建热点
回复

使用道具 举报

82

积分

0

威望

0

贡献

技术小白

积分
82
发表于 2022-3-4 17:01:40        只看该作者  沙发
root@OpenWrt:/#
root@OpenWrt:/# ff_wifi down
[  506.476663] [dhd-wlan0] wl_iw_event : Link Down with 08:e9:f6:38:af:18, reason=4
[  506.476721] [dhd-wlan0] wl_ext_iapsta_event : [A] Link down, reason=4
[  506.477757] [wlan0] tx queue stopped
[  506.477791] dhd_stop: Enter wlan0
[  506.477804] dhd_stop: ######### dhd_stop called for ifidx=0 #########
[  506.477820] dhd_stop: making dhdpub up FALSE
[  506.479175] [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[  506.479223] dhd_tcpack_suppress_set 382: already set to 0
[  506.479249] [dhd-wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[  506.480567] dhd_dbg_detach_pkt_monitor, 2100
[  506.480592] dhd_bus_devreset: == Power OFF ==
[  506.480813] dhd_bus_stop: making DHD_BUS_DOWN
[  506.480868] bcmsdh_oob_intr_unregister: Enter
[  506.480903] dhd_bus_devreset: making dhdpub up FALSE
[  506.480922] dhd_txglom_enable: enable 0
[  506.480935] dhd_bus_devreset: making DHD_BUS_DOWN
[  506.480948] dhd_bus_devreset:  WLAN OFF DONE
[  506.481015] wifi_platform_set_power = 0, delay: 0 msec
[  506.481035] ======== PULL WL_REG_ON(-1) LOW! ========
[  506.481047] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  506.481072] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  506.481085] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[  506.481096] [dhd-wlan0] wl_android_wifi_off : out
[  506.523901] dhd_stop: Exit wlan0
[  506.524291] br-lan: port 1(wlan0) entered disabled state
[  506.526125] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
root@OpenWrt:/# [  506.550697] device wlan0 left promiscuous mode
[  506.550819] br-lan: port 1(wlan0) entered disabled state
[  506.585180] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[  506.585654] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing

root@OpenWrt:/# ff_wifi set sta TP_3ECE 111222333
root@OpenWrt:/#
root@OpenWrt:/# ff_wifi set sta on
root@OpenWrt:/# ff_wifi up
[  567.172686] dhd_open: Enter wlan0
[  567.172742] dhd_open : no mutex held. set lock
[  567.172758]
[  567.172758] Dongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[  567.172779] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0
[  567.172788] wifi_platform_set_power = 1, delay: 200 msec
[  567.172799] ======== PULL WL_REG_ON(-1) HIGH! ========
[  567.172820] [WLAN_RFKILL]: rockchip_wifi_power: 1
[  567.172829] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  567.172842] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[  567.477196] sdio_reset_comm():
[  567.492867] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[  567.509807] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 100000Hz, actual 93750HZ div = 2)
[  567.562031] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[  567.568606] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[  567.575319] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[  567.587108] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[  567.600877] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[  567.958611] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 375000Hz, actual 375000HZ div = 0)
[  567.958801] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[  567.959030] sdioh_start: set sd_f2_blocksize 256
[  567.959690]
[  567.959690]
[  567.959690] dhd_bus_devreset: == Power ON ==
[  567.959958] F1 signature read @0x18000000=0x1541a9a6
[  567.965183] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[  567.966231] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[  567.966384] dhd_bus_devreset: making DHD_BUS_DOWN
[  567.966448] dhdsdio_probe_init: making DHD_BUS_DOWN
[  567.966699] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[  567.966726] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm43438a1.bin
[  567.966739] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram.txt
[  567.966750] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm43438a1.blob
[  567.966757] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[  567.967639] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm43438a1.bin (414579 bytes) open success
[  568.026095] dhd_os_open_image1: /vendor/etc/firmware/nvram.txt (2840 bytes) open success
[  568.026147] NVRAM version: AP6356S_NVRAM_V1.2_20170331
[  568.027008] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  568.145067] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[  568.145179] bcmsdh_oob_intr_register: HW_OOB irq=102 flags=0x4
[  568.146278] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[  568.146295] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[  568.146643] dhd_tcpack_suppress_set 382: already set to 0
[  568.147436] dhd_apply_default_clm: Ignore clm file /vendor/etc/firmware/clm_bcm43438a1.blob
[  568.150786] Firmware up: op_mode=0x0005, MAC=08:e9:f6:38:af:18
[  568.151565] Disable tdls_auto_op failed. -1
[  568.154752] dhd_preinit_ioctls Set scancache failed -23
[  568.155788] dhd_preinit_ioctls: event_log_max_sets: 26 ret: -23
[  568.169915]   Driver: 100.10.545.9 (r826445-20200316-8)
[  568.169915]   Firmware: wl0: Jun 13 2018 13:18:38 version 7.45.96.24 (7ffe8b7@shgit) (r) FWID 01-40f9deb0 es7.c5.n4.a3
[  568.169915]   CLM: 7.11.15 (2014-05-26 10:53:55)
[  568.170847] dhd_preinit_ioctls wlc_ver failed -23
[  568.171167] dhd_txglom_enable: enable 1
[  568.171176] [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[  568.171183] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[  568.171189] [dhd] dhd_conf_set_txglom_params : txinrx_thres=-1, dhd_txminmax=1
[  568.171195] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[  568.171210] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[  568.172626] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[  568.174769] dhd_pno_init: Support Android Location Service
[  568.211125] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[  568.211165] dhd_rtt_init : FTM is not supported
[  568.212242] dhd_rtt_ftm_config : failed to set config
[  568.215073] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[  568.215111] failed to get wnm_bsstrans_resp
[  568.216135] failed to set WNM capabilities
[  568.246064] dhd_preinit_ioctls: Failed to get preserve log # !
[  568.246568] [dhd] dhd_conf_set_country : set country CN, revision 0
[  568.251005] [dhd] dhd_conf_set_country : Country code: CN (CN/0)
[  568.257821] [dhd] CONFIG-ERROR) dhd_conf_set_intiovar : ampdu_mpdu setting failed -29
[  568.257858] [dhd-wlan0] wl_android_wifi_on : Success
[  568.296357] [dhd] CFG80211-ERROR) __wl_update_wiphybands : error reading vhtmode (-23)
[  568.312248] dhd_open : the lock is released.
[  568.312292] dhd_open: Exit wlan0 ret=0
[  568.312310] [wlan0] tx queue started
root@OpenWrt:/# [  568.414951] [wlan0] tx queue stopped
[  568.414987] dhd_stop: Enter wlan0
[  568.414995] dhd_stop: ######### dhd_stop called for ifidx=0 #########
[  568.415003] dhd_stop: making dhdpub up FALSE
[  568.417561] [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[  568.417792] dhd_tcpack_suppress_set 382: already set to 0
[  568.417814] [dhd-wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[  568.419171] dhd_dbg_detach_pkt_monitor, 2100
[  568.419188] dhd_bus_devreset: == Power OFF ==
[  568.419368] dhd_bus_stop: making DHD_BUS_DOWN
[  568.419410] bcmsdh_oob_intr_unregister: Enter
[  568.419444] dhd_bus_devreset: making dhdpub up FALSE
[  568.419459] dhd_txglom_enable: enable 0
[  568.419469] dhd_bus_devreset: making DHD_BUS_DOWN
[  568.419480] dhd_bus_devreset:  WLAN OFF DONE
[  568.419532] wifi_platform_set_power = 0, delay: 0 msec
[  568.419547] ======== PULL WL_REG_ON(-1) LOW! ========
[  568.419558] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  568.419578] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  568.419589] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[  568.419598] [dhd-wlan0] wl_android_wifi_off : out
[  568.457156] dhd_stop: Exit wlan0
[  568.580700] [dhd] CFG80211-ERROR) wl_cfg80211_add_virtual_iface : device is not ready
[  568.608637] dhd_open: Enter wlan0
[  568.608694] dhd_open : no mutex held. set lock
[  568.608710]
[  568.608710] Dongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[  568.608732] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0
[  568.608741] wifi_platform_set_power = 1, delay: 200 msec
[  568.608752] ======== PULL WL_REG_ON(-1) HIGH! ========
[  568.608759] [WLAN_RFKILL]: rockchip_wifi_power: 1
[  568.608768] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  568.608776] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[  568.914116] sdio_reset_comm():
[  568.929593] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[  568.946802] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 100000Hz, actual 93750HZ div = 2)
[  569.002184] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[  569.008924] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[  569.015664] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[  569.027856] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[  569.043694] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[  569.417271] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 375000Hz, actual 375000HZ div = 0)
[  569.417465] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[  569.417689] sdioh_start: set sd_f2_blocksize 256
[  569.418346]
[  569.418346]
[  569.418346] dhd_bus_devreset: == Power ON ==
[  569.418614] F1 signature read @0x18000000=0x1541a9a6
[  569.424196] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[  569.426192] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[  569.426505] dhd_bus_devreset: making DHD_BUS_DOWN
[  569.426655] dhdsdio_probe_init: making DHD_BUS_DOWN
[  569.427174] [dhd] dhd_conf_read_config : Ignore config file /vendor/etc/firmware/config.txt
[  569.427256] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm43438a1.bin
[  569.427285] [dhd] dhd_conf_set_path_params : Final nv_path=/vendor/etc/firmware/nvram.txt
[  569.427345] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm43438a1.blob
[  569.427397] [dhd] dhd_conf_set_path_params : Final conf_path=/vendor/etc/firmware/config.txt
[  569.428999] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm43438a1.bin (414579 bytes) open success
[  569.507093] dhd_os_open_image1: /vendor/etc/firmware/nvram.txt (2840 bytes) open success
[  569.507228] NVRAM version: AP6356S_NVRAM_V1.2_20170331
[  569.509258] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  569.628470] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[  569.628897] bcmsdh_oob_intr_register: HW_OOB irq=102 flags=0x4
[  569.629335] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[  569.629405] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[  569.631861] dhd_tcpack_suppress_set 382: already set to 0
[  569.633427] dhd_apply_default_clm: Ignore clm file /vendor/etc/firmware/clm_bcm43438a1.blob
[  569.638805] Firmware up: op_mode=0x0005, MAC=08:e9:f6:38:af:18
[  569.639990] Disable tdls_auto_op failed. -1
[  569.645473] dhd_preinit_ioctls Set scancache failed -23
[  569.646998] dhd_preinit_ioctls: event_log_max_sets: 26 ret: -23
[  569.669761]   Driver: 100.10.545.9 (r826445-20200316-8)
[  569.669761]   Firmware: wl0: Jun 13 2018 13:18:38 version 7.45.96.24 (7ffe8b7@shgit) (r) FWID 01-40f9deb0 es7.c5.n4.a3
[  569.669761]   CLM: 7.11.15 (2014-05-26 10:53:55)
[  569.671174] dhd_preinit_ioctls wlc_ver failed -23
[  569.671952] dhd_txglom_enable: enable 1
[  569.672010] [dhd] dhd_conf_set_txglom_params : txglom_mode=copy
[  569.672054] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0
[  569.672092] [dhd] dhd_conf_set_txglom_params : txinrx_thres=-1, dhd_txminmax=1
[  569.672131] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300
[  569.672178] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1
[  569.674775] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[  569.678653] dhd_pno_init: Support Android Location Service
[  569.715401] rtt_do_get_ioctl: failed to send getbuf proxd iovar (CMD ID : 1), status=-23
[  569.715478] dhd_rtt_init : FTM is not supported
[  569.716881] dhd_rtt_ftm_config : failed to set config
[  569.720737] dhd_wl_ioctl_get_intiovar: get int iovar wnm_bsstrans_resp failed, ERR -23
[  569.720811] failed to get wnm_bsstrans_resp
[  569.722149] failed to set WNM capabilities
[  569.760166] dhd_preinit_ioctls: Failed to get preserve log # !
[  569.760985] [dhd] dhd_conf_set_country : set country CN, revision 0
[  569.766083] [dhd] dhd_conf_set_country : Country code: CN (CN/0)
[  569.775118] [dhd] CONFIG-ERROR) dhd_conf_set_intiovar : ampdu_mpdu setting failed -29
[  569.775187] [dhd-wlan0] wl_android_wifi_on : Success
[  569.814701] [dhd] CFG80211-ERROR) __wl_update_wiphybands : error reading vhtmode (-23)
[  569.830157] dhd_open : the lock is released.
[  569.830178] dhd_open: Exit wlan0 ret=0
[  569.830185] [wlan0] tx queue started

root@OpenWrt:/# ifconfig[  580.121537] [dhd] CFG80211-ERROR) wl_set_tx_power : dBm=0, txpwrqdbm=0x0
[  580.141332] [dhd] CFG80211-ERROR) wl_cfg80211_add_if : Interface name wlan0 exists!

br-lan    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fd54:9d0b:acb::1/60 Scope:Global
          inet6 addr: fe80::ae9:f6ff:fe38:af18/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1594 (1.5 KiB)

eth0      Link encap:Ethernet  HWaddr 4A:7B:B3:03:8F:67  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:37

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:392 errors:0 dropped:0 overruns:0 frame:0
          TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:30504 (29.7 KiB)  TX bytes:30504 (29.7 KiB)

wlan0     Link encap:Ethernet  HWaddr 08:E9:F6:38:AF:18  
          inet6 addr: fe80::ae9:f6ff:fe38:af18/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:18948 (18.5 KiB)

root@OpenWrt:/# iwlist wlan0 scanning
wlan0     Interface doesn't[  s u5p9p1o.r16t8 4s5c7a]n n[idnhgd -:w lResource busy

rn0] AEXT-ERROR) wl_ext_check_scan : cfg80211 scanning...
oot@OpenWrt:/#
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表