• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » WLAN Applications Forum » wl1273 can't find any AP and can't connect .
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

wl1273 can't find any AP and can't connect .

wl1273 can't find any AP and can't connect .

This question is not answered
lynn ray
Posted by lynn ray
on Jul 04 2011 21:10 PM
Prodigy160 points

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

 

WL1271 WL1273 wireless wl1271 wifi wlan_cu
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Eyal a
    Posted by Eyal a
    on Jul 05 2011 17:47 PM
    Genius9240 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Jul 06 2011 20:10 PM
    Prodigy160 points

    Hi,

       Our board has been changed  which used another 38.4Mhz clock for Wifi Module. So STRFRefClock = 4 is the right one I think.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Jul 10 2011 10:41 AM
    Genius9240 points

    Hi,

    did you try STRFRefClock = 2 ?

    I suggest trying that before continue the investigation.

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Jul 11 2011 20:02 PM
    Prodigy160 points

    Hi Eyal

           I have tried STRFRefClock = 2, it is the same.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Jul 15 2011 17:06 PM
    Genius9240 points

    Hi Iynn,

    Since there is an issue to connect to the supplicant (SW integration issue) from the following log:

    2\# ./wlan_cu
    ERROR - 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.

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Jul 17 2011 20:40 PM
    Prodigy160 points

    Hi Eyal

       I run./wlan_cu –b, and get the same result. It still can't get AP.

     


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Jul 18 2011 07:49 AM
    Genius9240 points

    Hi Iynn,

    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

     Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Aug 08 2011 01:34 AM
    Prodigy160 points

    Hi Eyal

         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_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
    c
    .../Connection> Bssid_list, Connect, Disassociate, Status, Full_bssid_list, wPs/
    b
    BssId 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-14
    TIWLAN: 1056.113920: rx                      , ERROR: rxData_rcvPacketInOpenNotify: receiving data packet while in rx port status is open

    notify
    TIWLAN: 1057.081648: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1057.090243: ************ NEW CONNECTION ************
    TIWLAN: 1057.095782: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1057.103300: -- SSID  = ChinaNet-14
    TIWLAN: 1057.107415: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1057.111883: connInfra               , CONSOLE:****************************************
    TIWLAN: 1057.120430: ****************************************
    WARNING - IpcEvent_wext_event_rtm_newlink - unsupported rta_type = IFLA_IFNAME
    WARNING - IpcEvent_wext_event_rtm_newlink - unsupported rta_type = IFLA_IFNAME
    TIWLAN: 1066.656141: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1066.664737: ************ NEW CONNECTION ************
    TIWLAN: 1066.670329: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1066.677857: -- SSID  = ChinaNet-14
    TIWLAN: 1066.681893: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 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, Quit
    q
    # ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    TIWLAN: 1085.361015: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1085.369609: ************ NEW CONNECTION ************
    TIWLAN: 1085.375148: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1085.382668: -- SSID  = ChinaNet-14
    TIWLAN: 1085.386697: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1085.391250: connInfra               , CONSOLE:****************************************
    TIWLAN: 1085.399789: ****************************************
    TIWLAN: 1085.973888: rx                      , ERROR: rxData_receivePacketFromWlan() : MLME returned error
    TIWLAN: 1088.619394: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1088.628005: ************ NEW CONNECTION ************
    TIWLAN: 1088.633526: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1088.641053: -- SSID  = ChinaNet-14
    TIWLAN: 1088.645100: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 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 error
    TIWLAN: 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 error
    TIWLAN: 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 error
    64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=1771.2 ms
    64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=778.5 ms
    64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=2.4 ms
    64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=6.6 ms
    64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=2.1 ms
    64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=2.3 ms
    64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=2.1 ms
    64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=2.2 ms
    64 bytes from 192.168.1.1: icmp_seq=16 ttl=64 time=2.3 ms
    64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=2.3 ms
    64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=2.0 ms
    TIWLAN: 1105.858396: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1105.867023: ************ NEW CONNECTION ************
    TIWLAN: 1105.872543: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1105.880080: -- SSID  = ChinaNet-14
    TIWLAN: 1105.884109: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 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 error
    TIWLAN: 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 error
    TIWLAN: 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 error
    TIWLAN: 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 error
    64 bytes from 192.168.1.1: icmp_seq=22 ttl=64 time=4772.8 ms
    64 bytes from 192.168.1.1: icmp_seq=23 ttl=64 time=3779.7 ms

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Aug 09 2011 08:38 AM
    Genius9240 points

    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.

    Regards,

    Eyal

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Aug 09 2011 08:40 AM
    Genius9240 points

    Hi Lynn,

    in addition, can you please send me the log of the calibration process? i would like to verify that it is successful

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Aug 11 2011 02:29 AM
    Prodigy160 points

    Hi Eyal

        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 -b
    user_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_itrim
    Power mode: 1
    0 - 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_itrim
    l
    Power Level PowerSave is: Awake
    0 - 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
    f
    Power Level Default is: Awake
    0 - 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 FillMACAddressToNVS
    Mac[0]=08
    Mac[1]=00
    Mac[2]=28
    Mac[3]=12
    Mac[4]=34
    Mac[5]=56
    exiting FillMACAddressToNVS
    /
    \> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
    q

    #

    then I restart this, and it seems the calibate working

    # ./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: 1045.620964:
    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
    ****  nvs file found ./nvs_map.bin ****
    read eeprom file
    read firmware file
    read ini file
    load driver default
    TIWLAN: 1046.221129: 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: 1047.338552: CHIP VERSION... set 1273 chip top registers
    TIWLAN: 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=0x0x1d4
    TIWLAN: 1047.363111: Chip ID is 0x4030111.
    TIWLAN: 1047.368629: FEM Type 1
    TIWLAN: 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.144
    TIWLAN: 1047.543369: Interrogate TX/RX parameters
    Firmware Version: Rev 6.1.0.0.335
    TIWLAN: 1047.551483: Station ID      : 08-00-28-12-34-56
    TIWLAN: 1047.556579: --------------------------------------------------------------------
    TIWLAN: 1047.564606:

    But the result is the same

    # ./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=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-14
    TIWLAN: 1091.517521: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1091.526013: ************ NEW CONNECTION ************
    TIWLAN: 1091.531642: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1091.539199: -- SSID  = ChinaNet-14
    TIWLAN: 1091.543239: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 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, Quit
    q
    # ping 192.168.1.1 -TIWLAN: 1101.927288: conn                    , CONSOLE:t-------------------------------------
    TIWLAN: 1101.935603: conn                    , CONSOLE:               CONN LOST
    TIWLAN: 1101.943925: conn                    , CONSOLE:-------------------------------------
    TIWLAN: 1101.952211: -------------------------------------
    TIWLAN: 1101.957525:                CONN LOST
    TIWLAN: 1101.962772: -------------------------------------

    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    TIWLAN: 1103.559055: connInfra               , CONSOLE:************ NEW CONNECTION ************
    TIWLAN: 1103.567668: ************ NEW CONNECTION ************
    TIWLAN: 1103.573185: siteMgr                 , CONSOLE:-- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 1103.580742: -- SSID  = ChinaNet-14
    TIWLAN: 1103.584772: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 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-14
    TIWLAN: 1107.683944: -- SSID  = ChinaNet-14
    TIWLAN: 1107.688038: -- BSSID = 6a-41-7a-18-9c-14
    TIWLAN: 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 error
    TIWLAN: 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 error
    TIWLAN: 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 error
    64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=1272.3 ms
    64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=273.4 ms
    64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=3.5 ms
    64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=2.4 ms
    64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=2.2 ms
    64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=2.3 ms
    64 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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Aug 11 2011 15:18 PM
    Genius9240 points

    Hi 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,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Aug 15 2011 22:07 PM
    Prodigy160 points

    Hi Eyal

          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.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    64 bytes from 192.168.1.1: seq=0 ttl=64 time=2.993 ms
    64 bytes from 192.168.1.1: seq=1 ttl=64 time=2.678 ms
    64 bytes from 192.168.1.1: seq=2 ttl=64 time=2.788 ms
    64 bytes from 192.168.1.1: seq=3 ttl=64 time=4.477 ms
    64 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?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Aug 30 2011 11:02 AM
    Genius9240 points

    Hi,

    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

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • lynn ray
    Posted by lynn ray
    on Aug 30 2011 20:15 PM
    Prodigy160 points

    Hi Eyal

         We use the external clock of 38.4Mhz for Murata module, and  set STRFRefClock = 4.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use