Home
last modified time | relevance | path

Searched refs:apConfig (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_config_use_test.cpp60 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 Dap_config_use.cpp48 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 Dap_config_use.h52 void UpdateApChannelConfig(HotspotConfig &apConfig) const;
103 int GetBestChannelFor5G(HotspotConfig &apConfig) const;
107 void JudgeDbacWithP2p(HotspotConfig &apConfig) const;
H A Dap_started_state.cpp164 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 Dap_started_state.h111 bool SetConfig(HotspotConfig &apConfig);
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiap_fuzzer/
H A Dwifiap_fuzzer.cpp54 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 Dmock_ap_config_use.h30 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 Dhdf_wlan_config_parser.c42 …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 Dmock_wifi_ap_service.h102 void UpdateApChannelConfig(HotspotConfig &apConfig);
103 void JudgeConflictBand(HotspotConfig &apConfig);
109 void JudgeDbacWithP2p(HotspotConfig &apConfig);