Home
last modified time | relevance | path

Searched refs:ie (Results 1 - 15 of 15) sorted by relevance

/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_callback_impl.c37 static void PrintSsid(const uint8_t *ie, uint32_t len) in PrintSsid() argument
41 struct ElementHeader *hdr = (struct ElementHeader *)ie; in PrintSsid()
43 if (ie == NULL || len < sizeof(struct ElementHeader)) { in PrintSsid()
46 while ((ie + len) >= ((uint8_t *)hdr + sizeof(*hdr) + hdr->datalen)) { in PrintSsid()
71 PrintSsid(scanResult->ie, scanResult->ieLen); in WlanCallbackScanResult()
92 PrintSsid(scanResult->ie, scanResult->ieLen); in WlanCallbackScanResults()
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_event_adapter.c41 if (!HdfSbufReadBuffer(reqData, (const void **)(&staInfo.ie), &staInfo.ieLen)) { in WifiEventNewStaProcess()
42 HDF_LOGE("%s: fail to get ie", __FUNCTION__); in WifiEventNewStaProcess()
120 if (dst == NULL || src == NULL || src->bssid == NULL || src->ie == NULL || src->beaconIe == NULL || in FillScanResult()
138 dst->ie = OsalMemCalloc(src->ieLen); in FillScanResult()
139 if (dst->ie == NULL) { in FillScanResult()
140 HDF_LOGE("%s: OsalMemCalloc ie fail", __FUNCTION__); in FillScanResult()
143 if (memcpy_s(dst->ie, src->ieLen, src->ie, src->ieLen) != EOK) { in FillScanResult()
144 HDF_LOGE("%s: memcpy_s ie fail", __FUNCTION__); in FillScanResult()
200 if (!HdfSbufReadBuffer(reqData, (const void **)(&(scanResult.ie)), in WifiEventScanResultProcess()
[all...]
H A Dsbuf_wpa_cmd_adapter.c491 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, assocParams->ie, assocParams->ieLen); in WifiCmdAssoc()
760 if (appIe->ie == NULL) { in WifiCmdSetApWpsP2pIe()
761 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, appIe->ie, 0); in WifiCmdSetApWpsP2pIe()
763 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, appIe->ie, appIe->ieLen); in WifiCmdSetApWpsP2pIe()
/drivers/hdf_core/framework/model/network/wifi/core/components/sta/
H A Dsta.c96 static uint8_t WifiValidIeAttr(const uint8_t *ie, uint32_t len) in WifiValidIeAttr() argument
99 if (ie == NULL) { // ie null is normal in WifiValidIeAttr()
107 elemLen = ie[1]; in WifiValidIeAttr()
112 ie += ATTR_MIN_LEN + elemLen; in WifiValidIeAttr()
128 if (!HdfSbufReadBuffer(reqData, (const void **)&assoc->ie, &(assoc->ieLen))) { in WifiFillAssocParams()
129 HDF_LOGE("%s: %s!ParamName=%s", __func__, ERROR_DESC_READ_REQ_FAILED, "ie"); in WifiFillAssocParams()
164 if (WifiValidIeAttr(assoc->ie, assoc->ieLen) == false) { in WifiFillAssocParams()
165 HDF_LOGE("%s:illegal ie", __func__); in WifiFillAssocParams()
177 params->ie in WifiSetAssocParams()
[all...]
/drivers/hdf_core/framework/model/network/wifi/include/
H A Dhdf_wifi_cmd.h166 uint8_t *ie; member
228 uint8_t *ie; member
379 uint8_t *ie; member
419 uint8_t *ie; member
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_event_adapter.c131 uint8_t *ie; in GetNlaDataScanResult() local
137 ie = nla_data(attr[NL80211_BSS_INFORMATION_ELEMENTS]); in GetNlaDataScanResult()
139 if (ie != NULL && scanResult->ieLen != 0) { in GetNlaDataScanResult()
140 scanResult->ie = OsalMemCalloc(scanResult->ieLen); in GetNlaDataScanResult()
141 if (scanResult->ie == NULL || memcpy_s(scanResult->ie, scanResult->ieLen, ie, scanResult->ieLen) != EOK) { in GetNlaDataScanResult()
142 HILOG_ERROR(LOG_CORE, "%s: fill ie data fail", __FUNCTION__); in GetNlaDataScanResult()
154 HILOG_ERROR(LOG_CORE, "%s: fill beacon ie data fail", __FUNCTION__); in GetNlaDataScanResult()
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h127 uint8_t *ie; member
159 uint8_t *ie; member
181 uint8_t *ie; member
499 uint8_t *ie; member
560 uint8_t *ie; member
/drivers/peripheral/wlan/client/src/
H A Dwifi_driver_client.c257 if (res->ie != NULL) { in FreeScanResult()
258 OsalMemFree(res->ie); in FreeScanResult()
259 res->ie = NULL; in FreeScanResult()
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.c606 if ((wifiScanResult->ie != NULL) && (wifiScanResult->ieLen != 0) && in WlanFillScanResultInfo()
607 FillData(&scanResult->ie, &scanResult->ieLen, wifiScanResult->ie, wifiScanResult->ieLen) != HDF_SUCCESS) { in WlanFillScanResultInfo()
608 HDF_LOGE("%{public}s: fill ie fail!", __func__); in WlanFillScanResultInfo()
623 if (scanResult->ie != NULL) { in WlanFillScanResultInfo()
624 OsalMemFree(scanResult->ie); in WlanFillScanResultInfo()
655 if ((wifiScanResult->ie != NULL) && (wifiScanResult->ieLen != 0) && in WlanFillScanResultInfoExt()
656 FillData(&scanResult->ie, &scanResult->ieLen, wifiScanResult->ie, wifiScanResult->ieLen) != HDF_SUCCESS) { in WlanFillScanResultInfoExt()
657 HDF_LOGE("%{public}s: fill ie fai in WlanFillScanResultInfoExt()
[all...]
/drivers/hdf_core/framework/include/wifi/
H A Dhdf_wifi_event.h386 * @param ie Indicates the pointer to the deauth/disassoc frame IE.
394 int32_t HdfWifiEventDisconnected(const struct NetDevice *netDev, uint16_t reason, const uint8_t *ie, uint32_t len);
H A Dwifi_mac80211_ops.h369 uint8_t *ie; /**< IE information required for the connection */ member
/drivers/hdf_core/framework/model/network/wifi/platform/src/
H A Dhdf_wifi_event.c241 int32_t HdfWifiEventDisconnected(const struct NetDevice *netDev, uint16_t reason, const uint8_t *ie, uint32_t len) in HdfWifiEventDisconnected() argument
258 !HdfSbufWriteBuffer(data, ie, len)) { in HdfWifiEventDisconnected()
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_supplicant_hal.c1304 static void RecordIeNeedParse(unsigned int id, ScanInfoElem* ie, struct NeedParseIe* iesNeedParse) in RecordIeNeedParse() argument
1311 iesNeedParse->ieExtern = ie; in RecordIeNeedParse()
1314 iesNeedParse->ieVhtOper = ie; in RecordIeNeedParse()
1317 iesNeedParse->ieHtOper = ie; in RecordIeNeedParse()
1320 iesNeedParse->ieMaxRate = ie; in RecordIeNeedParse()
1323 iesNeedParse->ieErp = ie; in RecordIeNeedParse()
1326 iesNeedParse->ieExtMaxRate = ie; in RecordIeNeedParse()
/drivers/peripheral/wlan/test/unittest/hal/
H A Dwifi_hal_test.cpp91 static void PrintSsid(const uint8_t *ie, uint32_t len) in PrintSsid() argument
95 struct ElementHeader *hdr = (struct ElementHeader *)ie; in PrintSsid()
97 if (ie == NULL || len < sizeof(struct ElementHeader)) { in PrintSsid()
100 while (ie + len >= ((uint8_t *)hdr + sizeof(*hdr) + hdr->datalen)) { in PrintSsid()
118 PrintSsid(scanResult->ie, scanResult->ieLen); in ParseScanResult()
/drivers/hdf_core/framework/model/network/wifi/core/components/p2p/
H A Dp2p.c305 if (!HdfSbufReadBuffer(reqData, (const void**)&(appIe.ie), &(appIe.ieLen))) { in WifiCmdSetApWpsP2pIe()
306 HDF_LOGE("%s: %s!ParamName=%s", __func__, ERROR_DESC_READ_REQ_FAILED, "appIe.ie"); in WifiCmdSetApWpsP2pIe()

Completed in 17 milliseconds