/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_config_use_test.cpp | 60 HotspotConfig apConfig; variable 61 apConfig.SetBand(BandType::BAND_2GHZ); 62 apConfig.SetChannel(1); 73 m_apConfigUse->UpdateApChannelConfig(apConfig); 109 HotspotConfig apConfig; variable 110 apConfig.SetBandWidth(AP_BANDWIDTH_DEFAULT); 121 HotspotConfig apConfig; variable 122 apConfig.SetBandWidth(AP_BANDWIDTH_160); 156 HotspotConfig apConfig; variable 157 apConfig.SetBand(BandType::BAND_2GHZ); [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_config_use.cpp | 48 switch (apConfig.GetBand()) { in UpdateApChannelConfig() 62 apConfig.SetBand(BandType::BAND_2GHZ); in UpdateApChannelConfig() 63 apConfig.SetChannel(AP_CHANNEL_DEFAULT); in UpdateApChannelConfig() 65 apConfig.SetChannel(bestChannel); in UpdateApChannelConfig() 67 JudgeDbacWithP2p(apConfig); in UpdateApChannelConfig() 70 … PassWordAnonymize(apConfig.GetPreSharedKey()).c_str(), m_id, static_cast<int>(apConfig.GetBand()), in UpdateApChannelConfig() 71 apConfig.GetChannel()); in UpdateApChannelConfig() 92 …m_id, __func__, static_cast<int>(apConfig.GetBand()), apConfig.GetChannel(), apConfig.GetBandWidth… in GetBestChannelFor5G() 93 if (apConfig.GetBandWidth() == AP_BANDWIDTH_160) { in GetBestChannelFor5G() 191 int apChannel = apConfig.GetChannel(); in JudgeDbacWithP2p() [all …]
|
H A D | ap_config_use.h | 52 void UpdateApChannelConfig(HotspotConfig &apConfig) const; 103 int GetBestChannelFor5G(HotspotConfig &apConfig) const; 107 void JudgeDbacWithP2p(HotspotConfig &apConfig) const;
|
H A D | ap_started_state.cpp | 164 bool ApStartedState::SetConfig(HotspotConfig &apConfig) in SetConfig() argument 167 m_ApConfigUse.UpdateApChannelConfig(apConfig); in SetConfig() 169 …if (WifiApHalInterface::GetInstance().SetSoftApConfig(ifName, apConfig, m_id) != WifiErrorNo::WIFI… in SetConfig() 187 if (apConfig.GetIpAddress().empty()) { in SetConfig() 189 apConfig.SetIpAddress(AP_DEFAULT_IP); in SetConfig() 191 WifiSettings::GetInstance().SetHotspotConfig(apConfig, m_id); in SetConfig()
|
H A D | ap_started_state.h | 111 bool SetConfig(HotspotConfig &apConfig);
|
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiap_fuzzer/ |
H A D | wifiap_fuzzer.cpp | 54 HotspotConfig apConfig; in UpdateApChannelConfigFuzzTest() local 55 apConfig.SetBand(BandType::BAND_2GHZ); in UpdateApChannelConfigFuzzTest() 56 apConfig.SetChannel(1); in UpdateApChannelConfigFuzzTest() 69 HotspotConfig apConfig; in GetBestChannelFor5GFuzzTest() local 96 HotspotConfig apConfig; in JudgeDbacWithP2pFuzzTest() local 97 apConfig.SetBand(BandType::BAND_2GHZ); in JudgeDbacWithP2pFuzzTest() 98 pApConfigUse->JudgeDbacWithP2p(apConfig); in JudgeDbacWithP2pFuzzTest() 214 HotspotConfig apConfig; in SetHotspotConfigFuzzTest() local 215 apConfig.SetChannel(1); in SetHotspotConfigFuzzTest() 216 apConfig.SetBand(BandType::BAND_2GHZ); in SetHotspotConfigFuzzTest() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/ |
H A D | mock_ap_config_use.h | 30 MOCK_CONST_METHOD1(UpdateApChannelConfig, void(HotspotConfig &apConfig)); 31 MOCK_CONST_METHOD1(JudgeConflictBand, void(HotspotConfig &apConfig)); 37 MOCK_CONST_METHOD1(JudgeDbacWithP2p, void(HotspotConfig &apConfig));
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
H A D | hdf_wlan_config_parser.c | 42 …32_t ParseWlanApConfig(const struct DeviceResourceNode *node, struct HdfConfigWlanHostAp *apConfig) in ParseWlanApConfig() argument 47 if (node == NULL || apConfig == NULL) { in ParseWlanApConfig() 56 ret = drsOps->GetString(node, "name", &apConfig->name, NULL); in ParseWlanApConfig() 61 ret = drsOps->GetUint8(node, "mode", &apConfig->mode, 0); in ParseWlanApConfig() 66 ret = drsOps->GetUint8(node, "vapResNum", &apConfig->vapResNum, 0); in ParseWlanApConfig() 71 ret = drsOps->GetUint8(node, "userResNum", &apConfig->userResNum, 0); in ParseWlanApConfig() 76 …OGD("%s: name=%s, mode=%u, vapResNum=%u, userResNum=%u!", __func__, apConfig->name, apConfig->mode, in ParseWlanApConfig() 77 apConfig->vapResNum, apConfig->userResNum); in ParseWlanApConfig()
|
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/ |
H A D | mock_wifi_ap_service.h | 102 void UpdateApChannelConfig(HotspotConfig &apConfig); 103 void JudgeConflictBand(HotspotConfig &apConfig); 109 void JudgeDbacWithP2p(HotspotConfig &apConfig);
|