Home
last modified time | relevance | path

Searched refs:wepTxKeyIndex (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/
H A Dwifi_backup_config.cpp36 config.wepTxKeyIndex = backupCfg.wepTxKeyIndex; in ConvertBackupCfgToDeviceCfg()
61 backupCfg.wepTxKeyIndex = config.wepTxKeyIndex; in ConvertDeviceCfgToBackupCfg()
H A Dwifi_backup_config.h38 int wepTxKeyIndex; member
54 wepTxKeyIndex = 0; in WifiBackupConfig()
H A Dwifi_settings.cpp1362 if (config.wepTxKeyIndex < 0 || config.wepTxKeyIndex >= WEPKEYS_SIZE) { in EncryptionDeviceConfig()
1363 config.wepTxKeyIndex = 0; in EncryptionDeviceConfig()
1365 config.encryWepKeys[config.wepTxKeyIndex] = ""; in EncryptionDeviceConfig()
1367 if (!config.wepKeys[config.wepTxKeyIndex].empty()) { in EncryptionDeviceConfig()
1370 config.encryWepKeys[config.wepTxKeyIndex] = encryWep.encryptedPassword; in EncryptionDeviceConfig()
1939 …int keyIndex = (config.wepTxKeyIndex < 0 || config.wepTxKeyIndex >= WEPKEYS_SIZE) ? 0 : config.wep… in IsWifiDeviceConfigDeciphered()
2002 if (config.wepTxKeyIndex < 0 || config.wepTxKeyIndex >= WEPKEYS_SIZE) { in DecryptionDeviceConfig()
2003 config.wepTxKeyIndex = 0; in DecryptionDeviceConfig()
2005 …EncryptedData *encryWep = new EncryptedData(config.encryWepKeys[config.wepTxKeyIndex], config.IVWe… in DecryptionDeviceConfig()
2008 config.wepKeys[config.wepTxKeyIndex] = decryWep; in DecryptionDeviceConfig()
[all …]
H A Dwifi_config_file_spec.cpp45 item.wepTxKeyIndex = 0; in ClearWifiDeviceConfig()
243 item.wepTxKeyIndex = CheckDataLegal(tmpValue); in SetWifiDeviceConfigFirst()
289 if (item.wepTxKeyIndex < 0 || item.wepTxKeyIndex >= WEPKEYS_SIZE) { in SetWifiDeviceConfigEncrypt()
290 item.wepTxKeyIndex = 0; in SetWifiDeviceConfigEncrypt()
546 ss << " " << "wepTxKeyIndex=" << item.wepTxKeyIndex << std::endl; in OutPutEncryptionDeviceConfig()
553 ss << " " <<"wepTxKeyIndex=" << item.wepTxKeyIndex << std::endl; in OutPutEncryptionDeviceConfig()
596 ss << " " <<"wepTxKeyIndex=" << item.wepTxKeyIndex << std::endl; in OutPutWifiDeviceConfig()
1787 item.wepTxKeyIndex = 0; in ClearWifiBackupConfig()
1851 item.wepTxKeyIndex = CheckDataLegal(tmpValue); in SetWifiBackupConfig()
1894 ss << " " <<"wepTxKeyIndex=" << item.wepTxKeyIndex << std::endl; in OutPutWifiBackupConfig()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/wifi_asset/
H A Dwifi_asset_manager.cpp113 config.wepTxKeyIndex = CheckDataLegal(outArray[index++]); in ArrayToWifiDeviceConfig()
159 secretWifiDevice += std::to_string(config.wepTxKeyIndex) + ";"; in WifiAssetAttrAdd()
463 config.wepTxKeyIndex = iter.wepTxKeyIndex; in IsWifiConfigUpdated()
495 if (config.wepTxKeyIndex != oriConfig.wepTxKeyIndex) { in IsWifiConfigChanged()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_config_file_test.cpp107 tmp.wepTxKeyIndex = 1;
125 EXPECT_TRUE(tmp.wepTxKeyIndex == ldCfg.wepTxKeyIndex);
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_auto_connect_service_test.cpp983 deviceConfig.wepTxKeyIndex = -1; in CurrentDeviceGoodEnoughFail3()
1064 deviceConfig.wepTxKeyIndex = 0; in RoamingEncryptionModeCheckSuccess()
1101 deviceConfig.wepTxKeyIndex = -1; in RoamingEncryptionModeCheckFail2()
1120 deviceConfig.wepTxKeyIndex = 1; in RoamingEncryptionModeCheckFail3()
1140 deviceConfig.wepTxKeyIndex = 1; in RoamingEncryptionModeCheckFail4()
1158 deviceConfig.wepTxKeyIndex = 0; in RoamingSelectionSuccess1()
1204 deviceConfig.wepTxKeyIndex = -1; in RoamingSelectionFail2()
1224 deviceConfig.wepTxKeyIndex = 1; in RoamingSelectionFail3()
1246 deviceConfig.wepTxKeyIndex = 1; in RoamingSelectionFail4()
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Dmessage_parcel_utils_test.cpp54 config.wepTxKeyIndex = 0;
97 ASSERT_TRUE(config2.wepTxKeyIndex == 0);
/ohos5.0/base/customization/enterprise_device_management/common/native/src/plugin_utils/
H A Dmessage_parcel_utils.cpp40 data.WriteInt32(config.wepTxKeyIndex); in WriteWifiDeviceConfig()
102 config.wepTxKeyIndex = data.ReadInt32(); in ReadWifiDeviceConfig()
/ohos5.0/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_msg.h634 int wepTxKeyIndex; member
684 wepTxKeyIndex = 0; in WifiDeviceConfig()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_auto_connect_service.cpp421 if (mgmt.find("WEP") != std::string::npos && network.wepTxKeyIndex == 0) { in RoamingEncryptionModeCheck()
424 } else if (mgmt.find("WEP") == std::string::npos && network.wepTxKeyIndex != 0) { in RoamingEncryptionModeCheck()
H A Dsta_state_machine.cpp576 halDeviceConfig.wepKeyIdx = config.wepTxKeyIndex; in TransHalDeviceConfig()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta_new/
H A Dsta_auto_connect_service_test.cpp226 network.wepTxKeyIndex = 0;
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/
H A Dwifi_device_stub_lite.cpp105 (void)ReadInt32(req, &config.wepTxKeyIndex); in ReadWifiDeviceConfig()
184 (void)WriteInt32(reply, config.wepTxKeyIndex); in WriteWifiDeviceConfig()
H A Dwifi_device_stub.cpp392 config.wepTxKeyIndex = data.ReadInt32(); in ReadWifiDeviceConfig()
498 reply.WriteInt32(config.wepTxKeyIndex); in WriteWifiDeviceConfig()
593 bigDataStream << result[i].wepTxKeyIndex << ";"; in SendBigConfigEx()
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_device_proxy.cpp325 data.WriteInt32(config.wepTxKeyIndex); in WriteDeviceConfig()
659 config.wepTxKeyIndex = CheckDataLegal(tokens[g_bigDataRecvLen++]); in ParseBigConfig()
713 config.wepTxKeyIndex = reply.ReadInt32(); in ParseSmallConfig()
2325 config.wepTxKeyIndex = reply.ReadInt32(); in ReadDeviceConfig()
H A Dwifi_device_proxy_lite.cpp121 (void)ReadInt32(reply, &config.wepTxKeyIndex); in ParseDeviceConfigs()
590 (void)WriteInt32(&req, config.wepTxKeyIndex); in WriteDeviceConfig()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dnetwork_parser.cpp342 wifiConfig.wepTxKeyIndex = GetPrimValue<int>(node, PrimType::INT); in ParseWifiConfig()
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/
H A Dwifi_manager_addon.cpp406 config.wepTxKeyIndex = 0; in ConvertEncryptionMode()
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_device.cpp348 cppConfig.wepTxKeyIndex = 0; in ProcessPassphrase()
1272 if (!cppConfig.wepKeys[i].empty() && cppConfig.wepTxKeyIndex == i) { in UpdateSecurityTypeAndPreSharedKey()