Hi
I try to porting MCP-WiLink_Driver_2.5.3.0.18 to pandaboard.
linux kernel:2.6.35
os: linux
But i got some issue after "./tiwlan_loader".
Does anyone know what's going on???
ini file:
# Note: The letters in this file are NOT case sensitive. SmeConnectMode = 0 #0 - auto, 1 - manual ScanResultAging = 60 # in Second - range 0..1000 WME_Enable = 1 #0=diable WME support / 1=Enable dot11NetworkType = 3 #2 - A only mode, 3 - B/G mode, 4 - A/G Dual mode 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 #0 -Disabled 1- Enabled BThWlanCoexistEnable = 1 #0 - SG disable, 1 - SG protective TxAggregationPktsLimit = 0 # Tx packets aggregation ( disable - 0 ) # # Power Manager # BeaconListenInterval = 1 # the number of N-Beacon or N-DTim DtimListenInterval = 1 # ReAuthActivePriority = 0 dot11PowerMode = 0 #0 - Auto #1 - Active #2 - Short Doze #3 - Long Doze PowerMgmtHangOverPeriod = 10 #in mSec units AutoPowerModeDozeMode = 2 #2 - Short Doze #3 - Long Doze AutoPowerModeActiveTh = 0 #packets per second AutoPowerModeDozeTh = 0 #packets per seconds - threshold for entering ELP in Auto mode defaultPowerLevel = 0 #0 - ELP #1 - PD #2 - AWAKE PowerSavePowerLevel = 0 #0 - ELP #1 - PD #2 - AWAKE DcoItrimEnabled = 0 # 0 - Disabled 1 - Enabled DcoItrimModerationTimeout = 50000 TxPower = 205 #set Default Tx Power Level in DBM * 10 dot11FragmentationThreshold = 4096 dot11RTSThreshold = 4096 WPAMixedMode= 1 RSNPreAuthentication = 1 CalibrationChannel24 = 1 CalibrationChannel5 = 36 # Regulatury Domain tables. # Each byte correlates to one channel in sequential order. Table 2.4 starts from channel 1, Table 5.0 starts from channel 36. # Bits 0..4 - Max power allowed in Dbm. # Bit 6 - Channel is allowed for Active scan # BIt 7 - Channel is allowed AllowedChannelsTable24 = FFFFFFFFFFFFFFFFFFFFFFFFFFFF AllowedChannelsTable5 = FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000 SpectrumManagement = 0 # 0 - Disable 802.11h, 1 - Enable RxBroadcastInPs = 1 #arp ip filter - must be written 8 characters for example 10.2.43.3 -> 0a 02 2b 21 and not a 2 2b 21 ArpIp_Addr = 0a 02 0a b7 ArpIp_Filter_ena = 0 #mac filter Mac_Filter_Enabled = 0 # Multicast filter is disable. numGroupAddrs = 0 # 0 = all mulicast frames are filterd, 1-8 enable group address from below 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 Beacon_Filter_Desired_State = 1 Beacon_Filter_Stored = 1 #beacon IE table #the size is the len of the string - spaces = number of bytes 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 # rate policy - short / long retries RatePolicyUserShortRetryLimit = 10 RatePolicyUserLongRetryLimit = 10 #rate policies #rates guide: -->>mcs7,msc6,mcs5,mcs4,mcs3,mcs2,mcs1,mcs0,54,58,36,24,22,18,12,11,9,6,5.5,2,1 OsDbgState = 0x01e9003c # -1 or 0xffffffff -all (opens debug messages in o.s. only - sevirity+modules) ############################################################# # Configure the severity table (0 = Disable/ 1 = Enable) # # Byte #0: Init # Byte #1: Information # Byte #2: Warning # Byte #3: Error # Byte #4: Fatal Error # Byte #5: SM # Byte #6: Console ############################################################# ReportSeverityTable = "0001101" BeaconReceiveTime = 50 # # QOS UPSD # desiredPsMode = 1 # Global Power save delivery protocol (1 - UPSD, 0 - Legacy) QOS_wmePsModeBE = 0 # Power save delivery protocol for BE AC (1 - UPSD, 0 - Legacy) QOS_wmePsModeBK = 0 # Power save delivery protocol for BK AC (1 - UPSD, 0 - Legacy) QOS_wmePsModeVI = 0 # Power save delivery protocol for VI AC (1 - UPSD, 0 - Legacy) QOS_wmePsModeVO = 1 # Power save delivery protocol for VO AC (1 - UPSD, 0 - Legacy) # # QOS Classifier # Clsfr_Type = 1 # 1 - DSCP, 2 - Port, 3 - IP+port NumOfCodePoints = 4 DSCPClassifier00_CodePoint = 0 #Best Effort DSCPClassifier00_DTag = 0 DSCPClassifier01_CodePoint = 8 #Background DSCPClassifier01_DTag = 1 DSCPClassifier02_CodePoint = 40 #Video DSCPClassifier02_DTag = 5 DSCPClassifier03_CodePoint = 56 #Voice DSCPClassifier03_DTag = 6 dot11MaxReceiveLifetime=512000 WiFiAdhoc = 0 WiFiWmmPS = 0 # Use 1 on WiFi test in order to configure PS to work in WMM mode TriggeredScanTimeOut = 50000 # Maximum time in Us between 2 channels on triggered scan # PsPoll delivery failure solution PsPollDeliveryFailureRecoveryPeriod = 20 # Time in Ms to stay ACTIVE ('0' to disable feature) ConsecutivePsPollDeliveryFailureThreshold = 4 # Number of failed PsPoll's to start ACTIVE time out #Auto Rx streaming PsTrafficPeriod = 20 # Weights in percent for RSSI/SNR Average calculations RssiBeaconAverageWeight = 20 RssiPacketAverageWeight = 10 SnrBeaconAverageWeight = 20 SnrPacketAverageWeight = 10 HT_Enable=1 # 0 = diable 802.11n support / 1=Enable IbssProtectionType = 1 # 0 = CTS protaction disable ; 1 = Standard CTS protaction BurstModeEnable = 0 # 0 - Disabled 1 - Enabled RoamScanEnable = 0 # 1- roaming and immidate scan enable by deafult 0- allowing roaming & scannig due to CLI confguration RoamingOperationalMode = 1 # 0=Manual , 1=Auto SendTspecInReassPkt = 0 # 0=do not send, 1=send FmCoexuSwallowPeriod = 5 FmCoexuNDividerFrefSet2 = 12 FmCoexuMDividerFrefSet2 = 148 BaPolicyTid_0 = 3 #=========================== Radio parameters - Start ======================== #--------------------- General Radio Parameters ------------------------ TXBiPFEMAutoDetect = 0 # Unit: Options (0: Manual Mode; 1: Automatic mode), Format: Unsigned, Source: Customer TXBiPFEMManufacturer = 1 # Unit: Options(Bit 0 - Manufacturer (0: FEM0-RFMD; 1: FEM1-TQS), # Bit 4..7: Version number ), # Format: Unsigned, Source: Customer STRFRefClock = 2 # Unit: Options 5'bXX000 : Bit 0,1,2 - (0: 19.2MHz; 1: 26MHz; 2: 38.4MHz (Default); 3: 52MHz; 4: 38.4MHz XTAL) ; # 5'bX0XXX : Bit 3 - CLK_REQ type; 0 = wired-OR (Default) , 1= push-pull # 5'b0XXXX : Bit 4 - CLK_REQ polarity; 0 = Normal (Default) , 1=Inverted, Format: Unsigned, Source: Customer STRFRefClockSettingTime = 5 # Unit: ms (range 0-15), Format: Unsigned, Source: Customer ClockValidOnWakeup = 0 # Unit: Options (0: Reference clock not valid; 1: Reference clock is valid and stable), Format: Unsigned, Source: Customer DC2DCMode = 0 # Unit: Options (Bit0: DC2DC mode (0: btSPI is not used;1: btSPI used mux DC2DC to BT_FUNC2), # Bit1: Level shifter support (0: No LS, 1: With LS) ) # Format: Unsigned, Source: Customer Single_Dual_Band_Solution = 0 # Unit: Options (0: Single band. 2.4GHz only; 1: Dual band = 2.4GHz and 5GHz solution), Format: Unsigned, Source: Customer Settings = 1 # Unit: Options (Bit0: NBI (0: Off; 1: On), Bit1: Telec channel 14 (0: Off; 1: On), # Bit2: FEM0-LB, Bit3: FEM0-HB, Bit4: FEM1-LB, Bit5: FEM1-HB - TX BiP load (0: Internal; 1: External), # Bit6: LPD Low band, Bit7: LPD High band # Format: Unsigned, Source: Customer SRF1 = 07,03,18,10,05,fb,f0,e8, 0,0,0,0,0,0,0f,3f # Unit: SRF1 values, Format: Signed, Source: TI SRF2 = 07,03,18,10,05,f6,f0,e8 # Unit: SRF2 values, Format: Signed, Source: TI SRF3 = 07,03,18,10,05,fb,f0,e8 # Unit: SRF3 values, Format: Signed, Source: TI RxTraceInsertionLoss_2_4G = 0 # Unit: 1/8dB, Format: Unsigned, Source: Customer TXTraceLoss_2_4G = 0 # Unit: 1/8dB, Format: Unsigned, Source: Customer RxRssiAndProcessCompensation_2_4G = ec,f6,00,0c,18,f8,fc,00,08,10,f0,f8,00,0a,14 # Unit: 1/8dB, Format: Signed, Source: TI #-------------------- Radio parameters for TQS_S_2.6 --------------- 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 # --------------------------------------------------------------------- #-------------------- Radio parameters for RFMD_S_3.0 --------------- #TXBiPReferencePDvoltage_2_4G = 356 # 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 = 50,50,50,50,50,50 # Unit: 1/2dB, Format: Signed, Source: Customer #TxPerRatePowerLimits_2_4G_Degraded = 50,50,50,50,50,50 # Unit: 1/2dB, Format: Signed, Source: Customer #TxPerRatePowerLimits_2_4G_Extreme = 50,50,50,50,50,50 # 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 = 15,15,1a,1f,1f,2f # Unit: Codeword, Format: Unsigned, Source: TI #RxFemInsertionLoss_2_4G = 16 # Unit: 1/8dB, Format: Unsigned, Source: TI # --------------------------------------------------------------------- #-------------------- Radio parameters for TQS_S_2.5 --------------- #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,28,29 # Unit: 1/2dB, Format: Signed, Source: Customer #TxPerRatePowerLimits_2_4G_Degraded = 1a,1f,22,24,26,28 # 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 # --------------------------------------------------------------------- #=========================== Radio parameters - End ==========================
starting pid 1345, tty '/dev/ttyO2': '/bin/sh'
/ # cd /home/root/tiwlan/
~/tiwlan # insmod sdio.ko g_sdio_debug_level=8
sdioDrv_init: Debug mode
TI WiLink 1271 SDIO: Driver loaded
~/tiwlan # insmod tiwlan_drv.ko
TIWLAN: driver init
TIWLAN: 1080.988698:
Zoom2 use external board configuration as well
Austin drvMain_InitLocals
Austin hPlatform_DevicePowerOff
Austin wifi_set_power = 0
sdp4430_wifi_power: 0
Austin sdp4430_wifi_power:on:0
sdp4430_wifi_set_carddetect: 0
Austin sdp4430_wifi_set_carddetect:line:60
Austin omap_hsmmc_status_notify_cb
Austin omap_hsmmc_status_notify_cb :carddetect= 0
~/tiwlan # ./tiwlan_loader
TIWLAN: 1084.348714: pInitParams->RoamingScanning_2_4G_enable 0
Austin wifi_set_power = 1
sdp4430_wifi_power: 1
Austin sdp4430_wifi_power:on:1
Austin wifi_set_power = 0
sdp4430_wifi_power: 0
Austin sdp4430_wifi_power:on:0
Austin wifi_set_power = 1
sdp4430_wifi_power: 1
Austin sdp4430_wifi_power:on:1
sdp4430_wifi_reset: 0
sdp4430_wifi_set_carddetect: 1
Austin sdp4430_wifi_set_carddetect:line:60
Austin omap_hsmmc_status_notify_cb
Austin omap_hsmmc_status_notify_cb :carddetect= 1
mmc1: card claims to support voltages below the defined range. These will be ignored.
mmc1: new SDIO card at address 0001
TIWLAN: probed with vendor 0x104c, device 0x9066, class 0x7
TIWLAN: Found TI/WLAN SDIO controller (vendor 0x104c, device 0x9066, class 0x7)
sdioAdapt_ConnectBus(): Block-Size 256 should be bigger than SYNC_ASYNC_LENGTH_THRESH 512!!
sdioDrv_EnableFunction: func 2
sdioDrv_SetBlockSize: func 2, blksz = 256
sdioDrv_WriteSyncBytes: uFunc 0 uHwAddr 131068 pData dc280000 uLen 1
generic_write_bytes: uFunc 0 uHwAddr 131068 pData dc280000 uLen 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131012 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131008 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131020 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131016 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131028 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131024 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 131032 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 108084 pData dc280000 uLen 4 bIncAddr 1
TIWLAN: 1085.689015: Working on a 1273 PG 2.0 board.
sdioDrv_WriteSync: uFunc 2 uHwAddr 88436 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_WriteSync: uFunc 2 uHwAddr 88448 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
sdioDrv_ReadSync: uFunc 2 uHwAddr 88444 pData dc280000 uLen 4 bIncAddr 1
Austin drvMain_Sm: line=1739
sdioDrv_DisableFunction: func 2
Austin drvMain_Sm: line=1715
Austin hPlatform_DevicePowerOff
Austin wifi_set_power = 0
sdp4430_wifi_power: 0
Austin sdp4430_wifi_power:on:0
sdp4430_wifi_set_carddetect: 0
Austin sdp4430_wifi_set_carddetect:line:60
Austin omap_hsmmc_status_notify_cb
Austin omap_hsmmc_status_notify_cb :carddetect= 0
tiwlan_sdio_remove
mmc1: card 0001 removed
os_SignalObjectWait: 10 sec os_SignalObjectWait timeout