/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/ |
H A D | wifi_backup_config.cpp | 36 config.wepTxKeyIndex = backupCfg.wepTxKeyIndex; in ConvertBackupCfgToDeviceCfg() 61 backupCfg.wepTxKeyIndex = config.wepTxKeyIndex; in ConvertDeviceCfgToBackupCfg()
|
H A D | wifi_backup_config.h | 38 int wepTxKeyIndex; member 54 wepTxKeyIndex = 0; in WifiBackupConfig()
|
H A D | wifi_settings.cpp | 1362 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 D | wifi_config_file_spec.cpp | 45 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 D | wifi_asset_manager.cpp | 113 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 D | wifi_config_file_test.cpp | 107 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 D | sta_auto_connect_service_test.cpp | 983 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 D | message_parcel_utils_test.cpp | 54 config.wepTxKeyIndex = 0; 97 ASSERT_TRUE(config2.wepTxKeyIndex == 0);
|
/ohos5.0/base/customization/enterprise_device_management/common/native/src/plugin_utils/ |
H A D | message_parcel_utils.cpp | 40 data.WriteInt32(config.wepTxKeyIndex); in WriteWifiDeviceConfig() 102 config.wepTxKeyIndex = data.ReadInt32(); in ReadWifiDeviceConfig()
|
/ohos5.0/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_msg.h | 634 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 D | sta_auto_connect_service.cpp | 421 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 D | sta_state_machine.cpp | 576 halDeviceConfig.wepKeyIdx = config.wepTxKeyIndex; in TransHalDeviceConfig()
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta_new/ |
H A D | sta_auto_connect_service_test.cpp | 226 network.wepTxKeyIndex = 0;
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_stub_lite.cpp | 105 (void)ReadInt32(req, &config.wepTxKeyIndex); in ReadWifiDeviceConfig() 184 (void)WriteInt32(reply, config.wepTxKeyIndex); in WriteWifiDeviceConfig()
|
H A D | wifi_device_stub.cpp | 392 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 D | wifi_device_proxy.cpp | 325 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 D | wifi_device_proxy_lite.cpp | 121 (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 D | network_parser.cpp | 342 wifiConfig.wepTxKeyIndex = GetPrimValue<int>(node, PrimType::INT); in ParseWifiConfig()
|
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/ |
H A D | wifi_manager_addon.cpp | 406 config.wepTxKeyIndex = 0; in ConvertEncryptionMode()
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_device.cpp | 348 cppConfig.wepTxKeyIndex = 0; in ProcessPassphrase() 1272 if (!cppConfig.wepKeys[i].empty() && cppConfig.wepTxKeyIndex == i) { in UpdateSecurityTypeAndPreSharedKey()
|