root@TinaLinux:/mnt/UDISK# insmod aic8800_bsp.ko
[ 38.167214] aicbsp_init
[ 38.170146] RELEASE_DATE:2024_0914_ad9d7749
[ 38.174978] aicbsp_resv_mem_init
root@TinaLinux:/mnt/UDISK# insmod aic8800_fdrv.ko
[ 42.611009] AICWFDBG(LOGTRACE) >>> rwnx_mod_init()
[ 42.616471] AICWFDBG(LOGINFO) rwnx v6.4.3.0 - - 241c091M (master)
[ 42.623322] AICWFDBG(LOGINFO) RELEASE_DATE:2024_0914_ad9d7749
[ 42.629960] AICWFDBG(LOGTRACE) rwnx_init_cmd_array Enter
[ 42.636131] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[0]:a97386e8
[ 42.643850] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[1]:816dd046
[ 42.651559] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[2]:a4df5e41
[ 42.659280] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[3]:0e391626
[ 42.666999] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[4]:89195abe
[ 42.674717] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[5]:10450b6d
[ 42.682436] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[6]:bb136311
[ 42.690145] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[7]:91b45439
[ 42.697871] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[8]:0bc294b1
[ 42.705592] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[9]:11d8e768
[ 42.713309] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[10]:51f87f41
[ 42.721116] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[11]:28d9570b
[ 42.728932] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[12]:4e425012
[ 42.736752] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[13]:dc1f0d80
[ 42.744579] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[14]:63776d09
[ 42.752401] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[15]:16d17bc4
[ 42.760208] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[16]:9f5e35af
[ 42.768026] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[17]:2c69b4f5
[ 42.775843] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[18]:6c6c99a7
[ 42.783658] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[19]:526176b4
[ 42.791464] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[20]:41e6fceb
[ 42.799286] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[21]:a6c8f617
[ 42.807104] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[22]:490997c9
[ 42.814919] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[23]:b4c0af91
[ 42.822736] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[24]:ef0a52d8
[ 42.830542] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[25]:97a1434f
[ 42.838358] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[26]:e952635d
[ 42.846174] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[27]:00e30592
[ 42.853989] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[28]:a8784a44
[ 42.861805] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[29]:6df42f23
[ 42.869611] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[30]:1877147f
[ 42.877430] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[31]:a8612c81
[ 42.885253] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[32]:b84c5331
[ 42.893077] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[33]:8e6830a6
[ 42.900883] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[34]:fb93338c
[ 42.908701] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[35]:7fa96c82
[ 42.916518] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[36]:4b8fbd49
[ 42.924333] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[37]:f2600f97
[ 42.932149] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[38]:29af9a9d
[ 42.939956] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[39]:eac856f9
[ 42.947771] AICWFDBG(LOGTRACE) rwnx_init_cmd_array Exit
[ 42.953833] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[ 42.960957] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[ 42.969161] aicbsp: aicbsp_platform_power_on
[ 42.973961] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 43.040322] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 43.097519] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.108760] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 43.128918] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.153965] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
[ 43.161629] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
[ 43.168486] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.183077] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.201308] mmc0: queuing unknown CIS tuple 0x10 (5 bytes)
[ 43.212779] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.224725] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 43.236756] mmc0: queuing unknown CIS tuple 0x10 (5 bytes)
[ 43.244388] mmc0: new SDIO card at address 76bb
[ 43.272064] aicbsp: aicbsp_sdio_probe:1 vid:0xC8A1 did:0xC08D
[ 43.282955] aicbsp: aicbsp_sdio_probe:2 vid:0xC8A1 did:0xC18D
[ 43.289505] aicbsp: aicbsp_sdio_probe after replace:1
[ 43.295255] AICWFDBG(LOGINFO) aicwf_sdio_chipmatch USE AIC8800DC
[ 43.302110] the device is PRODUCT_ID_AIC8800DC
[ 43.307198] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[ 43.314428] aicbsp: aicwf_sdio_reg_init
[ 43.318949] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 43.330990] aicbsp: Set SDIO Clock 50 MHz
[ 43.337021] AICWFDBG(LOGINFO) btenable = 1
[ 43.342044] AICWFDBG(LOGINFO) IS_CHIP_ID_H
[ 43.346917] AICWFDBG(LOGINFO) aicbsp: aicbsp_driver_fw_init, chip rev: 7
[ 43.354498] rwnx_load_firmware :firmware path = /etc/fw_patch_table_8800dc_u02h.bin
[ 43.396454] file md5:43ecb08df5fe83ad0ffe0dbab53ef837
[ 43.402387] AICWFDBG(LOGDEBUG) aicbt_patch_info_unpack head_t->len:4 base_len:4
[ 43.410806] AICWFDBG(LOGDEBUG) aicbt_patch_info_unpack memcpy_len:4
[ 43.418050] AICWFDBG(LOGDEBUG) aicbt_patch_info_unpack adid_addrinf:10dc94 addr_adid:100f60
[ 43.427633] rwnx_plat_bin_fw_upload_android
[ 43.432333] rwnx_load_firmware :firmware path = /etc/fw_adid_8800dc_u02h.bin
[ 43.440671] file md5:f00fbd9fe6509b786018967936203dd3
[ 43.447177] rwnx_plat_bin_fw_upload_android
[ 43.451984] rwnx_load_firmware :firmware path = /etc/fw_patch_8800dc_u02h.bin
[ 43.460659] file md5:1fa2f80f0b6b7b22338b9c3533d69883
[ 43.475588] aicbt_patch_table_load bt btmode[1]:1
[ 43.481061] aicbt_patch_table_load bt uart_baud[1]:1500000
[ 43.487424] aicbt_patch_table_load bt uart_flowctrl[1]:1
[ 43.493583] aicbt_patch_table_load bt lpm_enable[1]:0
[ 43.499440] aicbt_patch_table_load bt tx_pwr[1]:28463
[ 43.509074] aicbsp: bt patch version: - Jul 11 2024 10:36:50 - git 7b2cd39
[ 43.516901] ############ aicwifi_init begin
[ 43.522112] AICWFDBG(LOGINFO) chip_id=c7, chip_sub_id=2!!
[ 43.528357] AICWFDBG(LOGDEBUG) set_bbpll_config rd_mem_addr_cfm.memdata:8
[ 43.536189] AICWFDBG(LOGINFO) set_bbpll_config Crystal not provided by CPU
[ 43.544311] AICWFDBG(LOGDEBUG) [0x40500010]=6
[ 43.553979] ############ system_config_8800dc done
[ 43.559352] AICWFDBG(LOGTRACE) >>> rwnx_plat_patch_load()
[ 43.565424] AICWFDBG(LOGINFO) testmode=0
[ 43.569819] AICWFDBG(LOGINFO) rwnx_plat_patch_loading
[ 43.575489] h_u02 is loaing ###############
[ 43.580176] rwnx_plat_bin_fw_upload_android
[ 43.584873] rwnx_load_firmware :firmware path = /etc/fmacfw_patch_8800dc_h_u02.bin
[ 43.594170] file md5:9ace5e22880dc408045ad1f5c889271b
[ 43.606152] AICWFDBG(LOGINFO) dpd calib & write
[ 43.611239] aicwf_dpd_calib_8800dc
[ 43.615279] AICWFDBG(LOGERROR) misc_ram_addr=120ebc
[ 43.621480] AICWFDBG(LOGTRACE) bit_mask:aef414e2,b0a4bf37,7fc4d938,6d8ab0c9
[ 43.629311] rwnx_plat_bin_fw_upload_android
[ 43.634018] rwnx_load_firmware :firmware path = /etc/fmacfw_calib_8800dc_h_u02.bin
[ 43.643460] file md5:342855cf657b97dcb97594f4f4a1cbee
[ 43.657148] AICWFDBG(LOGINFO) Start app: 00130009, 4
[ 43.923171] ############ rwnx_plat_patch_load done
[ 43.929287] AICWFDBG(LOGINFO) wifisetting_cfg_addr=11019c, ldpc_cfg_addr=120980, agc_cfg_addr=120180, txgain_cfg_addr=120000
[ 43.943970] ### Upload fmacfw_patch_tbl_8800dc_h_u02.bin
[ 43.950028] rwnx_load_firmware :firmware path = /etc/fmacfw_patch_tbl_8800dc_h_u02.bin
[ 43.959339] file md5:a5731a82178f302b3c7744a6417ae9be
[ 43.965121] tbl size = 720
[ 43.968249] AICWFDBG(LOGINFO) FMACFW_PATCH_TBL_8800DC_U02_DESCRIBE_BASE = 187c00
[ 43.976930] di Aug 05 2024 12:22:48 - g640d25c
[ 43.976936] patch_tbl: 110890 180c75
[ 43.986343] patch_tbl: 1108f4 182f09
[ 43.990736] patch_tbl: 11087c 180cd5
[ 43.995155] patch_tbl: 1107e4 181565
[ 43.999545] patch_tbl: 110578 1840e1
[ 44.003955] patch_tbl: 110840 181789
[ 44.008344] patch_tbl: 1104fc 18191d
[ 44.012757] patch_tbl: 1106e4 1858dd
[ 44.017152] patch_tbl: 11063c 185355
[ 44.021538] patch_tbl: 110640 1854fd
[ 44.025951] patch_tbl: 1105f8 1856c9
[ 44.030336] patch_tbl: 110860 183a45
[ 44.034740] patch_tbl: 110494 181951
[ 44.039133] patch_tbl: 110740 18197d
[ 44.043548] patch_tbl: 1107c0 181a0d
[ 44.047937] patch_tbl: 110528 185af5
[ 44.052339] patch_tbl: 110530 1858c9
[ 44.056724] patch_tbl: 11055c 181a59
[ 44.061114] patch_tbl: 1107a0 181f71
[ 44.065519] patch_tbl: 110654 183aa1
[ 44.069907] patch_tbl: 110818 18352d
[ 44.074337] patch_tbl: 110824 183575
[ 44.078729] patch_tbl: 1108cc 18236d
[ 44.083146] patch_tbl: 1108d0 181f75
[ 44.087537] patch_tbl: 110630 1824e9
[ 44.091938] patch_tbl: 110758 184145
[ 44.096330] patch_tbl: 1106e0 184189
[ 44.100724] patch_tbl: 110864 18443d
[ 44.105136] patch_tbl: 110520 18447d
[ 44.109555] patch_tbl: 1106d0 1845c5
[ 44.113960] patch_tbl: 1108fc 184619
[ 44.118351] patch_tbl: 110574 184591
[ 44.122764] patch_tbl: 1106bc 184725
[ 44.127155] patch_tbl: 110558 1848fd
[ 44.131541] patch_tbl: 110590 181a89
[ 44.135947] patch_tbl: 1104f4 18267d
[ 44.140339] patch_tbl: 110500 181e91
[ 44.144745] patch_tbl: 1106dc 184aad
[ 44.149133] patch_tbl: 110518 184af5
[ 44.153541] patch_tbl: 110568 184b91
[ 44.157927] patch_tbl: 110648 184bbd
[ 44.162340] patch_tbl: 110660 184dc1
[ 44.166727] patch_tbl: 110688 184f35
[ 44.171121] patch_tbl: 11049c 1826ed
[ 44.175523] patch_tbl: 11073c 182701
[ 44.179917] patch_tbl: 11041c 185929
[ 44.184331] patch_tbl: 1103f0 185a99
[ 44.188718] patch_tbl: 1100c4 184725
[ 44.193126] patch_tbl: 110054 184dc1
[ 44.197521] patch_tbl: 110f34 1836ed
[ 44.201934] patch_tbl: 110f04 183e45
[ 44.206320] patch_tbl: 110de4 183e65
[ 44.210717] patch_tbl: 110e04 184045
[ 44.215123] patch_tbl: 110e6c 183fd9
[ 44.219512] patch_tbl: 110ab0 1840a9
[ 44.223925] patch_tbl: 110dcc 183f69
[ 44.228315] patch_tbl: 1100e0 183f85
[ 44.232722] patch_tbl: 110dd4 184219
[ 44.237107] patch_tbl: 110e5c 183db5
[ 44.241501] patch_tbl: 110b00 1831dd
[ 44.245914] patch_tbl: 110ae8 181e09
[ 44.250309] patch_tbl: 110aa0 1844e5
[ 44.254712] patch_tbl: 110e64 184559
[ 44.259098] patch_tbl: 110f80 184a49
[ 44.263513] patch_tbl: 11148c 184991
[ 44.267896] patch_tbl: 110b84 184bbd
[ 44.272300] patch_tbl: 110d6c 18531d
[ 44.276685] patch_tbl: 40030084 187c80
[ 44.281267] patch_tbl: 40030000 2a6b8
[ 44.285782] patch_tbl: 40030004 4d9d0
[ 44.290266] patch_tbl: 187c80 47706008
[ 44.294867] patch_tbl: 187c84 d0332b00
[ 44.299457] patch_tbl: 40030080 3
[ 44.303576] patch_tbl: 4010001c 0
[ 44.307680] ############ aicwf_patch_config_8800dc done
[ 44.313554] AICWFDBG(LOGINFO) Read FW mem: 00120000
[ 44.319216] AICWFDBG(LOGINFO) cfm: [00120000] = 00ffd888
[ 44.325191] AICWFDBG(LOGINFO) Start app: 00120000, 5
[ 44.338495] AICWFDBG(LOGDEBUG) aicwf_sdio_probe:1
[ 44.343790] AICWFDBG(LOGDEBUG) Class=7
[ 44.347989] AICWFDBG(LOGDEBUG) sdio vendor ID: 0xc8a1
[ 44.353659] AICWFDBG(LOGDEBUG) sdio device ID: 0xc08d
[ 44.359320] AICWFDBG(LOGDEBUG) Function#: 1
[ 44.364017] AICWFDBG(LOGINFO) aicwf_sdio_chipmatch USE AIC8800DC
[ 44.370850] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[ 44.371696] aicbsp: sdio_err:<aicwf_sdio_bus_pwrctl,1402>: bus down
[ 44.378079] aicsdio: aicwf_sdio_reg_init
[ 44.389618] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 44.401518] AICWFDBG(LOGINFO) Set SDIO Clock 50 MHz
[ 44.417156] aicwf_prealloc_init enter
[ 44.421725] pre alloc rxbuff list len: 30
[ 44.426250] aicbsp: aicbsp_resv_mem_alloc_skb, alloc resv_mem_txdata succuss, id: 0, size: 98304
[ 44.436327] AICWFDBG(LOGINFO) sdio_bustx_thread the policy of current thread is:1
[ 44.441793] AICWFDBG(LOGINFO) sdio_busrx_thread the policy of current thread is:1
[ 44.444774] AICWFDBG(LOGINFO) sdio_bustx_thread the rt_priority of current thread is:1
[ 44.453138] AICWFDBG(LOGINFO) sdio_busrx_thread the rt_priority of current thread is:1
[ 44.453143] AICWFDBG(LOGINFO) sdio_busrx_thread the current pid is:1224
[ 44.462033] AICWFDBG(LOGINFO) sdio_bustx_thread the current pid is:1223
[ 44.485800] AICWFDBG(LOGTRACE) >>> rwnx_platform_init()
[ 44.491722] AICWFDBG(LOGTRACE) >>> rwnx_cfg80211_init()
[ 44.497582] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[ 44.504823] AICWFDBG(LOGINFO) rwnx_cfg80211_init sizeof(struct rwnx_hw):16360
[ 44.513085] AICWFDBG(LOGTRACE) >>> rwnx_init_aic()
[ 44.518458] AICWFDBG(LOGTRACE) >>> rwnx_cmd_mgr_init()
[ 44.524373] tcp_ack_init
[ 44.527316] AICWFDBG(LOGINFO) aicwf_prealloc_txq_alloc size is diff will to be kzalloc
[ 44.536423] AICWFDBG(LOGINFO) aicwf_prealloc_txq_alloc txq kzalloc successful
[ 44.544759] AICWFDBG(LOGTRACE) >>> rwnx_send_dbg_mem_read_req()
[ 44.551405] AICWFDBG(LOGTRACE) rwnx_send_msg (1025)DBG_MEM_READ_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 44.562751] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 44.570948] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x401
[ 44.577874] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 44.585067] AICWFDBG(LOGTRACE) >>> rwnx_send_dbg_mem_read_req()
[ 44.591739] AICWFDBG(LOGTRACE) rwnx_send_msg (1025)DBG_MEM_READ_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 44.603087] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 44.610976] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x401
[ 44.617879] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 44.625025] AICWFDBG(LOGINFO) FDRV chip_id=c7, chip_sub_id=2!!
[ 44.631575] AICWFDBG(LOGTRACE) >>> rwnx_platform_on()
[ 44.637251] AICWFDBG(LOGINFO) userconfig file path:aic_userconfig_8800dc.txt
[ 44.645360] AICWFDBG(LOGINFO) ### Load file aic_userconfig_8800dc.txt
[ 44.652592] AICWFDBG(LOGINFO) rwnx_load_firmware :firmware path = /etc/aic_userconfig_8800dc.txt
[ 44.662850] AICWFDBG(LOGINFO) file md5:159af09b93ce2f8f042cb57d287e0df2
[ 44.670369] AICWFDBG(LOGINFO) ### Load file done: aic_userconfig_8800dc.txt, size=1056
[ 44.679268] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: AIC USERCONFIG 2022/0803/1707
[ 44.688646] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: txpwr_lvl
[ 44.696074] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=enable value=1
[ 44.704184] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_1m_2g4 value=20
[ 44.713664] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_2m_2g4 value=20
[ 44.723140] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_5m5_2g4 value=20
[ 44.732713] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_11m_2g4 value=20
[ 44.742287] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_6m_2g4 value=20
[ 44.751771] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_9m_2g4 value=20
[ 44.761236] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_12m_2g4 value=20
[ 44.770811] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_18m_2g4 value=20
[ 44.780384] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_24m_2g4 value=18
[ 44.789957] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_36m_2g4 value=18
[ 44.799530] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_48m_2g4 value=16
[ 44.809103] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_54m_2g4 value=16
[ 44.818680] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs0_2g4 value=20
[ 44.828351] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs1_2g4 value=20
[ 44.838021] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs2_2g4 value=20
[ 44.847691] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs3_2g4 value=20
[ 44.857361] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs4_2g4 value=18
[ 44.867032] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs5_2g4 value=18
[ 44.876702] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs6_2g4 value=16
[ 44.886373] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs7_2g4 value=16
[ 44.896050] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs8_2g4 value=16
[ 44.905726] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs9_2g4 value=16
[ 44.915403] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs0_2g4 value=20
[ 44.924683] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs1_2g4 value=20
[ 44.933963] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs2_2g4 value=20
[ 44.943244] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs3_2g4 value=20
[ 44.952524] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs4_2g4 value=18
[ 44.961805] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs5_2g4 value=18
[ 44.971076] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs6_2g4 value=16
[ 44.980356] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs7_2g4 value=16
[ 44.989637] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs8_2g4 value=16
[ 44.998918] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs9_2g4 value=16
[ 45.008199] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs10_2g4 value=15
[ 45.017582] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs11_2g4 value=15
[ 45.026964] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: txpwr_ofst
[ 45.034526] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_enable value=0
[ 45.043129] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_1_4 value=0
[ 45.051923] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_5_9 value=0
[ 45.060706] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_10_13 value=0
[ 45.069694] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_36_64 value=0
[ 45.078682] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_100_120 value=0
[ 45.087865] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_122_140 value=0
[ 45.097048] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_142_165 value=0
[ 45.106230] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: xtal cap
[ 45.113563] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=xtal_enable value=0
[ 45.122161] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=xtal_cap value=24
[ 45.130554] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=xtal_cap_fine value=31
[ 45.139444] AICWFDBG(LOGINFO) userconfig download complete
[ 45.139444]
[ 45.147266] AICWFDBG(LOGTRACE) rwnx_send_msg (124)MM_SET_STACK_START_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.159085] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.167332] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x7c
[ 45.174119] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.181245] AICWFDBG(LOGINFO) is 5g support = 0, vendor_info = 0x00
[ 45.188293] AICWFDBG(LOGTRACE) rwnx_send_msg (129)MM_GET_FW_VERSION_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.200011] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.207912] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x81
[ 45.214692] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.221841] AICWFDBG(LOGINFO) Firmware Version: zh Aug 08 2023 20:31:22 - g41bc49e
[ 45.230430] AICWFDBG(LOGTRACE) >>> rwnx_send_txpwr_lvl_req()
[ 45.236787] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:enable:1
[ 45.244602] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_1m_2g4:20
[ 45.253780] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_2m_2g4:20
[ 45.262958] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_5m5_2g4:20
[ 45.272233] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_11m_2g4:20
[ 45.281500] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_6m_2g4:20
[ 45.290678] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_9m_2g4:20
[ 45.299855] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_12m_2g4:20
[ 45.309130] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_18m_2g4:20
[ 45.318404] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_24m_2g4:18
[ 45.327684] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_36m_2g4:18
[ 45.336960] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_48m_2g4:16
[ 45.346237] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_54m_2g4:16
[ 45.355518] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs0_2g4:20
[ 45.364893] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs1_2g4:20
[ 45.374266] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs2_2g4:20
[ 45.383638] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs3_2g4:20
[ 45.393010] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs4_2g4:18
[ 45.402383] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs5_2g4:18
[ 45.411755] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs6_2g4:16
[ 45.421120] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs7_2g4:16
[ 45.430497] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs8_2g4:16
[ 45.439870] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs9_2g4:16
[ 45.449242] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs0_2g4:20
[ 45.458225] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs1_2g4:20
[ 45.467207] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs2_2g4:20
[ 45.476192] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs3_2g4:20
[ 45.485180] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs4_2g4:18
[ 45.494164] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs5_2g4:18
[ 45.503148] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs6_2g4:16
[ 45.512130] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs7_2g4:16
[ 45.521105] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs8_2g4:16
[ 45.530092] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs9_2g4:16
[ 45.539076] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs10_2g4:15
[ 45.548155] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs11_2g4:15
[ 45.557235] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:enable:1
[ 45.563879] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_1m_2g4:20
[ 45.571886] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_2m_2g4:20
[ 45.579887] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_5m5_2g4:20
[ 45.587992] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_11m_2g4:20
[ 45.596097] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_6m_2g4:20
[ 45.604108] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_9m_2g4:20
[ 45.612122] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_12m_2g4:20
[ 45.620220] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_18m_2g4:20
[ 45.628333] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_24m_2g4:18
[ 45.636440] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_36m_2g4:18
[ 45.644546] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_48m_2g4:16
[ 45.652651] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_54m_2g4:16
[ 45.660749] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs0_2g4:20
[ 45.668951] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs1_2g4:20
[ 45.677154] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs2_2g4:20
[ 45.685356] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs3_2g4:20
[ 45.693559] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs4_2g4:18
[ 45.701762] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs5_2g4:18
[ 45.709957] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs6_2g4:16
[ 45.718160] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs7_2g4:16
[ 45.726367] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs8_2g4:16
[ 45.734573] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs9_2g4:16
[ 45.742782] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs0_2g4:20
[ 45.750588] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs1_2g4:20
[ 45.758403] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs2_2g4:20
[ 45.766217] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs3_2g4:20
[ 45.774030] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs4_2g4:18
[ 45.781843] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs5_2g4:18
[ 45.789648] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs6_2g4:16
[ 45.797461] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs7_2g4:16
[ 45.805274] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs8_2g4:16
[ 45.813087] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs9_2g4:16
[ 45.820892] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs10_2g4:15
[ 45.828807] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs11_2g4:15
[ 45.836722] AICWFDBG(LOGTRACE) rwnx_send_msg (120)MM_SET_TXPWR_IDX_LVL_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.848730] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.856685] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x78
[ 45.863509] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.870636] AICWFDBG(LOGTRACE) >>> rwnx_send_txpwr_ofst_req()
[ 45.877120] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:enable :0
[ 45.885337] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_1_4 :0
[ 45.893551] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_5_9 :0
[ 45.901765] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_10_13 :0
[ 45.909980] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_36_64 :0
[ 45.918197] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_100_120:0
[ 45.926417] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_122_140:0
[ 45.934623] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_142_165:0
[ 45.942834] AICWFDBG(LOGTRACE) >>> rwnx_msg_free()
[ 45.948204] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 45.954564] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.966191] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.974143] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 45.980898] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.988071] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 45.994441] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.006069] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.013974] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 46.020761] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.027935] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 46.034328] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.045955] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.053864] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 46.060660] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.067821] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 46.074231] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.085860] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.093768] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 46.100551] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.107723] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_calib_req()
[ 46.114014] AICWFDBG(LOGINFO) get_userconfig_xtal_cap:enable :0
[ 46.121332] AICWFDBG(LOGINFO) get_userconfig_xtal_cap:xtal_cap :0
[ 46.128665] AICWFDBG(LOGINFO) get_userconfig_xtal_cap:xtal_cap_fine:0
[ 46.135999] AICWFDBG(LOGTRACE) rwnx_send_msg (106)MM_SET_RF_CALIB_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.147523] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.392682] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x6a
[ 46.399519] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.406671] AICWFDBG(LOGTRACE) >>> rwnx_send_get_macaddr_req()
[ 46.413239] AICWFDBG(LOGTRACE) rwnx_send_msg (116)MM_GET_MAC_ADDR_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.424765] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.432894] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x74
[ 46.439647] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.446801] AICWFDBG(LOGINFO) get macaddr: bc:2b:02:0a:b6:74
[ 46.453251] AICWFDBG(LOGTRACE) >>> rwnx_send_reset()
[ 46.458820] AICWFDBG(LOGTRACE) rwnx_send_msg (1)MM_RESET_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.469463] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.478057] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1
[ 46.484728] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.491878] AICWFDBG(LOGTRACE) >>> rwnx_send_version_req()
[ 46.498031] AICWFDBG(LOGTRACE) rwnx_send_msg (5)MM_VERSION_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.508874] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.516774] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x5
[ 46.523475] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.530631] AICWFDBG(LOGTRACE) >>> rwnx_set_vers()
[ 46.536029] AICWFDBG(LOGINFO) rwnx_handle_dynparams unsupport mcs11 change to mcs9
[ 46.536042] AICWFDBG(LOGTRACE) >>> rwnx_send_me_config_req()
[ 46.550897] ieee80211 phy0: HT supp 1, VHT supp 1, HE supp 1
[ 46.557254] AICWFDBG(LOGTRACE) rwnx_send_msg (5121)ME_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.568288] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.576213] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1401
[ 46.583204] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.590514] AICWFDBG(LOGTRACE) >>> rwnx_send_me_chan_config_req()
[ 46.597460] AICWFDBG(LOGTRACE) rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.608997] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.616951] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1403
[ 46.623984] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.631417] AICWFDBG(LOGINFO) getRegdomainFromRwnxDB set ccode:00
[ 46.638536] AICWFDBG(LOGINFO) rwnx_get_countrycode_channels support channel:1 2 3 4 5 6 7 8 9 10 11 12 13 14
[ 46.649826] ieee80211 phy0:
[ 46.649826] *******************************************************
[ 46.649826] ** CAUTION: USING PERMISSIVE CUSTOM REGULATORY RULES **
[ 46.649826] *******************************************************
[ 46.674129] AICWFDBG(LOGTRACE) >>> rwnx_send_me_chan_config_req()
[ 46.680970] AICWFDBG(LOGTRACE) rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.692499] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.700686] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1403
[ 46.707729] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.714884] AICWFDBG(LOGTRACE) >>> rwnx_dbgfs_register()
[ 46.720952] AICWFDBG(LOGINFO) fw_log_init: c61e0000, c61e2800
[ 46.727439] AICWFDBG(LOGINFO) rwnx_interface_add: wlan%d, 2, 10
[ 46.734345] AICWFDBG(LOGINFO) interface add:bc 2b 2 a b6 74
[ 47.367580] get_txpwr_max:txpwr_max:20
[ 47.463747] AICWFDBG(LOGINFO) New interface create wlan0
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
Can't attach to device hci0. No such device(19)
btsnoop version: 1 datalink type: 1002
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# lsmod
aic8800_bsp 81920 1 aic8800_fdrv
aic8800_fdrv 413696 0
root@TinaLinux:/mnt/UDISK# insmod aic8800_btlpm.ko
[ 72.961080] aic_bluetooth_mod_init
[ 72.965452] -->rfkill_bluetooth_init
[ 72.969956] <--rfkill_bluetooth_init
[ 72.974054] [BT_LPM] bluesleep_init: BlueSleep Mode Driver Ver 1.3.3
[ 72.981688] [BT_LPM] bluesleep_probe: bt_hostwake gpio=207 assert=1
[ 72.981688]
[ 72.990489] [BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 72.990489]
[ 72.998955] [BT_LPM] bluesleep_probe: bt_wake gpio=206 assert=1
[ 72.998955]
[ 73.007290] [BT_LPM] bluesleep_probe: uart_index (1)
[ 73.007290]
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
Can't attach to device hci0. No such device(19)
btsnoop version: 1 datalink type: 1002
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosl
eep&
root@TinaLinux:/mnt/UDISK# Device setup complete
[1]+ Done hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
btsnoop version: 1 datalink type: 1002
device: hci0 snap_len: 1500 filter: 0x0
^C
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci &
root@TinaLinux:/mnt/UDISK# HCI sniffer - Bluetooth packet analyzer ver 5.54
btsnoop version: 1 datalink type: 1002
device: hci0 snap_len: 1500 filter: 0x0
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: BC:2B:02:0A:B6:75 ACL MTU: 251:14 SCO MTU: 0:0
DOWN
RX bytes:220 acl:0 sco:0 events:16 errors:0
TX bytes:91 acl:0 sco:0 commands:16 errors:0
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
root@TinaLinux:/mnt/UDISK# hciconfig hci0 up
root@TinaLinux:/mnt/UDISK# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: BC:2B:02:0A:B6:75 ACL MTU: 251:14 SCO MTU: 0:0
UP RUNNING
RX bytes:440 acl:0 sco:0 events:32 errors:0
TX bytes:182 acl:0 sco:0 commands:32 errors:0
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
Can't read local name on hci0: Input/output error (5)
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# ls
1111.txt aic8800_btlpm.ko output.hci
aic8800_bsp.ko aic8800_fdrv.ko
root@TinaLinux:/mnt/UDISK# hcidump -r output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
btsnoop version: 1 datalink type: 1002
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
Read Local Supported Features (0x04|0x0003) ncmd 5
status 0x00
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0
> HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 5
status 0x00
HCI Version: 5.2 (0xb) HCI Revision: 0x14
LMP Version: 5.2 (0xb) LMP Subversion: 0x14
Manufacturer: not assigned (2875)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0
> HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 5
status 0x00 bdaddr BC:2B:02:0A:B6:75
< HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0
> HCI Event: Command Complete (0x0e) plen 7
LE Read Buffer Size (0x08|0x0002) ncmd 5
status 0x00 pktlen 0x00fb maxpkt 0x0e
< HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
LE Read Local Supported Features (0x08|0x0003) ncmd 5
status 0x00 features 0xdff9010800000000 (Link Layer supports LE Encryption)
< HCI Command: LE Read Supported States (0x08|0x001c) plen 0
> HCI Event: Command Complete (0x0e) plen 12
LE Read Supported States (0x08|0x001c) ncmd 5
< HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0
> HCI Event: Command Complete (0x0e) plen 68
Read Local Supported Commands (0x04|0x0002) ncmd 5
status 0x00
Commands: 2000800000c000000000e40000002822000000000000040000f7ffff7f000000
30f0ffffffffff07
< HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0x90e8040200800020
> HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 5
status 0x00
< HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0xbf1f0a0000000000 (Reserved)
> HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 5
status 0x00
< HCI Command: LE Read White List Size (0x08|0x000f) plen 0
> HCI Event: Command Complete (0x0e) plen 5
LE Read White List Size (0x08|0x000f) ncmd 5
< HCI Command: LE Clear White List (0x08|0x0010) plen 0
> HCI Event: Command Complete (0x0e) plen 4
LE Clear White List (0x08|0x0010) ncmd 5
status 0x00
< HCI Command: Unknown (0x08|0x002a) plen 0
> HCI Event: Command Complete (0x0e) plen 5
Unknown (0x08|0x002a) ncmd 5
< HCI Command: Unknown (0x08|0x0029) plen 0
> HCI Event: Command Complete (0x0e) plen 4
Unknown (0x08|0x0029) ncmd 5
< HCI Command: Unknown (0x08|0x003b) plen 0
> HCI Event: Command Complete (0x0e) plen 5
Unknown (0x08|0x003b) ncmd 5
< HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8
Mask: 0x0000800000000000
> HCI Event: Command Complete (0x0e) plen 4
Set Event Mask Page 2 (0x03|0x0063) ncmd 5
status 0x00
< HCI Command: Unknown (0x08|0x0031) plen 3
> HCI Event: Command Complete (0x0e) plen 4
Unknown (0x08|0x0031) ncmd 5
< HCI Command: Read Local Name (0x03|0x0014) plen 0
> HCI Event: Command Complete (0x0e) plen 252
Read Local Name (0x03|0x0014) ncmd 5
status 0x02 name ''
Error: Unknown Connection Identifier
root@TinaLinux:/mnt/UDISK#
上面是整个模组的加载调试信息,目前wifi部分是没有问题的,但是蓝牙的hci设备使用报错,大佬们帮忙看下问题可能出在哪里。(感觉爱科微的模组还是有点奇葩的,好像就他家想要生成hci设备还得专门初始化一段指令才会生成,其他家加载模组就会生成hci设备了)
离线
问题已解决,记录一下,原因是因为目前使用的模组不支持hci指令(aic8800dc)。正确操作:
bluetoothd -n -d -C&
hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
hciconfig hci0 up
bluetoothctl
scan on
离线
你这是驱动源码中,platform中的全志平台相关接口有问题,你在sdk中找到对应接口替换下就可以了
离线