Hi,
We are using dvsdk 4.02 with linux kernel 2.6.32 and trying to port USB WIfi module based upon Realtek RTL8192cu chipset. We are able to cross compile it and make it work but its not working reliably. It gets disconnected frequently with following error logs:
no beacon to call receive_disconnect()
receive_disconnect
rtl8192: delete STA
roaming from UBNT_BULLET(00:27:22:e2:b5:fa), length:11
rtw_select_and_join_from_scanned_queue: return _FAIL(candidate == NULL)
rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
survey done event(0)
rtw_select_and_join_from_scanned_queue: return _FAIL(candidate == NULL)
try_to_join, but select scanning queue fail, to_roaming:2
rtl8192c_dm_RF_Saving(): RF_Normal
survey done event(0)
rtw_select_and_join_from_scanned_queue: return _FAIL(candidate == NULL)
try_to_join, but select scanning queue fail, to_roaming:1
rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
This solved by re connecting the USB module.
------------------------------------------------------------------------------------------
When following logs appear reboot is required to make wifi work again:
===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
FirmwareDownload92C accquire FW from embedded image
fw_ver=v80, fw_subver=0, sig=0x88c0
fw download ok!
Set RF Chip ID to RF_6052 and RF type to 1T1R.
IQK:Start!!!
Path A Rx IQK fail!!
Path A Rx IQK fail!!
Path A IQK Only Tx Success!!
Path A Rx IQK fail!!
Path A Rx IQK fail!!
Path A IQK Only Tx Success!!
IQK: final_candidate is 0
IQK: RegE94=103 RegE9C=f RegEA4=0 RegEAC=0 RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
Path A IQ Calibration Success !
_PHY_PathAFillIQKMatrix only Tx OK
pdmpriv->TxPowerTrackControl = 1
MAC Address from REG_MACID = 00:c0:ca:66:09:5e
rtl8192cu_hal_init in 620ms
MAC Address = 00:c0:ca:66:09:5e
-871x_drv - drv_open, bup=1
ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@IPCAMERA:~# iwconfig wlan0 mode managed
set_mode = IW_MODE_INFRA
root@IPCAMERA:~# iwconfig wlan0 channel 1
root@IPCAMERA:~# iwconfig wlan0 essid UBNT_BULLET
=>rtw_wx_set_essid
ssid=UBNT_BULLET, len=11
Set SSID under fw_state=0x00000008
<=rtw_wx_set_essid, ret 0
root@IPCAMERA:~# ifconfig wlan0 10.0.0.253 netmask 255.255.255.0
root@IPCAMERA:~# survey done event(16)
[by_bssid:0][assoc_ssid:UBNT_BULLET][to_roaming:0] new candidate: UBNT_BULLET(00:27:22:e2:b5:fa) rssi:-36
rtw_select_and_join_from_scanned_queue: candidate: UBNT_BULLET(00:27:22:e2:b5:fa)
link to new AP
link_timer_hdl:no beacon while connecting
report_join_res(-3)
_rtw_join_timeout_handler, fw_state=8
rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
--------------------------------------------------------------------------------
Has anyone reliably used Realtek 8192cu on DM36x EVM? If yes, kindly let us know the steps and also the driver version used.