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_run
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
davinci-mmc davinci-mmc.1: Supporting 4-bit mode
davinci-mmc davinci-mmc.1: Using DMA mode
tiwlan_drv: no version for "sdioDrv_WriteSync" found: kernel tainted.
TIWLAN: driver init
TIWLAN: 1030.512679:
Zoom2 use external board configuration as wellIRQNUM=44
fall after readb
hPlatform_initInterrupt: call request_irq IRQF_TRIGGER_FALLING
name=tiwlan0
g_drv_name=tiwlan0
wlanDrvIf_Open()
+---------------------------+
| wlan_loader: initializing |
+---------------------------+
opened files
read eeprom file
read firmware file
read ini file
load driver default
TIWLAN: 1031.048942: pInitParams->RoamingScanning_2_4G_enable 0
b4 sdioDrv_ConnectBus
: clock 24000000Hz busmode 2 powermode 1 cs 0 Vdd 5 width 2
Enabling 4 bit mode
after sdioDrv_ConnectBus
Unbalanced enable for IRQ 27
ifconfig/661[CPU#0]: BUG in enable_irq at kernel/irq/manage.c:124
after sdioDrv_ExecuteCmd
TIWLAN: 1032.168646: CHIP VERSION... set 1273 chip top registers
TIWLAN: 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 address
TIWLAN: 1032.190403: pHwInit->uEEPROMCurLen: 1c
TIWLAN: 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 1
TIWLAN: 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.144
TIWLAN: 1032.381573: Interrogate TX/RX parameters
Firmware Version: Rev 6.1.0.0.335
TIWLAN: 1032.389656: Station ID : 08-00-28-12-34-56
TIWLAN: 1032.394735: --------------------------------------------------------------------
TIWLAN: 1032.402748:
2\# ./wlan_cu
ERROR - 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, Quit
a
.../scAn> Start, sTop, Wextstart, configApp/, configpEriodic/, configPolicy/
s
Application scan started
t
Application scan stopped
..
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
c
.../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/
b
BssId List: Num=0
MAC Privacy Rssi Mode Channel SSID
3. somtimes I can find the AP,but when I connect it , it goes error
c
TIWLAN: 2072.336957: conn , CONSOLE:-------------------------------------
TIWLAN: 2072.345191: conn , CONSOLE: CONN LOST
TIWLAN: 2072.353496: conn , CONSOLE:-------------------------------------
TIWLAN: 2072.361777: -------------------------------------
TIWLAN: 2072.367089: CONN LOST
TIWLAN: 2072.372338: -------------------------------------
4、wpa_supplicant.txt
ctrl_interface=/var/run
update_config=1
network={
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,14
SmeScanAChannelList = 36,40,44,48,52,56,60,64
RecoveryEnable = 1
BThWlanCoexistEnable = 1
TxAggregationPktsLimit = 0
BeaconListenInterval = 1
DtimListenInterval = 1
ReAuthActivePriority = 0
dot11PowerMode = 1
PowerMgmtHangOverPeriod = 10
AutoPowerModeDozeMode = 2
AutoPowerModeActiveTh = 0
AutoPowerModeDozeTh = 0
defaultPowerLevel = 2
PowerSavePowerLevel = 2
DcoItrimEnabled = 0
DcoItrimModerationTimeout = 50000
TxPower = 205
dot11FragmentationThreshold = 4096
dot11RTSThreshold = 4096
WPAMixedMode= 1
RSNPreAuthentication = 1
CalibrationChannel24 = 1
CalibrationChannel5 = 36
AllowedChannelsTable24 = FFFFFFFFFFFFFFFFFFFFFFFFFFFF
AllowedChannelsTable5 = FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000
SpectrumManagement = 0
RxBroadcastInPs = 1
ArpIp_Addr = 0a 02 0a b7
ArpIp_Filter_ena = 0
Mac_Filter_Enabled = 0
numGroupAddrs = 0
Group_addr0 = 01 80 c2 00 00 00
Group_addr1 = 11 11 12 13 14 15
Group_addr2 = 12 21 22 23 24 25
Group_addr3 = 13 31 32 33 34 35
Group_addr4 = 14 41 42 43 44 45
Group_addr5 = 15 51 52 53 54 55
Group_addr6 = 16 61 62 63 64 65
Group_addr7 = 17 71 72 73 74 75
Beacon_Filter_Desired_State = 1
Beacon_Filter_Stored = 1
Beacon_IE_Num_Of_Elem = 16
Beacon_IE_Table_Size = 37
Beacon_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 01
RatePolicyUserShortRetryLimit = 10
RatePolicyUserLongRetryLimit = 10
OsDbgState = 0x01e9003c
ReportSeverityTable = "0001101"
BeaconReceiveTime = 50
desiredPsMode = 1
QOS_wmePsModeBE = 0
QOS_wmePsModeBK = 0
QOS_wmePsModeVI = 0
QOS_wmePsModeVO = 1
Clsfr_Type = 1
NumOfCodePoints = 4
DSCPClassifier00_CodePoint = 0
DSCPClassifier00_DTag = 0
DSCPClassifier01_CodePoint = 8
DSCPClassifier01_DTag = 1
DSCPClassifier02_CodePoint = 40
DSCPClassifier02_DTag = 5
DSCPClassifier03_CodePoint = 56
DSCPClassifier03_DTag = 6
dot11MaxReceiveLifetime=512000
WiFiAdhoc = 0
WiFiWmmPS = 0
TriggeredScanTimeOut = 50000
PsPollDeliveryFailureRecoveryPeriod = 20
ConsecutivePsPollDeliveryFailureThreshold = 4
PsTrafficPeriod = 20
# Weights in percent for RSSI/SNR Average calculations
RssiBeaconAverageWeight = 20
RssiPacketAverageWeight = 10
SnrBeaconAverageWeight = 20
SnrPacketAverageWeight = 10
HT_Enable=1
IbssProtectionType = 1
BurstModeEnable = 0
RoamScanEnable = 0
RoamingOperationalMode = 1
SendTspecInReassPkt = 0
FmCoexuSwallowPeriod = 5
FmCoexuNDividerFrefSet2 = 12
FmCoexuMDividerFrefSet2 = 148
BaPolicyTid_0 = 3
TXBiPFEMAutoDetect = 0
TXBiPFEMManufacturer = 1
STRFRefClock =4
STRFRefClockSettingTime = 5
ClockValidOnWakeup = 0
DC2DCMode = 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: TI
TxBiPReferencePower_2_4G = 128 # Unit: 1/8dB, Format: Signed, Source: TI
TxBiPOffsetdB_2_4G = 0 # Unit: 1/8dB, Format: Signed, Source: Customer
TxPerRatePowerLimits_2_4G_Normal = 1d,1f,22,26,27,29 # Unit: 1/2dB, Format: Signed, Source: Customer
TxPerRatePowerLimits_2_4G_Degraded = 1a,1f,22,25,25,27 # Unit: 1/2dB, Format: Signed, Source: Customer
TxPerRatePowerLimits_2_4G_Extreme = 16,1d,1e,20,24,25 # Unit: 1/2dB, Format: Signed, Source: Customer
DegradedLowToNormalThr_2_4G = 30 # Unit: 1/10 volts, Format: Unsigned, Source: TI
NormalToDegradedHighThr_2_4G = 45 # Unit: 1/10 volts, Format: Unsigned, Source: TI
TxPerChannelPowerLimits_2_4G_11b = 50,50,50,50,50,50,50,50,50,50,50,50,50,50 # Unit: 1/2dB, Format: Signed, Source: Customer
TxPerChannelPowerLimits_2_4G_OFDM = 50,50,50,50,50,50,50,50,50,50,50,50,50,50 # Unit: 1/2dB, Format: Signed, Source: Customer
TxPDVsRateOffsets_2_4G = 01,02,02,02,02,00 # Unit: 1/8dB, Format: Signed, Source: TI
TxIbiasTable_2_4G = 11,11,15,11,15,0f # Unit: Codeword, Format: Unsigned, Source: TI
RxFemInsertionLoss_2_4G = 14 # Unit: 1/8dB, Format: Unsigned, Source: TI