Hello,
I'm doing a project to port the MCP8.4 driver to a new processor and FreeRTOS OS.
I have got the firmware to be loaded and all initialisation to complete successfully. To continue the porting I have continued to integrate wpa_supplicant.
I have come as far as to scan for AP's and initiate the association.
My problem is that during the association when the driver is to request an authentication there is a TX problem reported. I have logged both in driver and in the WL1835 firmware. logfiles are attached. Below I have extracted the area in the logs where I have identified the problem.
Any ideas what could be the problem?
DriverLog:
: 2194.866933: mlme , INFORMATIONmlme_sendAuthRequest: retryCount = 0, maxCount = 5
: 2194.867762: txCtrl , INFORMATIONtxCtrl_AllocPacketBuffer(): pRawBuf = 0x283b88c0, uPacketLen = 6
: 2194.868306: txMgmtQueue , INFORMATIONtxMgmtQ_Xmit: link 1, RoleType 0
: 2194.868822: txMgmtQueue , INFORMATIONmgmtQueuesSM(hlid=1): <currentState = 2, event = 5> --> nextState = 2, action = 3, MgmtQueEnbl=1, EapolQueEnbl=1
: 2194.869467: txHwQueue , INFORMATIONtxHwQueue_AllocResources: SUCCESS, Length=46, Link=1, AC=3, Req-blks=2 , Free=42, ReservedVo=6, Accumulated=2, Bkprs=0x0
: 2194.870115: txCtrl , INFORMATIONtxCtrl_XmitMgmt: length=6, hlid=1, PktType=1, TxDescAttr=0x1004, TID=7
: 2194.870680: TWDriver , INFORMATIONTWD_TranslateToFwTime: called
: 2194.871160: txXfer , INFORMATIONtxXfer_SendPacket: Len=46 TotalBlks=2 Hlid=1 TxAttr=4100 DescId=0, PadLen=0 AggregNum=1, TID=7
: 2194.871806: TwIf , INFORMATIONtwIf_Awake: eWakeReqId = 6, uAwakeReqVector = 0x350, TotalAwakeCount = 90
: 2194.872361: txCtrl , INFORMATIONtxCtrl_XmitMgmt(): Success, AC=3, Link=1, Backpressure=0x0, Status = 5
: 2194.882938: txXfer , INFORMATIONtxXfer_SendAggregatedPkts: Status=4, NumPkts=1, AggregLen=46, pFirstPkt=0x2835d784, pLastPkt=0x2835d784
...
: 2195.071948: TwIf , INFORMATIONtwIf_Sleep: eWakeReqId = 6, uAwakeReqVector = 0x350, TotalSleepCount = 92
: 2195.072500: txCtrl , INFORMATIONtxCtrl_TxCompleteCb(): Status=1, DataLen=6, hlid=1, DescID=0, AC=3
: 2195.073060: txCtrl , WARNINGtxCtrl_UpdateTxCounters(): TxResult = 1 !!!
: 2195.073555: txCtrl , INFORMATIONtxCtrl_FreePacket(): RawBufFlag = 0x2, pBuf = 0x283b88c0, Len = 6, DescID = 0
: 2195.074146: txHwQueue , INFORMATIONupdateLinkResources: Updated link resources, Link = 1, UsedPkts = 0, MaxPkts=32
WL1835 FirmwareLog:
1,0,2015-05-29 19:49:02.270,0,0,links.c:3290,1,Links_RocRequestCB,"Mgmt_seq: CB request ,request CB handle 34106 ,request handle 34106 , MgmtSeqCnt 1 , CB reason is SCHED_REQ_CALLBACK_REASON_W_END)",80053be610003a853a850102
1,0,2015-05-29 19:49:02.274,0,0,links.c:3316,1,Links_RocRequestCB,Add request from CB,800065e61000
1,0,2015-05-29 19:49:02.277,0,0,roles.c:3726,1,Roles_StartMgmtSeq,"start mgmt seq: roleId = 1, mgmtType=MGMT_SEQ_TYPE_ROC, mgmtId=0x400000, mgmtOngoing=0x400000",80a87783100001000040000040000040
1,0,2015-05-29 19:49:02.279,0,0,links.c:3379,1,Link_AddMgmtSequence,Mgmt_seq: add request RoleIndex is 1 IsRocCommandExisted is 4194304,8008f7e5100001000040
...
1,0,2015-05-29 19:49:02.696,0,0,event_mbox.c:127,1,Service_SetEventMbox,"At Tsf=0x02DBA308, set Event MAX_TX_FAILURE_EVENT_ID, EventData (Byte1)= 1",8007a11a010008a3db02001001
1,0,2015-05-29 19:49:02.699,0,0,event_mbox.c:143,1,Service_SetEventMbox,"event MAX_TX_FAILURE_EVENT_ID inactive, return immediately",8001ad1a01000010
...
1,0,2015-05-29 19:49:02.709,0,0,beacon_dtim_handler.c:2363,1,BeaconDtim_ProbeRequestTxCallback,"Resending probe request, num of attempts: 1",8000ed1c110001
1,0,2015-05-29 19:49:02.712,0,0,roles.c:3726,1,Roles_StartMgmtSeq,"start mgmt seq: roleId = 1, mgmtType=MGMT_SEQ_TYPE_OUT_OF_SYNC, mgmtId=0x200000, mgmtOngoing=0x600000",80a87783100001000020000020000060
...
1,0,2015-05-29 19:49:02.756,0,0,beacon_dtim_handler.c:2363,1,BeaconDtim_ProbeRequestTxCallback,"Resending probe request, num of attempts: 2",8000ed1c110002
1,0,2015-05-29 19:49:02.760,0,0,roles.c:3726,1,Roles_StartMgmtSeq,"start mgmt seq: roleId = 1, mgmtType=MGMT_SEQ_TYPE_OUT_OF_SYNC, mgmtId=0x200000, mgmtOngoing=0x600000",80a87783100001000020000020000060
1,0,2015-05-29 19:49:02.763,0,0,beacon_dtim_handler.c:2363,1,BeaconDtim_ProbeRequestTxCallback,"Resending probe request, num of attempts: 1",8000ed1c110001
1,0,2015-05-29 19:49:02.765,0,0,roles.c:3726,1,Roles_StartMgmtSeq,"start mgmt seq: roleId = 1, mgmtType=MGMT_SEQ_TYPE_OUT_OF_SYNC, mgmtId=0x200000, mgmtOngoing=0x600000",80a87783100001000020000020000060
1,0,2015-05-29 19:49:02.804,0,0,roles.c:3776,1,Roles_StoptMgmtSeq,"stop mgmt seq: roleId = 1, mgmtType=MGMT_SEQ_TYPE_OUT_OF_SYNC, mgmtId=0x200000, mgmtOngoing=0x400000",80a8dd7d100001000020000020000040
1,0,2015-05-29 19:49:02.808,0,0,roles.c:3692,1,Roles_RemoveRxProtectionRequest,"Remove RX Protection Req: roleId = 1, requestType=MGMT_SEQ_TYPE_OUT_OF_SYNC, requestType=0x200000, mgmtOngoing=0x400000",80a8ff88100001000020000020000040
1,0,2015-05-29 19:49:02.810,0,0,beacon_dtim_handler.c:2007,1,BeaconDtim_BssLossEvent,Raising BSS Loss event. role: 1,80006d1d110001
1,0,2015-05-29 19:49:02.813,0,0,event_mbox.c:127,1,Service_SetEventMbox,"At Tsf=0x02DD2A35, set Event BSS_LOSS_EVENT_ID, EventData (Byte1)= 1",8007a11a0100352add02000801
1,0,2015-05-29 19:49:02.816,0,0,event_mbox.c:143,1,Service_SetEventMbox,"event BSS_LOSS_EVENT_ID inactive, return immediately",8001ad1a01000008
Thanks
Magnus Fogelberg