Hi All
I'm running WiLink_Driver_6.1.0.0.144(murata wifi module and driver source code) with 24M clock on my dm365 board.
STRFRefClock =4 for I use 38.4M XTAL. But when I run wlan_cu, it is hard to find any access point even though I put it close to the AP.
1、# ./sta_rundavinci-mmc davinci-mmc.0: Supporting 4-bit modedavinci-mmc davinci-mmc.0: Using DMA modedavinci-mmc davinci-mmc.1: Supporting 4-bit modedavinci-mmc davinci-mmc.1: Using DMA modetiwlan_drv: no version for "sdioDrv_WriteSync" found: kernel tainted.TIWLAN: driver initTIWLAN: 1030.512679:Zoom2 use external board configuration as wellIRQNUM=44fall after readbhPlatform_initInterrupt: call request_irq IRQF_TRIGGER_FALLINGname=tiwlan0g_drv_name=tiwlan0wlanDrvIf_Open()+---------------------------+| wlan_loader: initializing |+---------------------------+opened filesread eeprom fileread firmware fileread ini fileload driver defaultTIWLAN: 1031.048942: pInitParams->RoamingScanning_2_4G_enable 0b4 sdioDrv_ConnectBus: clock 24000000Hz busmode 2 powermode 1 cs 0 Vdd 5 width 2Enabling 4 bit modeafter sdioDrv_ConnectBusUnbalanced enable for IRQ 27ifconfig/661[CPU#0]: BUG in enable_irq at kernel/irq/manage.c:124after sdioDrv_ExecuteCmdTIWLAN: 1032.168646: CHIP VERSION... set 1273 chip top registersTIWLAN: 1032.175993: Working on a 1273 PG 2.0 board.TIWLAN: 1032.180955: Starting to process NVS...TIWLAN: 1032.185262: No Nvs, Setting default MAC addressTIWLAN: 1032.190403: pHwInit->uEEPROMCurLen: 1cTIWLAN: 1032.194694: ERROR: If you are not calibating the device, you will soon get errors !!!TIWLAN: 1032.203764: Chip ID is 0x4030111.TIWLAN: 1032.209388: FEM Type 1TIWLAN: 1032.265046: Starting to download firmware...TIWLAN: 1032.282795: Starting to download firmware...TIWLAN: 1032.288268: Starting to download firmware...TIWLAN: 1032.297768: Starting to download firmware...TIWLAN: 1032.305156: Starting to download firmware...TIWLAN: 1032.311498: Finished downloading firmware.TIWLAN: 1032.316354: Firmware running.TIWLAN: 1032.336400: Starting to download firmware...TIWLAN: 1032.341516:TIWLAN: 1032.349376: --------------------------------------------------------------------TIWLAN: 1032.365752: Driver Version : WiLink_Driver_6.1.0.0.144TIWLAN: 1032.381573: Interrogate TX/RX parametersFirmware Version: Rev 6.1.0.0.335TIWLAN: 1032.389656: Station ID : 08-00-28-12-34-56TIWLAN: 1032.394735: --------------------------------------------------------------------TIWLAN: 1032.402748:
2\# ./wlan_cuERROR - IpcWpa_Sockets_Open - can't connect the socket******************************************************Connection to supplicant failed******************************************************user_main, start\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quita.../scAn> Start, sTop, Wextstart, configApp/, configpEriodic/, configPolicy/sApplication scan startedtApplication scan stopped..\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quitc.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/
bBssId List: Num=0 MAC Privacy Rssi Mode Channel SSID
3. somtimes I can find the AP,but when I connect it , it goes error
cTIWLAN: 2072.336957: conn , CONSOLE:-------------------------------------TIWLAN: 2072.345191: conn , CONSOLE: CONN LOST TIWLAN: 2072.353496: conn , CONSOLE:-------------------------------------TIWLAN: 2072.361777: -------------------------------------TIWLAN: 2072.367089: CONN LOSTTIWLAN: 2072.372338: -------------------------------------
4、wpa_supplicant.txt
ctrl_interface=/var/run update_config=1network={ ssid="vwlan2007" key_mgmt=NONE}
5、tiwlan.ini
SmeConnectMode = 0 ScanResultAging = 60 WME_Enable = 1 dot11NetworkType = 3 SmeScanGChannelList = 1,2,3,4,5,6,7,8,9,10,11,12,13,14SmeScanAChannelList = 36,40,44,48,52,56,60,64RecoveryEnable = 1 BThWlanCoexistEnable = 1 TxAggregationPktsLimit = 0 BeaconListenInterval = 1 DtimListenInterval = 1 ReAuthActivePriority = 0dot11PowerMode = 1 PowerMgmtHangOverPeriod = 10 AutoPowerModeDozeMode = 2 AutoPowerModeActiveTh = 0 AutoPowerModeDozeTh = 0 defaultPowerLevel = 2 PowerSavePowerLevel = 2 DcoItrimEnabled = 0 DcoItrimModerationTimeout = 50000TxPower = 205 dot11FragmentationThreshold = 4096dot11RTSThreshold = 4096WPAMixedMode= 1RSNPreAuthentication = 1CalibrationChannel24 = 1CalibrationChannel5 = 36AllowedChannelsTable24 = FFFFFFFFFFFFFFFFFFFFFFFFFFFFAllowedChannelsTable5 = FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000SpectrumManagement = 0 RxBroadcastInPs = 1ArpIp_Addr = 0a 02 0a b7ArpIp_Filter_ena = 0Mac_Filter_Enabled = 0 numGroupAddrs = 0 Group_addr0 = 01 80 c2 00 00 00Group_addr1 = 11 11 12 13 14 15Group_addr2 = 12 21 22 23 24 25Group_addr3 = 13 31 32 33 34 35Group_addr4 = 14 41 42 43 44 45Group_addr5 = 15 51 52 53 54 55Group_addr6 = 16 61 62 63 64 65Group_addr7 = 17 71 72 73 74 75Beacon_Filter_Desired_State = 1Beacon_Filter_Stored = 1Beacon_IE_Num_Of_Elem = 16Beacon_IE_Table_Size = 37Beacon_IE_Table = 00 01 01 01 32 01 2a 01 03 01 06 01 07 01 20 01 25 01 23 01 30 01 28 01 2e 01 3d 01 85 01 dd 01 00 52 f2 02 00 01RatePolicyUserShortRetryLimit = 10RatePolicyUserLongRetryLimit = 10OsDbgState = 0x01e9003c ReportSeverityTable = "0001101"BeaconReceiveTime = 50desiredPsMode = 1 QOS_wmePsModeBE = 0 QOS_wmePsModeBK = 0 QOS_wmePsModeVI = 0 QOS_wmePsModeVO = 1 Clsfr_Type = 1 NumOfCodePoints = 4DSCPClassifier00_CodePoint = 0 DSCPClassifier00_DTag = 0DSCPClassifier01_CodePoint = 8 DSCPClassifier01_DTag = 1DSCPClassifier02_CodePoint = 40 DSCPClassifier02_DTag = 5DSCPClassifier03_CodePoint = 56 DSCPClassifier03_DTag = 6dot11MaxReceiveLifetime=512000WiFiAdhoc = 0WiFiWmmPS = 0 TriggeredScanTimeOut = 50000PsPollDeliveryFailureRecoveryPeriod = 20 ConsecutivePsPollDeliveryFailureThreshold = 4 PsTrafficPeriod = 20# Weights in percent for RSSI/SNR Average calculationsRssiBeaconAverageWeight = 20RssiPacketAverageWeight = 10SnrBeaconAverageWeight = 20SnrPacketAverageWeight = 10HT_Enable=1 IbssProtectionType = 1 BurstModeEnable = 0 RoamScanEnable = 0 RoamingOperationalMode = 1 SendTspecInReassPkt = 0 FmCoexuSwallowPeriod = 5FmCoexuNDividerFrefSet2 = 12FmCoexuMDividerFrefSet2 = 148BaPolicyTid_0 = 3TXBiPFEMAutoDetect = 0 TXBiPFEMManufacturer = 1 STRFRefClock =4 STRFRefClockSettingTime = 5ClockValidOnWakeup = 0DC2DCMode = 0 Single_Dual_Band_Solution = 0 Settings = 1 SRF1 = 07,03,18,10,05,fb,f0,e8, 0,0,0,0,0,0,0f,3f SRF2 = 07,03,18,10,05,f6,f0,e8 SRF3 = 07,03,18,10,05,fb,f0,e8 RxTraceInsertionLoss_2_4G = 0 TXTraceLoss_2_4G = 0 RxRssiAndProcessCompensation_2_4G = ec,f6,00,0c,18,f8,fc,00,08,10,f0,f8,00,0a,14 TXBiPReferencePDvoltage_2_4G = 375 # Unit: 1mV, Format: Unsigned, Source: TITxBiPReferencePower_2_4G = 128 # Unit: 1/8dB, Format: Signed, Source: TITxBiPOffsetdB_2_4G = 0 # Unit: 1/8dB, Format: Signed, Source: CustomerTxPerRatePowerLimits_2_4G_Normal = 1d,1f,22,26,27,29 # Unit: 1/2dB, Format: Signed, Source: CustomerTxPerRatePowerLimits_2_4G_Degraded = 1a,1f,22,25,25,27 # Unit: 1/2dB, Format: Signed, Source: CustomerTxPerRatePowerLimits_2_4G_Extreme = 16,1d,1e,20,24,25 # Unit: 1/2dB, Format: Signed, Source: CustomerDegradedLowToNormalThr_2_4G = 30 # Unit: 1/10 volts, Format: Unsigned, Source: TINormalToDegradedHighThr_2_4G = 45 # Unit: 1/10 volts, Format: Unsigned, Source: TITxPerChannelPowerLimits_2_4G_11b = 50,50,50,50,50,50,50,50,50,50,50,50,50,50 # Unit: 1/2dB, Format: Signed, Source: CustomerTxPerChannelPowerLimits_2_4G_OFDM = 50,50,50,50,50,50,50,50,50,50,50,50,50,50 # Unit: 1/2dB, Format: Signed, Source: CustomerTxPDVsRateOffsets_2_4G = 01,02,02,02,02,00 # Unit: 1/8dB, Format: Signed, Source: TITxIbiasTable_2_4G = 11,11,15,11,15,0f # Unit: Codeword, Format: Unsigned, Source: TIRxFemInsertionLoss_2_4G = 14 # Unit: 1/8dB, Format: Unsigned, Source: TI
Hi,
Murata has external clock source therfore since you used 38,4Mhz then please use STRFRefClock = 2
setting it to 4 might cause the issue you see.
Please try it and let me know.
Thanks,
Eyal
Our board has been changed which used another 38.4Mhz clock for Wifi Module. So STRFRefClock = 4 is the right one I think.
did you try STRFRefClock = 2 ?
I suggest trying that before continue the investigation.
Regards,
Hi Eyal
I have tried STRFRefClock = 2, it is the same.
Hi Iynn,
Since there is an issue to connect to the supplicant (SW integration issue) from the following log:
2\# ./wlan_cuERROR - IpcWpa_Sockets_Open - can't connect the socket******************************************************Connection to supplicant failed******************************************************
Can you try running without supplicant and connect to non secured AP?
The way to start the driver with no security is by running ./wlan_cu –b (with –b option) and then try to scan and connect to non secured AP using the CLI.
I run./wlan_cu –b, and get the same result. It still can't get AP.
Can you please try to perform Calibration before, and set the WiFi MAC address to be unique address?
The way to perform Calibration is in: http://processors.wiki.ti.com/index.php/ARM_Processor_Wireless_Connectivity_FAQ#How_can_I_run_Tx_BIP_.28WLAN_Calibration.29.3F
also same procedure is in http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_Getting_Started_Guide#Performing_WLAN_RF_Calibration
And set unique MAC address is in: http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_Getting_Started_Guide#Setting_the_WLAN_MAC_address
I have change my inductor's value,now it can find and connect to AP.But another question followed now that the connection will lost and reconnect frequently:
# ./wlan_cuERROR - IpcWpa_Sockets_Open - can't connect the socket******************************************************Connection to supplicant failed******************************************************user_main, start\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quitc.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/bBssId List: Num=2 MAC Privacy Rssi Mode Channel SSID 6a.41.7a.18.9c.14 0 -45 Infra 1 ChinaNet-14 6a.41.7a.18.9c.15 0 -45 Infra 1 ChinaNet-15.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/c ChinaNet-14TIWLAN: 1056.113920: rx , ERROR: rxData_rcvPacketInOpenNotify: receiving data packet while in rx port status is open notifyTIWLAN: 1057.081648: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1057.090243: ************ NEW CONNECTION ************TIWLAN: 1057.095782: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1057.103300: -- SSID = ChinaNet-14TIWLAN: 1057.107415: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1057.111883: connInfra , CONSOLE:****************************************TIWLAN: 1057.120430: ****************************************WARNING - IpcEvent_wext_event_rtm_newlink - unsupported rta_type = IFLA_IFNAMEWARNING - IpcEvent_wext_event_rtm_newlink - unsupported rta_type = IFLA_IFNAMETIWLAN: 1066.656141: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1066.664737: ************ NEW CONNECTION ************TIWLAN: 1066.670329: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1066.677857: -- SSID = ChinaNet-14TIWLAN: 1066.681893: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1066.686350: connInfra , CONSOLE:****************************************TIWLAN: 1066.694890: ****************************************WARNING - IpcEvent_wext_event_rtm_newlink - unsupported rta_type = IFLA_IFNAME.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/..\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quitq# ping 192.168.1.1PING 192.168.1.1 (192.168.1.1): 56 data bytesTIWLAN: 1085.361015: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1085.369609: ************ NEW CONNECTION ************TIWLAN: 1085.375148: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1085.382668: -- SSID = ChinaNet-14TIWLAN: 1085.386697: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1085.391250: connInfra , CONSOLE:****************************************TIWLAN: 1085.399789: ****************************************TIWLAN: 1085.973888: rx , ERROR: rxData_receivePacketFromWlan() : MLME returned errorTIWLAN: 1088.619394: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1088.628005: ************ NEW CONNECTION ************TIWLAN: 1088.633526: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1088.641053: -- SSID = ChinaNet-14TIWLAN: 1088.645100: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1088.649621: connInfra , CONSOLE:****************************************TIWLAN: 1088.658151: ****************************************TIWLAN: 1090.699536: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1090.711691: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1091.702747: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1091.714946: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1092.706611: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1092.718846: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue error64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=1771.2 ms64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=778.5 ms64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=2.4 ms64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=6.6 ms64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=2.1 ms64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=2.3 ms64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=2.1 ms64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=2.2 ms64 bytes from 192.168.1.1: icmp_seq=16 ttl=64 time=2.3 ms64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=2.3 ms64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=2.0 msTIWLAN: 1105.858396: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1105.867023: ************ NEW CONNECTION ************TIWLAN: 1105.872543: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1105.880080: -- SSID = ChinaNet-14TIWLAN: 1105.884109: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1105.888627: connInfra , CONSOLE:****************************************TIWLAN: 1105.897166: ****************************************TIWLAN: 1106.699921: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1106.712105: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1107.700924: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1107.713099: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1108.700903: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1108.713059: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1109.705571: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1109.717807: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue error64 bytes from 192.168.1.1: icmp_seq=22 ttl=64 time=4772.8 ms64 bytes from 192.168.1.1: icmp_seq=23 ttl=64 time=3779.7 ms
Hi Lynn,
there are 2 stages here, first to verify if the issue you see is releated to 802.11n mode or not.
can you please set the AP to work in bg mode only and try to conenct and ping to it?
if there is no issue with bg mode, then i would like to understand the 802.11n configuration. can you please send the AP configuration? in addition which AP model are you workin with.
in case you have a wlan sniffer so please capture that and send me the log, from the sniffer i will get the info i need by inspecting the AP beacon.
BTW what is the inductor's value that you modified? which then it started working.
in addition, can you please send me the log of the calibration process? i would like to verify that it is successful
My wifi module works at BG module(dot11NetworkType = 3 ); unfortunatly the AP can't set work mode which print "b/g/n" in the box.
Murata didn't tell me how to calibate it, so I did this follow this:http://processors.wiki.ti.com/index.php/Android_wireless_build_and_porting_guide#WLAN_Calibration;
The log as below:
# ./wlan_cu -itiwlan0 -buser_main, start\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit/ w p\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit.../poWer> set_Power_mode, set_powersave_powerLevel, set_deFault_powerlevel, set_doZe_mode_in_auto, traffic_Thresholds, eNable, Disable, set_dcO_itrimPower mode: 10 - AUTO, 1 - ACTIVE, 2 - SHORT_DOZE, 3 - LONG_DOZE.../poWer> set_Power_mode, set_powersave_powerLevel, set_deFault_powerlevel, set_doZe_mode_in_auto, traffic_Thresholds, eNable, Disable, set_dcO_itrimlPower Level PowerSave is: Awake0 - Extreme Low Power, 1 - Power Down, 2 - Awake.../poWer> set_Power_mode, set_powersave_powerLevel, set_deFault_powerlevel, set_doZe_mode_in_auto, traffic_Thresholds, eNable, Disable, set_dcO_itrimfPower Level Default is: Awake0 - Extreme Low Power, 1 - Power Down, 2 - Awake.../poWer> set_Power_mode, set_powersave_powerLevel, set_deFault_powerlevel, set_doZe_mode_in_auto, traffic_Thresholds, eNable, Disable, set_dcO_itrim
/ t b b 375 128 0\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit.../biT> Bip/, Radio debug/.../Bip> update Buffer calref point, Tx bip, Rx bip/BufferCalReferencePoint was configured succesfully.../Bip> update Buffer calref point, Tx bip, Rx bip// t r h 0 7\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit.../biT> Bip/, Radio debug/.../Radio debug> Get hdk version, cHannel tune, Tx debug/, rx Statistics/Channel tune of channel 7 was performed OK/ t b b 375 128 0\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit.../biT> Bip/, Radio debug/.../Bip> update Buffer calref point, Tx bip, Rx bip/BufferCalReferencePoint was configured succesfully/ t b t 1 0 0 0 0 0 0 0\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit.../biT> Bip/, Radio debug/.../Bip> update Buffer calref point, Tx bip, Rx bip/Entering FillMACAddressToNVSMac[0]=08Mac[1]=00Mac[2]=28Mac[3]=12Mac[4]=34Mac[5]=56exiting FillMACAddressToNVS/\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quitq
#
then I restart this, and it seems the calibate working
# ./sta_rundavinci-mmc davinci-mmc.0: Supporting 4-bit modedavinci-mmc davinci-mmc.0: Using DMA modedavinci-mmc davinci-mmc.1: Supporting 4-bit modedavinci-mmc davinci-mmc.1: Using DMA modetiwlan_drv: no version for "sdioDrv_WriteSync" found: kernel tainted.TIWLAN: driver initTIWLAN: 1045.620964:Zoom2 use external board configuration as wellIRQNUM=44fall after readbhPlatform_initInterrupt: call request_irq IRQF_TRIGGER_FALLINGname=tiwlan0g_drv_name=tiwlan0+---------------------------+|wlanDrvIf_Open() wlan_loader: initializing |+---------------------------+opened files**** nvs file found ./nvs_map.bin ****read eeprom fileread firmware fileread ini fileload driver defaultTIWLAN: 1046.221129: pInitParams->RoamingScanning_2_4G_enable 0b4 sdioDrv_ConnectBus: clock 24000000Hz busmode 2 powermode 1 cs 0 Vdd 5 width 2Enabling 4 bit modeafter sdioDrv_ConnectBusUnbalanced enable for IRQ 27ifconfig/661[CPU#0]: BUG in enable_irq at kernel/irq/manage.c:124after sdioDrv_ExecuteCmdTIWLAN: 1047.338552: CHIP VERSION... set 1273 chip top registersTIWLAN: 1047.345862: Working on a 1273 PG 2.0 board.TIWLAN: 1047.350798: Starting to process NVS...TIWLAN: 1047.355129: NVS found, EEPROM Image addr=0xc39b5c00, EEPROM Len=0x0x1d4TIWLAN: 1047.363111: Chip ID is 0x4030111.TIWLAN: 1047.368629: FEM Type 1TIWLAN: 1047.426075: Starting to download firmware...TIWLAN: 1047.444413: Starting to download firmware...TIWLAN: 1047.449878: Starting to download firmware...TIWLAN: 1047.459516: Starting to download firmware...TIWLAN: 1047.467095: Starting to download firmware...TIWLAN: 1047.473336: Finished downloading firmware.TIWLAN: 1047.478256: Firmware running.TIWLAN: 1047.498456: Starting to download firmware...TIWLAN: 1047.503510:TIWLAN: 1047.511221: --------------------------------------------------------------------TIWLAN: 1047.527721: Driver Verion : WiLink_Driver_6.1.0.0.144TIWLAN: 1047.543369: Interrogate TX/RX parametersFirmware Version: Rev 6.1.0.0.335TIWLAN: 1047.551483: Station ID : 08-00-28-12-34-56TIWLAN: 1047.556579: --------------------------------------------------------------------TIWLAN: 1047.564606:
But the result is the same
# ./wlan_cuERROR - IpcWpa_Sockets_Open - can't connect the socket******************************************************Connection to supplicant failed******************************************************user_main, start\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quita.../scAn> Start, sTop, Wextstart, configApp/, configpEriodic/, configPolicy/sApplication scan startedtApplication scan stopped..\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quitc.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/bBssId List: Num=2 MAC Privacy Rssi Mode Channel SSID 6a.41.7a.18.9c.14 0 -45 Infra 1 ChinaNet-14 6a.41.7a.18.9c.17 0 -45 Infra 1 ChinaNet-13.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/c ChinaNet-14TIWLAN: 1091.517521: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1091.526013: ************ NEW CONNECTION ************TIWLAN: 1091.531642: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1091.539199: -- SSID = ChinaNet-14TIWLAN: 1091.543239: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1091.547787: connInfra , CONSOLE:****************************************TIWLAN: 1091.556266: ****************************************WARNING - IpcEvent_wext_event_rtm_newlink - unsupported rta_type = IFLA_IFNAME/\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quitq# ping 192.168.1.1 -TIWLAN: 1101.927288: conn , CONSOLE:t-------------------------------------TIWLAN: 1101.935603: conn , CONSOLE: CONN LOSTTIWLAN: 1101.943925: conn , CONSOLE:-------------------------------------TIWLAN: 1101.952211: -------------------------------------TIWLAN: 1101.957525: CONN LOSTTIWLAN: 1101.962772: -------------------------------------PING 192.168.1.1 (192.168.1.1): 56 data bytesTIWLAN: 1103.559055: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1103.567668: ************ NEW CONNECTION ************TIWLAN: 1103.573185: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1103.580742: -- SSID = ChinaNet-14TIWLAN: 1103.584772: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1103.589296: connInfra , CONSOLE:****************************************TIWLAN: 1103.597846: ****************************************TIWLAN: 1107.662299: connInfra , CONSOLE:************ NEW CONNECTION ************TIWLAN: 1107.670911: ************ NEW CONNECTION ************TIWLAN: 1107.676422: siteMgr , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1107.683944: -- SSID = ChinaNet-14TIWLAN: 1107.688038: -- BSSID = 6a-41-7a-18-9c-14TIWLAN: 1107.692505: connInfra , CONSOLE:****************************************TIWLAN: 1107.701048: ****************************************TIWLAN: 1108.520636: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1108.532817: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1110.523334: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1110.535526: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue errorTIWLAN: 1111.519440: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0.TIWLAN: 1111.531603: rx , ERROR:rxData_ReceivePacket: Received Packet with Rx queue error64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=1272.3 ms64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=273.4 ms64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=3.5 ms64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=2.4 ms64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=2.2 ms64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=2.3 ms64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=2.2 ms
Can you please tell me the likely causes? Thanks a lot.
Lynn
that is odd since the Station shows error messages ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for ... that is the station receives ADDBA Action frames from the AP which means that the AP is configured to work in n mode.
can you try verifying that and set the AP to bg mode?
Thanks for your help.
I'm sorry there is no option to change the AP's mode on their manage web pages.
Any way, I'm testing the AM1808 EVM now. It can connect to the same AP ,too. But there are two questions about it:
1) I ping the AP with AM1808's wlan mode, it just print:
root@am180x-evm:~# ping 192.168.1.1PING 192.168.1.1 (192.168.1.1): 56 data bytes64 bytes from 192.168.1.1: seq=0 ttl=64 time=2.993 ms64 bytes from 192.168.1.1: seq=1 ttl=64 time=2.678 ms64 bytes from 192.168.1.1: seq=2 ttl=64 time=2.788 ms64 bytes from 192.168.1.1: seq=3 ttl=64 time=4.477 ms64 bytes from 192.168.1.1: seq=4 ttl=64 time=2.715 ms
u see,there is no ":TIWLAN: 1108.520636: RxQueue , ERROR:RxQueue_ReceivePacket: BA event - ADDBA frame for TID already established, TID = 0." was printed.
Is there any differences between LSR's wlan module and Murata's wLan module?
2)The AM1808's log shows that it will lost and reconnect to the AP,too. But my own wlan board is much more frequently. why?
LSR iuses internal clock source of 38.4Mhz TCXO and it need to be configured to STRFRefClock = 2
were Murata uses external clock source of 19.2Mhz, 26Mhz, 38.4Mhz TCXO and it need to configured to:
STRFRefClock = 0 for 19.2MHz;
STRFRefClock = 1 for 26MHz;
STRFRefClock = 2 for 38.4MHz
We use the external clock of 38.4Mhz for Murata module, and set STRFRefClock = 4.