Home
last modified time | relevance | path

Searched refs:pWlanSnapHeader (Results 1 – 7 of 7) sorted by relevance

/system/wlan/ti/wilink_6_1/stad/src/Data_link/
DtxCtrlServ.c143 Wlan_LlcHeader_T *pWlanSnapHeader; in txCtrlServ_buildWlanHeader() local
210 pWlanSnapHeader = (Wlan_LlcHeader_T *)&(tPktCtrlBlk.aPktHdr[headerLength]); in txCtrlServ_buildWlanHeader()
212 pWlanSnapHeader->DSAP = SNAP_CHANNEL_ID; in txCtrlServ_buildWlanHeader()
213 pWlanSnapHeader->SSAP = SNAP_CHANNEL_ID; in txCtrlServ_buildWlanHeader()
214 pWlanSnapHeader->Control = LLC_CONTROL_UNNUMBERED_INFORMATION; in txCtrlServ_buildWlanHeader()
217 pWlanSnapHeader->OUI[0] = SNAP_OUI_RFC1042_BYTE0; in txCtrlServ_buildWlanHeader()
218 pWlanSnapHeader->OUI[1] = SNAP_OUI_RFC1042_BYTE1; in txCtrlServ_buildWlanHeader()
219 pWlanSnapHeader->OUI[2] = SNAP_OUI_RFC1042_BYTE2; in txCtrlServ_buildWlanHeader()
222 pWlanSnapHeader->Type = HTOWLANS(ETHERTYPE_IP); in txCtrlServ_buildWlanHeader()
Drx.c1369 Wlan_LlcHeader_T *pWlanSnapHeader; in rxData_convertWlanToEthHeader() local
1383 pWlanSnapHeader = (Wlan_LlcHeader_T*)((TI_UINT32)dataBuf + (TI_UINT32)headerLength); in rxData_convertWlanToEthHeader()
1385 swapedTypeLength = WLANTOHS (pWlanSnapHeader->Type); in rxData_convertWlanToEthHeader()
1402 if((SNAP_CHANNEL_ID == pWlanSnapHeader->DSAP) && in rxData_convertWlanToEthHeader()
1403 (SNAP_CHANNEL_ID == pWlanSnapHeader->SSAP) && in rxData_convertWlanToEthHeader()
1404 (LLC_CONTROL_UNNUMBERED_INFORMATION == pWlanSnapHeader->Control)) in rxData_convertWlanToEthHeader()
1407 if((SNAP_OUI_802_1H_BYTE0 == pWlanSnapHeader->OUI[ 0 ]) && in rxData_convertWlanToEthHeader()
1408 (SNAP_OUI_802_1H_BYTE1 == pWlanSnapHeader->OUI[ 1 ]) && in rxData_convertWlanToEthHeader()
1409 (SNAP_OUI_802_1H_BYTE2 == pWlanSnapHeader->OUI[ 2 ])) in rxData_convertWlanToEthHeader()
1420 if( (SNAP_OUI_RFC1042_BYTE0 == pWlanSnapHeader->OUI[ 0 ]) && in rxData_convertWlanToEthHeader()
[all …]
DtxCtrl.c669 Wlan_LlcHeader_T *pWlanSnapHeader; in txCtrl_BuildDataPktHdr() local
766 pWlanSnapHeader = (Wlan_LlcHeader_T *)&(pPktCtrlBlk->aPktHdr[uHdrLen]); in txCtrl_BuildDataPktHdr()
783 pWlanSnapHeader->DSAP = SNAP_CHANNEL_ID; in txCtrl_BuildDataPktHdr()
784 pWlanSnapHeader->SSAP = SNAP_CHANNEL_ID; in txCtrl_BuildDataPktHdr()
785 pWlanSnapHeader->Control = LLC_CONTROL_UNNUMBERED_INFORMATION; in txCtrl_BuildDataPktHdr()
795 pWlanSnapHeader->OUI[0] = SNAP_OUI_802_1H_BYTE0; in txCtrl_BuildDataPktHdr()
796 pWlanSnapHeader->OUI[1] = SNAP_OUI_802_1H_BYTE1; in txCtrl_BuildDataPktHdr()
797 pWlanSnapHeader->OUI[2] = SNAP_OUI_802_1H_BYTE2; in txCtrl_BuildDataPktHdr()
803 pWlanSnapHeader->OUI[0] = SNAP_OUI_RFC1042_BYTE0; in txCtrl_BuildDataPktHdr()
804 pWlanSnapHeader->OUI[1] = SNAP_OUI_RFC1042_BYTE0; in txCtrl_BuildDataPktHdr()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Ctrl/4X/
DackEmulUtil.c80 static void wdrv_ackEmulationPktType(ackEmul_t* ackEmul, UINT8 *pWlanSnapHeader ,UINT8 *pIpHeader …
202 UINT8 *pWlanSnapHeader; in wdrv_ackEmulationRxPacket() local
229 pWlanSnapHeader = dataBuf + WLAN_HDR_LEN; in wdrv_ackEmulationRxPacket()
230 pIpHeader = pWlanSnapHeader + WLAN_SNAP_HDR_LEN; in wdrv_ackEmulationRxPacket()
245 …wdrv_aeWSourceSaveAckTemplate(ackEmul->pAckEmulDB, 0,activeIndex,dataBuf,pWlanSnapHeader,pIpHeader… in wdrv_ackEmulationRxPacket()
254 wdrv_ackEmulationPktType(ackEmul, pWlanSnapHeader,pIpHeader,&packetInclude,&tcpDataSize); in wdrv_ackEmulationRxPacket()
319 UINT8 *pWlanSnapHeader; in wdrv_ackEmulationTxPacket() local
359 pWlanSnapHeader = pDot11Header + WLAN_HDR_LEN; in wdrv_ackEmulationTxPacket()
362 wdrv_ackEmulationPktType(ackEmul, pWlanSnapHeader,pIpHeader ,&packetInclude,&tcpDataSize); in wdrv_ackEmulationTxPacket()
444 static void wdrv_ackEmulationPktType(ackEmul_t* ackEmul, UINT8 *pWlanSnapHeader ,UINT8 *pIpHeader , in wdrv_ackEmulationPktType() argument
[all …]
DackEmulDb.h213 UINT8* pDot11Header, UINT8 *pWlanSnapHeader, UINT8 *pIpHeader
DackEmulDb.c1032 UINT8* pDot11Header, UINT8 *pWlanSnapHeader, UINT8 *pIpHeader in wdrv_aeWSourceSaveAckTemplate() argument
1053 os_memoryCopy(ackEmulDB->hOs, pTemplateData+WLAN_HDR_LEN,pWlanSnapHeader, WLAN_SNAP_HDR_LEN); in wdrv_aeWSourceSaveAckTemplate()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Rx/
Drx.c1467 Wlan_LlcHeader_T *pWlanSnapHeader; in rxData_convertWlanToEthHeader() local
1486 pWlanSnapHeader = (Wlan_LlcHeader_T*)(memMgr_BufData(pMsdu->firstBDPtr->nextBDPtr) in rxData_convertWlanToEthHeader()
1495 pWlanSnapHeader = (Wlan_LlcHeader_T*)((UINT32)dataBuf + (UINT32)headerLength); in rxData_convertWlanToEthHeader()
1498 swapedTypeLength = wlan_ntohs(pWlanSnapHeader->Type); in rxData_convertWlanToEthHeader()
1502 if((SNAP_CHANNEL_ID == pWlanSnapHeader->DSAP) && in rxData_convertWlanToEthHeader()
1503 (SNAP_CHANNEL_ID == pWlanSnapHeader->SSAP) && in rxData_convertWlanToEthHeader()
1504 (LLC_CONTROL_UNNUMBERED_INFORMATION == pWlanSnapHeader->Control)) in rxData_convertWlanToEthHeader()
1507 if((SNAP_OUI_802_1H_BYTE0 == pWlanSnapHeader->OUI[ 0 ]) && in rxData_convertWlanToEthHeader()
1508 (SNAP_OUI_802_1H_BYTE1 == pWlanSnapHeader->OUI[ 1 ]) && in rxData_convertWlanToEthHeader()
1509 (SNAP_OUI_802_1H_BYTE2 == pWlanSnapHeader->OUI[ 2 ])) in rxData_convertWlanToEthHeader()
[all …]