Home
last modified time | relevance | path

Searched refs:keyIdx (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/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 …
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 *…
102 int32_t WpaInterfaceGetWepTxKeyIdx(struct IWpaInterface *self, const char *ifName, int *keyIdx);
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 i… in WpaCliCmdWepKey() argument
635 this->ifname, keyIdx) < 0) { in WpaCliCmdWepKey()
H A Dwpa_common_cmd.c939 int32_t WpaInterfaceGetWepKey(struct IWpaInterface *self, const char *ifName, int keyIdx, in WpaInterfaceGetWepKey() argument
942 HDF_LOGI("enter %{public}s keyIdx = %{public}d", __func__, keyIdx); in WpaInterfaceGetWepKey()
955 int ret = pStaIfc->wpaCliCmdWepKey(pStaIfc, keyIdx, wepKey, wepKeyLen); in WpaInterfaceGetWepKey()
966 int32_t WpaInterfaceGetWepTxKeyIdx(struct IWpaInterface *self, const char *ifName, int *keyIdx) in WpaInterfaceGetWepTxKeyIdx() argument
970 if (ifName == NULL || keyIdx == NULL) { in WpaInterfaceGetWepTxKeyIdx()
981 int ret = pStaIfc->wpaCliCmdWepKeyTxKeyIdx(pStaIfc, keyIdx); in WpaInterfaceGetWepTxKeyIdx()
988 … HDF_LOGI("%{public}s: wpaCliCmdWepKeyTxKeyIdx success!,*keyIdx = %{public}d", __func__, *keyIdx); in WpaInterfaceGetWepTxKeyIdx()
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/include/
H A Dhdf_wifi_cmd.h265 uint32_t keyIdx; member
384 uint8_t keyIdx; member
/ohos5.0/drivers/peripheral/wlan/test/hdi_service/
H A Dwpa_hdi_direct_test.cpp387 int32_t keyIdx = 0; variable
389 int32_t rc = g_wpaObj->GetWepTxKeyIdx(g_wpaObj, IFNAME, &keyIdx);
391 rc = g_wpaObj->GetWepTxKeyIdx(g_wpaObj, nullptr, &keyIdx);
H A Dwpa_hdi_hal_services_c_test.cpp554 int32_t keyIdx = 0; variable
559 rc = g_wpaObj->GetWepTxKeyIdx(g_wpaObj, IFNAME, &keyIdx);
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/core/components/sta/
H A Dsta.c144 if (!HdfSbufReadUint8(reqData, &assoc->keyIdx)) { in WifiFillAssocParams()
194 params->keyIdx = assoc->keyIdx; in WifiSetAssocParams()
/ohos5.0/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h436 uint32_t keyIdx; member
503 uint8_t keyIdx; member
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_wpa_v1_0/c_target/wlan/wpa/v1_0/
H A Diwpa_interface.h.txt212 …int32_t (*GetWepKey)(struct IWpaInterface *self, const char* ifName, int32_t keyIdx, uint8_t* wepK…
215 int32_t (*GetWepTxKeyIdx)(struct IWpaInterface *self, const char* ifName, int32_t* keyIdx);
H A Dwpa_interface_service.c.txt199 static int32_t WpaInterfaceGetWepKey(struct IWpaInterface *self, const char* ifName, int32_t keyIdx
205 …int32_t WpaInterfaceGetWepTxKeyIdx(struct IWpaInterface *self, const char* ifName, int32_t* keyIdx)
H A Dwpa_interface_stub.c.txt1832 int32_t keyIdx = 0;
1850 if (!HdfSbufReadInt32(wpaInterfaceData, &keyIdx)) {
1851 HDF_LOGE("%{public}s: read &keyIdx failed!", __func__);
1895 wpaInterfaceRet = serviceImpl->GetWepKey(serviceImpl, ifName, keyIdx, wepKey, &wepKeyLen);
1922 int32_t keyIdx = 0;
1944 wpaInterfaceRet = serviceImpl->GetWepTxKeyIdx(serviceImpl, ifName, &keyIdx);
1950 if (!HdfSbufWriteInt32(wpaInterfaceReply, keyIdx)) {
1951 HDF_LOGE("%{public}s: write keyIdx failed!", __func__);
H A Dwpa_interface_proxy.c.txt1917 … int32_t WpaInterfaceProxyGetWepKey(struct IWpaInterface *self, const char* ifName, int32_t keyIdx,
1955 if (!HdfSbufWriteInt32(wpaInterfaceData, keyIdx)) {
1956 HDF_LOGE("%{public}s: write keyIdx failed!", __func__);
1995 …_t WpaInterfaceProxyGetWepTxKeyIdx(struct IWpaInterface *self, const char* ifName, int32_t* keyIdx)
2032 if (!HdfSbufReadInt32(wpaInterfaceReply, keyIdx)) {
2033 HDF_LOGE("%{public}s: read keyIdx failed!", __func__);
/ohos5.0/drivers/hdf_core/framework/include/wifi/
H A Dwifi_mac80211_ops.h379 uint8_t keyIdx; /**< Index of the WEP key used for SKA */ member
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_struct.h271 const uint8_t *keyIdx; member
/ohos5.0/drivers/interface/wlan/wpa/v1_0/
H A DIWpaInterface.idl502 * @param keyIdx Index of wep key to be fetched
511 GetWepKey([in] String ifName, [in] int keyIdx, [out] unsigned char[] wepKey);
517 * @param keyIdx the keyIdx valu value set.
525 GetWepTxKeyIdx([in] String ifName, [out] int keyIdx);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_wpa_v1_0/foo/wlan/wpa/v1_0/
H A DIWpaInterface.idl502 * @param keyIdx Index of wep key to be fetched
511 GetWepKey([in] String ifName, [in] int keyIdx, [out] unsigned char[] wepKey);
517 * @param keyIdx the keyIdx valu value set.
525 GetWepTxKeyIdx([in] String ifName, [out] int keyIdx);
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/core/module/
H A Dwifi_base.c127 if (!HdfSbufReadUint32(reqData, &(keyExt->keyIdx)) || keyExt == NULL) { 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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/wlan_wpa_v1_0/dump_ast_target/
H A Ddump.txt132 [in] int keyIdx,
137 [out] int keyIdx);