Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make the driver work on Linux 4.9.170 #47

Open
ruslanbyku opened this issue Feb 8, 2024 · 0 comments
Open

Can't make the driver work on Linux 4.9.170 #47

ruslanbyku opened this issue Feb 8, 2024 · 0 comments

Comments

@ruslanbyku
Copy link

ruslanbyku commented Feb 8, 2024

I've got a custom board with a 4.9.170 kernel on Linux on aarch64 (Allwinner). I compiled the driver successfully, it is loaded on boot and dmesg shows me that the driver seems to be in the working state, the firmware has been loaded fine and the wlan interface is in the UP state. But every time I try to scan the devices I see in syslog that the driver loads the firmware again and with the success status. SDIO pins seems to be in the working state. Here is the log:

# cat /proc/net/rtl8723ds/log_level 
drv_log_level:5
  _DRV_NONE_ = 0 = 0
  _DRV_ALWAYS_ = 1 = 1
  _DRV_ERR_ = 2 = 2
  _DRV_WARNING_ = 3 = 3
  _DRV_INFO_ = 4 = 4
+ _DRV_DEBUG_ = 5 = 5
  _DRV_MAX_ = 6 = 6
# dmesg | grep RTW
[   10.375873] RTW: module init start
[   10.375884] RTW: rtl8723ds v5.1.1.5_20523.20161209_BTCOEX20161208-1212
[   10.375889] RTW: build time: Feb  7 2024 13:12:19
[   10.375893] RTW: rtl8723ds BT-Coex version = BTCOEX20161208-1212
[   10.386845] RTW: sdio_init: sdio clk rate: 50000000
[   10.390696] RTW: CHIP TYPE: RTL8723D
[   10.393629] RTW: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[   10.393643] RTW: Chip Version Info: CHIP_8723D_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[   10.393828] RTW: CardEnable: LP-LPS: 02
[   10.406571] RTW: SetHwReg: bMacPwrCtrlOn=1
[   10.406941] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[   10.406949] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[   10.407008] RTW: sdio_power_on_check: 0x1B8 test Pass.
[   10.407313] RTW: ReadAdapterInfo8723DS, 0x4e=0x82
[   10.407376] RTW: EEPROM type is E-FUSE
[   10.409434] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[   10.470529] RTW: hal_ReadEFuse_WiFi: data end at address=0xcc
[   10.470597] RTW: HW EFUSE
[   10.470602] RTW: 0x000: 29 81 00 7C E1 88 07 00    A0 04 EC 35 12 C0 A2 D8
[   10.470658] RTW: 0x010: 27 27 29 29 29 29 29 29    2B 2B 2B 02 FF FF FF FF
[   10.470712] RTW: 0x020: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.470766] RTW: 0x030: FF FF FF FF FF FF FF FF    FF FF 22 22 22 22 22 22
[   10.470819] RTW: 0x040: 21 21 21 21 21 02 FF FF    FF FF FF FF FF FF FF FF
[   10.470873] RTW: 0x050: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.470927] RTW: 0x060: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.470980] RTW: 0x070: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.471034] RTW: 0x080: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.471088] RTW: 0x090: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.471141] RTW: 0x0a0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.471567] RTW: 0x0b0: FF FF FF FF FF FF FF FF    20 18 1F 00 00 00 FF FF
[   10.471621] RTW: 0x0c0: FF 29 20 11 00 00 00 FF    00 FF 11 FF FF FF FF FF
[   10.471675] RTW: 0x0d0: 3E 10 01 12 23 FF FF FF    20 04 4C 02 23 D7 21 02
[   10.471729] RTW: 0x0e0: 0C 00 22 04 00 08 00 32    FF 21 02 0C 00 22 2A 01
[   10.471782] RTW: 0x0f0: 01 00 00 00 00 00 00 00    00 00 00 00 02 00 FF FF
[   10.471836] RTW: 0x100: 00 00 00 00 00 00 00 00    00 00 00 00 00 00 00 00
[   10.471889] RTW: 0x110: 00 EB 00 6E 01 00 00 00    00 FF 00 E0 4C 01 4E 65
[   10.471943] RTW: 0x120: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.471997] RTW: 0x130: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472050] RTW: 0x140: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472104] RTW: 0x150: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472165] RTW: 0x160: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472237] RTW: 0x170: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472290] RTW: 0x180: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472344] RTW: 0x190: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472398] RTW: 0x1a0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472452] RTW: 0x1b0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472505] RTW: 0x1c0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472559] RTW: 0x1d0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472613] RTW: 0x1e0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.472666] RTW: 0x1f0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[   10.477487] RTW: Hal_EfuseParseBTCoexistInfo_8723D: Enable BT-coex, ant_num=1
[   10.477501] RTW: hal_com_config_channel_plan chplan:0x20
[   10.477507] RTW: Hal_EfuseParseVoltage_8723D hwinfo[EEPROM_Voltage_ADDR_8723D] =a0
[   10.477512] RTW: Hal_EfuseParseVoltage_8723D pHalData->adjuseVoltageVal =a
[   10.477805] RTW: kfree Pwr Trim flag:0
[   10.478504] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 27506
[   10.478517] RTW: rtl8723d_FirmwareDownload: fw_ver=1b fw_subver=0000 sig=0x23d1, Month=12, Date=07, Hour=14, Minute=07
[   10.478522] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[   10.478550] RTW: rtl8723d_FirmwareDownload by IO write!
[   10.762053] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07060705
[   10.762062] RTW: rtl8723d_FirmwareDownload: download FW count:1
[   10.762340] RTW: _8051Reset8723: Finish
[   10.780511] RTW: _FWFreeToGo: Polling FW ready OK! (322, 16ms), REG_MCUFWDL:0x070607c6
[   10.780518] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 300ms
[   10.780551] RTW:  <=== rtl8723d_FirmwareDownload()
[   10.791847] RTW: hal_read_mac_hidden_rpt OK! (2, 13ms), fwdl:1, id:0x19
[   10.792301] RTW: SetHwReg: bMacPwrCtrlOn=0
[   10.792709] RTW: rtw_hal_read_chip_info in 400 ms
[   10.792851] RTW: init_mlme_default_rate_set: support CCK
[   10.792856] RTW: init_mlme_default_rate_set: support OFDM
[   10.792865] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[   10.793829] RTW: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[   10.793906] RTW: Init_ODM_ComInfo_8723d(): fab_ver=0 cut_ver=3
[   10.793917] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   10.794390] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[   10.794403] RTW: default power by rate loaded
[   10.794412] RTW: phy_txpwr_by_rate_chk_for_path_dup duplicate 2.4G [A] to [B]
[   10.794813] RTW: rtw_macaddr_cfg mac addr:00:e0:4c:01:4e:65
[   10.794913] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   10.795036] RTW: rtw_wiphy_alloc(phy0)
[   10.795042] RTW: rtw_wdev_alloc(padapter=ffffff8009ff8000)
[   10.795058] RTW: rtw_wiphy_register(phy0)
[   10.795063] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   10.795745] RTW: _rtw_reg_notifier
[   10.795752] RTW: _rtw_reg_notifier_apply: NL80211_REGDOM_SET_BY_CORE to DRV
[   10.796654] RTW: rtw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:01:4e:65
[   10.798836] RTW: rtw_ndev_notifier_call(wlan0) state:16
[   10.802561] RTW: cfg80211_rtw_get_txpower
[   10.803096] RTW: rtw_ndev_notifier_call(wlan0) state:5
[   10.803418] RTW: module init ret=0
[   12.336687] RTW: rtw_ndev_notifier_call(wlan0) state:13
[   12.336702] RTW: _netdev_open(wlan0) , bup=0
[   12.336807] RTW: FW does not exist before power on!!
[   12.336904] RTW: CardEnable: LP-LPS: 02
[   12.341273] RTW: SetHwReg: bMacPwrCtrlOn=1
[   12.341585] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[   12.341590] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[   12.341641] RTW: sdio_power_on_check: 0x1B8 test Pass.
[   12.342490] RTW: Power on ok!
[   12.342643] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 27506
[   12.342651] RTW: rtl8723d_FirmwareDownload: fw_ver=1b fw_subver=0000 sig=0x23d1, Month=12, Date=07, Hour=14, Minute=07
[   12.342656] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[   12.342677] RTW: rtl8723d_FirmwareDownload by IO write!
[   12.524723] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00060705
[   12.524732] RTW: rtl8723d_FirmwareDownload: download FW count:1
[   12.525017] RTW: _8051Reset8723: Finish
[   12.543168] RTW: _FWFreeToGo: Polling FW ready OK! (312, 16ms), REG_MCUFWDL:0x000607c6
[   12.543175] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 200ms
[   12.543209] RTW:  <=== rtl8723d_FirmwareDownload()
[   12.543216] RTW: HalDetectPwrDownMode(): PDN=0
[   12.543220] RTW: Set RF Chip ID to RF_6052 and RF type to 3.
[   12.624411] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   12.624686] RTW: ===>phy_SwChnl8723D: Channel = 1
[   12.940673] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
[   12.940888] RTW: rtw_hal_get_macaddr_port wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
[   12.940895] RTW: wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
[   12.941559] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   12.941796] RTW: ===>phy_SwChnl8723D: Channel = 1
[   12.943025] RTW: MAC Address = 00:e0:4c:01:4e:65
[   12.943486] RTW: start rtl8723ds_xmit_thread(wlan0)
[   12.943679] RTW: C2H_MAILBOX_STATUS: 02 
[   12.943828] RTW: rtw_cfg80211_init_wiphy:rf_type=3
[   12.943835] RTW: [HT] HAL Support STBC = 0x01
[   12.943847] RTW: -871x_drv - drv_open, bup=1
[   12.944044] RTW: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[   12.944097] RTW: rtw_ndev_notifier_call(wlan0) state:1
[   15.267966] RTW: _btmpoper_cmd: Didn't get BT response!
[   15.321255] RTW: _btmpoper_cmd: Didn't get BT response!
[   15.374612] RTW: _btmpoper_cmd: Didn't get BT response!
[   15.427954] RTW: _btmpoper_cmd: Didn't get BT response!
[   15.481282] RTW: _btmpoper_cmd: Didn't get BT response!
[   15.537969] RTW: _btmpoper_cmd: Didn't get BT response!
[   15.537992] RTW: ==>rtw_ps_processor .fw_state(0)
[   15.538559] RTW: ==>ips_enter cnts:1
[   15.538567] RTW: nolinked power save enter
[   15.538573] RTW: ===> rtw_ips_pwr_down...................
[   15.538578] RTW: ====> rtw_ips_dev_unload...
[   15.548853] RTW: SetHwReg: bMacPwrCtrlOn=0
[   15.549271] RTW: <=== rtw_ips_pwr_down..................... in 10ms
[   20.028206] RTW: cfg80211_rtw_scan(wlan0)
[   20.028222] RTW: _rtw_pwr_wakeup call ips_leave....
[   20.028230] RTW: ==>ips_leave cnts:1
[   20.028235] RTW: ===>  rtw_ips_pwr_up..............
[   20.028253] RTW: ===> ips_netdrv_open.........
[   20.028403] RTW: FW does not exist before power on!!
[   20.028529] RTW: CardEnable: LP-LPS: 02
[   20.033304] RTW: SetHwReg: bMacPwrCtrlOn=1
[   20.033670] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[   20.033680] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[   20.033743] RTW: sdio_power_on_check: 0x1B8 test Pass.
[   20.036637] RTW: Power on ok!
[   20.036817] RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 27506
[   20.036828] RTW: rtl8723d_FirmwareDownload: fw_ver=1b fw_subver=0000 sig=0x23d1, Month=12, Date=07, Hour=14, Minute=07
[   20.036832] RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
[   20.036858] RTW: rtl8723d_FirmwareDownload by IO write!
[   20.240497] RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00060705
[   20.240507] RTW: rtl8723d_FirmwareDownload: download FW count:1
[   20.240819] RTW: _8051Reset8723: Finish
[   20.258981] RTW: _FWFreeToGo: Polling FW ready OK! (220, 20ms), REG_MCUFWDL:0x000607c6
[   20.258993] RTW: rtl8723d_FirmwareDownload success. write_fw:1, 223ms
[   20.259054] RTW:  <=== rtl8723d_FirmwareDownload()
[   20.259062] RTW: HalDetectPwrDownMode(): PDN=0
[   20.259066] RTW: Set RF Chip ID to RF_6052 and RF type to 3.
[   20.341538] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   20.341794] RTW: ===>phy_SwChnl8723D: Channel = 1
[   20.667714] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
[   20.668061] RTW: rtw_hal_get_macaddr_port wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
[   20.668073] RTW: wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
[   20.669312] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   20.669591] RTW: ===>phy_SwChnl8723D: Channel = 1
[   20.671138] RTW: <===  rtw_ips_pwr_up.............. in 640ms
[   20.671155] RTW: nolinked power save leave
[   20.671501] RTW: ==> ips_leave.....LED(0x08828282)...
[   20.671764] RTW: C2H_MAILBOX_STATUS: 02 
[   20.676195] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   20.676512] RTW: ===>phy_SwChnl8723D: Channel = 1
[   20.678705] RTW: C2H_MAILBOX_STATUS: 02 
[   20.678789] RTW: C2H_MAILBOX_STATUS: 02 
[   20.782137] RTW: ===>phy_SpurCalibration_8723D: Channel = 2
[   20.782381] RTW: ===>phy_SwChnl8723D: Channel = 2
[   20.885403] RTW: ===>phy_SpurCalibration_8723D: Channel = 3
[   20.885646] RTW: ===>phy_SwChnl8723D: Channel = 3
[   20.989057] RTW: ===>phy_SpurCalibration_8723D: Channel = 4
[   20.989315] RTW: ===>phy_SwChnl8723D: Channel = 4
[   21.092209] RTW: ===>phy_SpurCalibration_8723D: Channel = 5
[   21.092484] RTW: ===>phy_SwChnl8723D: Channel = 5
[   21.195811] RTW: ===>phy_SpurCalibration_8723D: Channel = 6
[   21.196063] RTW: ===>phy_SwChnl8723D: Channel = 6
[   21.298872] RTW: ===>phy_SpurCalibration_8723D: Channel = 7
[   21.299118] RTW: ===>phy_SwChnl8723D: Channel = 7
[   21.402125] RTW: ===>phy_SpurCalibration_8723D: Channel = 8
[   21.402391] RTW: ===>phy_SwChnl8723D: Channel = 8
[   21.505601] RTW: ===>phy_SpurCalibration_8723D: Channel = 9
[   21.505997] RTW: ===>phy_SwChnl8723D: Channel = 9
[   21.608794] RTW: ===>phy_SpurCalibration_8723D: Channel = 10
[   21.609054] RTW: ===>phy_SwChnl8723D: Channel = 10
[   21.712291] RTW: ===>phy_SpurCalibration_8723D: Channel = 11
[   21.712549] RTW: ===>phy_SwChnl8723D: Channel = 11
[   21.815657] RTW: ===>phy_SpurCalibration_8723D: Channel = 12
[   21.815961] RTW: ===>phy_SwChnl8723D: Channel = 12
[   21.918805] RTW: ===>phy_SpurCalibration_8723D: Channel = 13
[   21.955301] RTW: ===>phy_SwChnl8723D: Channel = 13
[   22.058966] RTW: ===>phy_SpurCalibration_8723D: Channel = 1
[   22.059228] RTW: ===>phy_SwChnl8723D: Channel = 1
[   22.060995] RTW: survey done event(0) band:0 for wlan0
[   22.061068] RTW: rtw_indicate_scan_done(wlan0)
[   22.354654] RTW: _btmpoper_cmd: Didn't get BT response!
[   22.354678] RTW: ==>rtw_ps_processor .fw_state(0)
[   22.355162] RTW: ==>ips_enter cnts:2
[   22.355169] RTW: nolinked power save enter
[   22.355175] RTW: ===> rtw_ips_pwr_down...................
[   22.355179] RTW: ====> rtw_ips_dev_unload...
[   22.365989] RTW: SetHwReg: bMacPwrCtrlOn=0
[   22.366405] RTW: <=== rtw_ips_pwr_down..................... in 10ms

This is a snippet of the SDIO parameters in the device tree file that are used (they work for other wifi modules such as rtl8822bs):

sdc1: sdmmc@04021000 {
		pinctrl-0 = <&sdc1_pins_a>;
		bus-width = <4>;
		no-mmc;
		no-sd;
		cap-sd-highspeed;
		/*sd-uhs-sdr12*/
		/*sd-uhs-sdr25*/
		sd-uhs-sdr50;
		sd-uhs-ddr50;
		sd-uhs-sdr104;
		/*sunxi-power-save-mode;*/
		sunxi-dis-signal-vol-sw;
		/*sdio-used-1v8;*/
		cap-sdio-irq;
		keep-power-in-suspend;
		ignore-pm-notify;
		max-frequency = <150000000>;
		ctl-spec-caps = <0x8>;
		status = "okay";
};

As I said earlier, every time I try to scan the devices I get:

# logread -f | grep -o RTW:.*
RTW: cfg80211_rtw_scan(wlan0)
RTW: _rtw_pwr_wakeup call ips_leave....
RTW: ==>ips_leave cnts:4
RTW: ===>  rtw_ips_pwr_up..............
RTW: ===> ips_netdrv_open.........
RTW: FW does not exist before power on!!
RTW: CardEnable: LP-LPS: 02
RTW: SetHwReg: bMacPwrCtrlOn=1
RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
RTW: sdio_power_on_check: 0x1B8 test Pass.
RTW: Power on ok!
RTW: rtl8723d_FirmwareDownload fw: FW_NIC, size: 27506
RTW: rtl8723d_FirmwareDownload: fw_ver=1b fw_subver=0000 sig=0x23d1, Month=12, Date=07, Hour=14, Minute=07
RTW: rtl8723d_FirmwareDownload(): Shift for fw header!
RTW: rtl8723d_FirmwareDownload by IO write!
RTW: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00060705
RTW: rtl8723d_FirmwareDownload: download FW count:1
RTW: _8051Reset8723: Finish
RTW: _FWFreeToGo: Polling FW ready OK! (282, 16ms), REG_MCUFWDL:0x000607c6
RTW: rtl8723d_FirmwareDownload success. write_fw:1, 183ms
RTW:  <=== rtl8723d_FirmwareDownload()
RTW: HalDetectPwrDownMode(): PDN=0
RTW: Set RF Chip ID to RF_6052 and RF type to 3.
RTW: ===>phy_SpurCalibration_8723D: Channel = 1
RTW: ===>phy_SwChnl8723D: Channel = 1
RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
RTW: rtw_hal_get_macaddr_port wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
RTW: wlan0- hw port(0) mac_addr =00:e0:4c:01:4e:65
RTW: ===>phy_SpurCalibration_8723D: Channel = 1
RTW: ===>phy_SwChnl8723D: Channel = 1
RTW: <===  rtw_ips_pwr_up.............. in 576ms
RTW: nolinked power save leave
RTW: ==> ips_leave.....LED(0x08828282)...
RTW: C2H_MAILBOX_STATUS: 02 
RTW: ===>phy_SpurCalibration_8723D: Channel = 1
RTW: ===>phy_SwChnl8723D: Channel = 1
RTW: C2H_MAILBOX_STATUS: 02 
RTW: C2H_MAILBOX_STATUS: 02 
RTW: ===>phy_SpurCalibration_8723D: Channel = 2
RTW: ===>phy_SwChnl8723D: Channel = 2
RTW: ===>phy_SpurCalibration_8723D: Channel = 3
RTW: ===>phy_SwChnl8723D: Channel = 3
RTW: ===>phy_SpurCalibration_8723D: Channel = 4
RTW: ===>phy_SwChnl8723D: Channel = 4
RTW: ===>phy_SpurCalibration_8723D: Channel = 5
RTW: ===>phy_SwChnl8723D: Channel = 5
RTW: ===>phy_SpurCalibration_8723D: Channel = 6
RTW: ===>phy_SwChnl8723D: Channel = 6
RTW: ===>phy_SpurCalibration_8723D: Channel = 7
RTW: ===>phy_SwChnl8723D: Channel = 7
RTW: ===>phy_SpurCalibration_8723D: Channel = 8
RTW: ===>phy_SwChnl8723D: Channel = 8
RTW: ===>phy_SpurCalibration_8723D: Channel = 9
RTW: ===>phy_SwChnl8723D: Channel = 9
RTW: ===>phy_SpurCalibration_8723D: Channel = 10
RTW: ===>phy_SwChnl8723D: Channel = 10
RTW: ===>phy_SpurCalibration_8723D: Channel = 11
RTW: ===>phy_SwChnl8723D: Channel = 11
RTW: ===>phy_SpurCalibration_8723D: Channel = 12
RTW: ===>phy_SwChnl8723D: Channel = 12
RTW: ===>phy_SpurCalibration_8723D: Channel = 13
RTW: ===>phy_SwChnl8723D: Channel = 13
RTW: ===>phy_SpurCalibration_8723D: Channel = 1
RTW: ===>phy_SwChnl8723D: Channel = 1
RTW: survey done event(0) band:0 for wlan0
RTW: rtw_indicate_scan_done(wlan0)
RTW: C2H_MAILBOX_STATUS: 02 
RTW: _btmpoper_cmd: Didn't get BT response!
RTW: ==>rtw_ps_processor .fw_state(0)
RTW: ==>ips_enter cnts:5
RTW: nolinked power save enter
RTW: ===> rtw_ips_pwr_down...................
RTW: ====> rtw_ips_dev_unload...
RTW: SetHwReg: bMacPwrCtrlOn=0
RTW: <=== rtw_ips_pwr_down..................... in 10ms

What is interesting I have the exact same board (the same OS, kernel version, device tree and hardware) except for the wifi module rtl8822bs and it works out nice (with a respective driver, of course), so I am not sure my rootfs is configured wrong.
I also managed to compile Android OS on the Allwinner board (which used to be Linux) and compiled the 8723ds driver for it but wifi still does not work, the log is the same as for the LInux. So I believe it is not the kernel distinction that is to blame as well.

This issue might not be in the current driver software, but how can I troubleshoot it further?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant