Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 28) sorted by relevance

12

/hardware/ti/omap4xxx/
Dheaptracker.c44 struct hdr { struct
46 struct hdr *prev; argument
47 struct hdr *next; argument
60 static inline struct ftr * to_ftr(struct hdr *hdr) in to_ftr() argument
62 return (struct ftr *)(((char *)(hdr + 1)) + hdr->size); in to_ftr()
65 static inline void *user(struct hdr *hdr) in user() argument
67 return hdr + 1; in user()
70 static inline struct hdr *meta(void *user) in meta()
72 return ((struct hdr *)user) - 1; in meta()
90 static struct hdr *first;
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmcdc.h60 #define CDC_GET_IF_IDX(hdr) \ argument
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
62 #define CDC_SET_IF_IDX(hdr, idx) \ argument
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
93 #define BDC_GET_PAD_LEN(hdr) \ argument
94 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \
95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT)))
96 #define BDC_SET_PAD_LEN(hdr, idx) \ argument
97 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_PAD_MASK) | \
99 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \
[all …]
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmcdc.h60 #define CDC_GET_IF_IDX(hdr) \ argument
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
62 #define CDC_SET_IF_IDX(hdr, idx) \ argument
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
93 #define BDC_GET_PAD_LEN(hdr) \ argument
94 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \
95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT)))
96 #define BDC_SET_PAD_LEN(hdr, idx) \ argument
97 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_PAD_MASK) | \
99 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \
[all …]
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
Dtemplates.c95 MAC_COPY (pBuffer->hdr.DA, pPrimarySite->bssid); in buildNullTemplate()
98 MAC_COPY (pBuffer->hdr.BSSID, pPrimarySite->bssid); in buildNullTemplate()
103 MAC_COPY (pBuffer->hdr.SA, param.content.ctrlDataDeviceMacAddress); in buildNullTemplate()
108 COPY_WLAN_WORD(&pBuffer->hdr.fc, &fc); /* copy with endianess handling. */ in buildNullTemplate()
146 MAC_COPY (pBuffer->hdr.DA, pPrimarySite->bssid); in buildDisconnTemplate()
149 MAC_COPY (pBuffer->hdr.BSSID, pPrimarySite->bssid); in buildDisconnTemplate()
154 MAC_COPY (pBuffer->hdr.SA, param.content.ctrlDataDeviceMacAddress); in buildDisconnTemplate()
158 COPY_WLAN_WORD(&pBuffer->hdr.fc, &fc); /* copy with endianess handling. */ in buildDisconnTemplate()
245 pBuffer->hdr.DA[i] = 0xFF; in buildProbeReqTemplate()
250 pBuffer->hdr.BSSID[i] = 0xFF; in buildProbeReqTemplate()
[all …]
DmlmeParser.c127 status = mlmeParser_getFrameType(pHandle, (TI_UINT16 *)&pMgmtFrame->hdr.fc, &msgType); in mlmeParser_recv()
147 MAC_COPY (recvBssid, pMgmtFrame->hdr.BSSID); in mlmeParser_recv()
148 MAC_COPY(recvSa, pMgmtFrame->hdr.SA); in mlmeParser_recv()
167 if (MAC_BROADCAST (pMgmtFrame->hdr.DA)) in mlmeParser_recv()
173 if (MAC_MULTICAST (pMgmtFrame->hdr.DA)) in mlmeParser_recv()
184 if (MAC_EQUAL( (pParam->content.ctrlDataDeviceMacAddress), (pMgmtFrame->hdr.DA) )) in mlmeParser_recv()
190 MAC_COPY (pHandle->tempFrameInfo.bssid, pMgmtFrame->hdr.BSSID); in mlmeParser_recv()
480 (pHandle->tempFrameInfo.frame.content.iePacket.country->hdr[1] != 0)) in mlmeParser_recv()
607 (pHandle->tempFrameInfo.frame.content.iePacket.country->hdr[1] != 0)) in mlmeParser_recv()
702 pHandle->tempFrameInfo.challenge.hdr[1] = 0; in mlmeParser_recv()
[all …]
DsystemConfig.c302 ssid.hdr[1] = pSiteMgr->pDesiredParams->siteMgrDesiredSSID.len; in sendProbeResponse()
303 if (ssid.hdr[1] > MAX_SSID_LEN) in sendProbeResponse()
308 ssid.hdr[1] = MAX_SSID_LEN; in sendProbeResponse()
310 … (void *)ssid.serviceSetId, (void *)pSiteMgr->pDesiredParams->siteMgrDesiredSSID.str, ssid.hdr[1]); in sendProbeResponse()
328 rates.hdr[0] = DOT11_SUPPORTED_RATES_ELE_ID; in sendProbeResponse()
329 rates.hdr[1] = len; in sendProbeResponse()
330 os_memoryCopy(pSiteMgr->hOs, (void *)rates.rates, ratesBuf, rates.hdr[1]); in sendProbeResponse()
334 rates.hdr[0] = DOT11_SUPPORTED_RATES_ELE_ID; in sendProbeResponse()
335 rates.hdr[1] = ofdmIndex; in sendProbeResponse()
336 os_memoryCopy(pSiteMgr->hOs, (void *)rates.rates, ratesBuf, rates.hdr[1]); in sendProbeResponse()
[all …]
DassocSM.c501 curRsnData[0+length] = pRsnIe->hdr[0]; in assoc_recv()
502 curRsnData[1+length] = pRsnIe->hdr[1]; in assoc_recv()
503 … os_memoryCopy(pHandle->hOs, &curRsnData[2+length], (void *)pRsnIe->rsnIeData, pRsnIe->hdr[1]); in assoc_recv()
504 length += pRsnIe->hdr[1] + 2; in assoc_recv()
1209 pDot11Ssid->hdr[0] = SSID_IE_ID; in assoc_smSSIDBuild()
1222 pDot11Ssid->hdr[1] = param.content.smeDesiredSSID.len; in assoc_smSSIDBuild()
1236 pDot11Ssid->hdr[1] = param.content.siteMgrCurrentSSID.len; in assoc_smSSIDBuild()
1244 *ssidLen = pDot11Ssid->hdr[1] + sizeof(dot11_eleHdr_t); in assoc_smSSIDBuild()
1298 pDot11Rates->hdr[0] = SUPPORTED_RATES_IE_ID; in assoc_smRatesBuild()
1299 pDot11Rates->hdr[1] = len; in assoc_smRatesBuild()
[all …]
DscanResultTable.c78 … (pSite)->pRsnIe[index].hdr[0] = pTempRsnIe->hdr[0];\
79 … (pSite)->pRsnIe[index].hdr[1] = pTempRsnIe->hdr[1];\
80 …hOS, (void *)(pSite)->pRsnIe[index].rsnIeData, (void *)pTempRsnIe->rsnIeData, pTempRsnIe->hdr[1]);\
81 length += (pTempRsnIe->hdr[1]+2); \
307 tTempSsid.len = pFrame->parsedIEs->content.iePacket.pSsid->hdr[1]; in scanResultTable_UpdateEntry()
628 pSite->ssid.len = pFrame->parsedIEs->content.iePacket.pSsid->hdr[1]; in scanResultTable_UpdateSiteData()
758 …)pFrame->parsedIEs->content.iePacket.pRates, pFrame->parsedIEs->content.iePacket.pRates->hdr[1]+2); in scanResultTable_updateRates()
759 …)pFrame->parsedIEs->content.iePacket.pRates, pFrame->parsedIEs->content.iePacket.pRates->hdr[1]+2); in scanResultTable_updateRates()
765 … pFrame->parsedIEs->content.iePacket.pRates->hdr[1], (ENetRate)maxBasicRate); in scanResultTable_updateRates()
767 … pFrame->parsedIEs->content.iePacket.pRates->hdr[1], (ENetRate)maxActiveRate); in scanResultTable_updateRates()
[all …]
DsiteMgr.c129 … pSite->ssid.len = pFrameInfo->content.iePacket.pSsid->hdr[1]; \
180 … pSite->pRsnIe[index].hdr[0] = pRsnIe->hdr[0];\
181 … pSite->pRsnIe[index].hdr[1] = pRsnIe->hdr[1];\
182 …pSiteMgr->hOs, (void *)pSite->pRsnIe[index].rsnIeData, (void *)pRsnIe->rsnIeData, pRsnIe->hdr[1]);\
183 length += (pRsnIe->hdr[1]+2); \
1578 probeRspTemplate.hdr.fc = ENDIAN_HANDLE_WORD(DOT11_FC_BEACON); in siteMgr_join()
2055 if ((pIESsid == NULL) || (pIESsid->hdr[1] == 0)) in isIeSsidBroadcast()
2179 (pFrameInfo->content.iePacket.country->hdr[1] != 0)) in updateSiteInfo()
2301 pFrameInfo->content.iePacket.pSsid->hdr[1])!=0) in updateSiteInfo()
2357 (pFrameInfo->content.iePacket.country->hdr[1] != 0)) in updateSiteInfo()
[all …]
DauthSm.c605 pDot11Challenge->hdr[0] = CHALLANGE_TEXT_IE_ID; in auth_smMsgBuild()
606 pDot11Challenge->hdr[1] = challangeLen; in auth_smMsgBuild()
DsharedKeyAuthSm.c244 pHandle->authData.challangeLen = pFrame->content.auth.pChallenge->hdr[1]; in sharedKeyAuth_Recv()
253 if (pFrame->content.auth.pChallenge->hdr[0] != CHALLANGE_TEXT_IE_ID) in sharedKeyAuth_Recv()
DqosMngr.c1479 dot11_QOS_CAPABILITY_IE->hdr[0] = DOT11_QOS_CAPABILITY_ELE_ID; in qosMngr_getQosCapabiltyInfeElement()
1480 dot11_QOS_CAPABILITY_IE->hdr[1] = DOT11_QOS_CAPABILITY_ELE_LEN; in qosMngr_getQosCapabiltyInfeElement()
1512 *pLen = dot11_QOS_CAPABILITY_IE->hdr[1] + sizeof(dot11_eleHdr_t); in qosMngr_getQosCapabiltyInfeElement()
1601 pDot11_WME_IE->hdr[0] = DOT11_WME_ELE_ID; in getWMEInfoElement()
1602 pDot11_WME_IE->hdr[1] = DOT11_WME_ELE_LEN; in getWMEInfoElement()
1635 *pLen = pDot11_WME_IE->hdr[1] + sizeof(dot11_eleHdr_t); in getWMEInfoElement()
2094 if((WMEie.hdr[0] != pWMERecvIe->hdr[0] ) || in verifyWmeIeParams()
/hardware/ti/wlan/wl1271/utils/
D802_11Defs.h355 dot11_mgmtHeader_t hdr; member
465 dot11_eleHdr_t hdr; member
475 dot11_eleHdr_t hdr; member
486 dot11_eleHdr_t hdr; member
495 dot11_eleHdr_t hdr; member
513 dot11_eleHdr_t hdr; member
523 dot11_eleHdr_t hdr; member
531 dot11_eleHdr_t hdr; member
543 dot11_eleHdr_t hdr; member
555 dot11_eleHdr_t hdr; member
[all …]
/hardware/ti/wlan/wl1271/stad/src/AirLink_Managment/
DspectrumMngmntMgr.c193 frameReq->hdr->dialogToken = (TI_UINT16)dot11hFrameReqHdr->dialogToken; in measurementMgr_dot11hParseFrameReq()
194 frameReq->hdr->activatioDelay = dot11hFrameReqHdr->activatioDelay; in measurementMgr_dot11hParseFrameReq()
195 frameReq->hdr->measurementOffset = dot11hFrameReqHdr->measurementOffset; in measurementMgr_dot11hParseFrameReq()
303 measurementReport.hdr[0] = DOT11_MEASUREMENT_REPORT_ELE_ID; in measurementMgr_dot11hBuildRejectReport()
304 measurementReport.hdr[1] = DOT11_MIN_MEASUREMENT_REPORT_IE_LEN; in measurementMgr_dot11hBuildRejectReport()
379 measurementReport.hdr[0] = DOT11_MEASUREMENT_REPORT_ELE_ID; in measurementMgr_dot11hBuildReport()
DrequestHandler.c296 measurementFrameReq.hdr->dialogToken, in requestHandler_insertRequests()
DmeasurementMgrSM.c499 activationDelay = pMeasurementMgr->newFrameRequest.hdr->activatioDelay; in measurementMgrSM_acFrameReceived_fromIdle()
502 activationDelay += pMeasurementMgr->newFrameRequest.hdr->measurementOffset; in measurementMgrSM_acFrameReceived_fromIdle()
DSwitchChannel.c348 pSwitchChannel->debugChannelSwitchCmdParams.hdr[0] = CHANNEL_SWITCH_ANNOUNCEMENT_IE_ID; in switchChannel_SetDefaults()
349 pSwitchChannel->debugChannelSwitchCmdParams.hdr[1] = SC_SWITCH_CHANNEL_CMD_LEN; in switchChannel_SetDefaults()
DmeasurementMgr.c589 && (currentFrameToken == frame->hdr->dialogToken)) in measurementMgr_receiveFrameRequest()
599 …Report, REPORT_SEVERITY_INFORMATION, ": Measurement frame token is %d\n", frame->hdr->dialogToken); in measurementMgr_receiveFrameRequest()
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
DsmeSelect.c450 if (uLength + 2 + pRsnIe->hdr[ 1 ] > sizeof (uCurRsnData)) in sme_SelectRsnMatch()
454 uRsnIECount, uLength, pRsnIe->hdr[ 1 ] +2, sizeof (uCurRsnData)); in sme_SelectRsnMatch()
458 uCurRsnData[ 0 + uLength ] = pRsnIe->hdr[ 0 ]; in sme_SelectRsnMatch()
459 uCurRsnData[ 1 + uLength ] = pRsnIe->hdr[ 1 ]; in sme_SelectRsnMatch()
460 … os_memoryCopy (pSme->hOS, &uCurRsnData[ 2 + uLength ], pRsnIe->rsnIeData, pRsnIe->hdr[ 1 ]); in sme_SelectRsnMatch()
461 uLength += pRsnIe->hdr[ 1 ] + 2; in sme_SelectRsnMatch()
DadmCtrlWpa2.c974 if((wpa2Ie->hdr[0] != RSN_IE_ID) || (wpa2Ie->hdr[1] < WPA2_IE_MIN_LENGTH) || in admCtrlWpa2_parseIe()
977 …rseIe Error: length=0x%x, elementid=0x%x, version=0x%x\n", wpa2Ie->hdr[1], wpa2Ie->hdr[0], temp2by… in admCtrlWpa2_parseIe()
993 if(wpa2Ie->hdr[1] < WPA2_IE_GROUP_SUITE_LENGTH) in admCtrlWpa2_parseIe()
1004 if(wpa2Ie->hdr[1] < WPA2_IE_MIN_PAIRWISE_SUITE_LENGTH) in admCtrlWpa2_parseIe()
1050 if (wpa2Ie->hdr[1] == dataOffset) in admCtrlWpa2_parseIe()
1094 if (wpa2Ie->hdr[1] == dataOffset) in admCtrlWpa2_parseIe()
1742 if(apList->bssidList[apIndex].pRsnIEs[i].hdr[0] == RSN_IE_ID) in admCtrlWpa2_buildAndSendPMKIDCandList()
1751 …ITY_INFORMATION, "admCtrlWpa2_buildAndSendPMKIDCandList - rsnIE-hdr.eleId = %x \n", rsnIE->hdr[0]); in admCtrlWpa2_buildAndSendPMKIDCandList()
DapConn.c1003 apList.bssidList[apListIndex].rsnIeLen = apList.bssidList[apListIndex].pRsnIEs->hdr[1] + 2; in apConn_preAuthenticate()
1027 … apList.bssidList[apListIndex].rsnIeLen = apList.bssidList[apListIndex].pRsnIEs->hdr[1] + 2; in apConn_preAuthenticate()
Dsme.c616 if ((pSme->tSsid.len == pFrameInfo->parsedIEs->content.iePacket.pSsid->hdr[ 1 ]) && in sme_ScanResultCB()
/hardware/ti/wpan/bt_sco_app/
Dbt_sco_app.c169 hci_event_hdr *hdr; in send_hciCmd() local
212 hdr = (void *)(buf + 1); in send_hciCmd()
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c62 struct nlmsghdr hdr; in wpa_driver_wext_send_oper_ifla() member
72 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in wpa_driver_wext_send_oper_ifla()
73 req.hdr.nlmsg_type = RTM_SETLINK; in wpa_driver_wext_send_oper_ifla()
74 req.hdr.nlmsg_flags = NLM_F_REQUEST; in wpa_driver_wext_send_oper_ifla()
75 req.hdr.nlmsg_seq = ++nl_seq; in wpa_driver_wext_send_oper_ifla()
76 req.hdr.nlmsg_pid = 0; in wpa_driver_wext_send_oper_ifla()
86 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len)), in wpa_driver_wext_send_oper_ifla()
91 req.hdr.nlmsg_len = NLMSG_ALIGN(req.hdr.nlmsg_len) + in wpa_driver_wext_send_oper_ifla()
96 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len)); in wpa_driver_wext_send_oper_ifla()
100 req.hdr.nlmsg_len = NLMSG_ALIGN(req.hdr.nlmsg_len) + in wpa_driver_wext_send_oper_ifla()
[all …]
/hardware/ti/wlan/wl1271/TWD/TWDriver/
DTWDriverMsr.h268 TMeasurementFrameHdr *hdr; /**< */ member

12