Home
last modified time | relevance | path

Searched refs:keyIdx (Results 1 - 13 of 13) sorted by relevance

/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_supplicant_hal.h116 int (*wpaCliCmdWepKey)(WifiWpaStaInterface *this, int keyIdx, unsigned char *wepKey, unsigned int *wepKeyLen);
117 int (*wpaCliCmdWepKeyTxKeyIdx)(WifiWpaStaInterface *this, int *keyIdx);
H A Dwpa_common_cmd.h100 int32_t WpaInterfaceGetWepKey(struct IWpaInterface *self, const char *ifName, int keyIdx, uint8_t *wepKey,
102 int32_t WpaInterfaceGetWepTxKeyIdx(struct IWpaInterface *self, const char *ifName, int *keyIdx);
H A Dwpa_common_cmd.c940 int32_t WpaInterfaceGetWepKey(struct IWpaInterface *self, const char *ifName, int keyIdx, in WpaInterfaceGetWepKey() argument
943 HDF_LOGI("enter %{public}s keyIdx = %{public}d", __func__, keyIdx); in WpaInterfaceGetWepKey()
956 int ret = pStaIfc->wpaCliCmdWepKey(pStaIfc, keyIdx, wepKey, wepKeyLen); in WpaInterfaceGetWepKey()
967 int32_t WpaInterfaceGetWepTxKeyIdx(struct IWpaInterface *self, const char *ifName, int *keyIdx) in WpaInterfaceGetWepTxKeyIdx() argument
971 if (ifName == NULL || keyIdx == NULL) { in WpaInterfaceGetWepTxKeyIdx()
982 int ret = pStaIfc->wpaCliCmdWepKeyTxKeyIdx(pStaIfc, keyIdx); in WpaInterfaceGetWepTxKeyIdx()
989 HDF_LOGI("%{public}s: wpaCliCmdWepKeyTxKeyIdx success!,*keyIdx = %{public}d", __func__, *keyIdx); in WpaInterfaceGetWepTxKeyIdx()
H A Dwpa_supplicant_hal.c598 static int WpaCliCmdWepKeyTxKeyIdx(WifiWpaStaInterface *this, int *keyIdx) in WpaCliCmdWepKeyTxKeyIdx() argument
600 if (this == NULL || keyIdx == NULL) { in WpaCliCmdWepKeyTxKeyIdx()
619 *keyIdx = atoi(value); in WpaCliCmdWepKeyTxKeyIdx()
623 HDF_LOGI("WpaCliCmdWepKeyTxKeyIdx keyIdx =%d ", *keyIdx); in WpaCliCmdWepKeyTxKeyIdx()
627 static int WpaCliCmdWepKey(WifiWpaStaInterface *this, int keyIdx, unsigned char *wepKey, unsigned int *wepKeyLen) in WpaCliCmdWepKey() argument
635 this->ifname, keyIdx) < 0) { in WpaCliCmdWepKey()
/drivers/hdf_core/framework/model/network/wifi/include/
H A Dhdf_wifi_cmd.h265 uint32_t keyIdx; member
384 uint8_t keyIdx; member
/drivers/hdf_core/framework/model/network/wifi/core/components/sta/
H A Dsta.c144 if (!HdfSbufReadUint8(reqData, &assoc->keyIdx)) { in WifiFillAssocParams()
145 HDF_LOGE("%s: %s!ParamName=%s", __func__, ERROR_DESC_READ_REQ_FAILED, "keyIdx"); in WifiFillAssocParams()
194 params->keyIdx = assoc->keyIdx; in WifiSetAssocParams()
/drivers/peripheral/wlan/test/hdi_service/
H A Dwpa_hdi_direct_test.cpp387 int32_t keyIdx = 0; in HWTEST_F() local
389 int32_t rc = g_wpaObj->GetWepTxKeyIdx(g_wpaObj, IFNAME, &keyIdx); in HWTEST_F()
391 rc = g_wpaObj->GetWepTxKeyIdx(g_wpaObj, nullptr, &keyIdx); in HWTEST_F()
H A Dwpa_hdi_hal_services_c_test.cpp554 int32_t keyIdx = 0; in HWTEST_F() local
559 rc = g_wpaObj->GetWepTxKeyIdx(g_wpaObj, IFNAME, &keyIdx); in HWTEST_F()
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h437 uint32_t keyIdx; member
504 uint8_t keyIdx; member
/drivers/hdf_core/framework/include/wifi/
H A Dwifi_mac80211_ops.h379 uint8_t keyIdx; /**< Index of the WEP key used for SKA */ member
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_wpa_cmd_adapter.c284 isSerializeFailed = isSerializeFailed || !HdfSbufWriteUint32(data, keyExt->keyIdx); in WifiCmdOperKey()
495 isSerializeFailed = isSerializeFailed || !HdfSbufWriteUint8(data, assocParams->keyIdx); in WifiCmdAssoc()
/drivers/hdf_core/framework/model/network/wifi/core/module/
H A Dwifi_base.c127 if (!HdfSbufReadUint32(reqData, &(keyExt->keyIdx)) || keyExt == NULL) { in WifiCmdFillKeyInner()
128 HDF_LOGE("%s: %s!ParamName=%s", __func__, ERROR_DESC_READ_REQ_FAILED, "keyIdx"); in WifiCmdFillKeyInner()
206 ret = AddKey(netDev, keyExt->keyIdx, pairwise, keyExt->addr, &params); in WifiCmdNewKey()
250 ret = DelKey(netDev, keyExt->keyIdx, pairwise, keyExt->addr); in WifiCmdDelKey()
311 index = (uint8_t)keyExt->keyIdx; in WifiCmdSetKey()
/drivers/peripheral/wlan/test/fuzztest/
H A Dwpa_common_fuzzer.cpp290 int keyIdx = *const_cast<int *>(reinterpret_cast<const int *>(rawData)); in FuzzWpaInterfaceGetWepTxKeyIdx() local
292 interface->GetWepTxKeyIdx(interface, ifName, &keyIdx); in FuzzWpaInterfaceGetWepTxKeyIdx()

Completed in 21 milliseconds