Home
last modified time | relevance | path

Searched refs:pcmd (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/
H A Dwifi_supplicant_hal.c107 static int WpaCliCmdStatus(WifiWpaStaInterface *this, struct WpaHalCmdStatus *pcmd) in WpaCliCmdStatus() argument
109 if (this == NULL || pcmd == NULL) { in WpaCliCmdStatus()
131 StrSafeCopy(pcmd->bssid, sizeof(pcmd->bssid), value); in WpaCliCmdStatus()
133 pcmd->freq = atoi(value); in WpaCliCmdStatus()
135 StrSafeCopy(pcmd->ssid, sizeof(pcmd->ssid), value); in WpaCliCmdStatus()
136 PrintfDecode((u8 *)pcmd->ssid, sizeof(pcmd->ssid), pcmd in WpaCliCmdStatus()
352 WpaCliCmdGetNetwork( WifiWpaStaInterface *this, const struct WpaGetNetworkArgv *argv, char *pcmd, unsigned size) WpaCliCmdGetNetwork() argument
581 ListNetworkProcess(WifiNetworkInfo *pcmd, char *tmpBuf, int bufLeng) ListNetworkProcess() argument
616 WpaCliCmdListNetworks(WifiWpaStaInterface *this, WifiNetworkInfo *pcmd, int *size) WpaCliCmdListNetworks() argument
770 char *pcmd = (char *)calloc(len, sizeof(char)); WpaCliCmdScan() local
971 GetChanWidthCenterFreqVht(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanWidthCenterFreqVht() argument
993 GetChanWidthCenterFreqHe(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanWidthCenterFreqHe() argument
1036 GetChanWidthCenterFreqHt(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanWidthCenterFreqHt() argument
1053 GetChanMaxRates(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanMaxRates() argument
1068 GetChanExtMaxRates(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanExtMaxRates() argument
1083 GetChanWidthCenterFreq(ScanInfo *pcmd, struct NeedParseIe* iesNeedParse) GetChanWidthCenterFreq() argument
1145 GetInfoElems(int length, int end, char *srcBuf, ScanInfo *pcmd) GetInfoElems() argument
1207 DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length) DelScanInfoLine() argument
1266 WpaCliCmdScanInfo(WifiWpaStaInterface *this, ScanInfo *pcmd, int *size) WpaCliCmdScanInfo() argument
[all...]
H A Dwifi_supplicant_hal.h83 int (*wpaCliCmdStatus)(WifiWpaStaInterface *p, struct WpaHalCmdStatus *pcmd);
94 int (*wpaCliCmdGetNetwork)(WifiWpaStaInterface *p, const struct WpaGetNetworkArgv *argv, char *pcmd, unsigned size);
104 int (*wpaCliCmdListNetworks)(WifiWpaStaInterface *p, WifiNetworkInfo *pcmd, int *size);
106 int (*wpaCliCmdScanInfo)(WifiWpaStaInterface *p, ScanInfo *pcmd, int *size);
128 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length);
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util_test.cpp61 ScanInfo pcmd; in HWTEST_F() local
64 int result = DelScanInfoLine(&pcmd, srcBuf, length); in HWTEST_F()
66 EXPECT_STREQ(pcmd.bssid, "123"); in HWTEST_F()
67 EXPECT_EQ(pcmd.freq, 456); in HWTEST_F()
68 EXPECT_EQ(pcmd.siglv, 789); in HWTEST_F()
69 EXPECT_STREQ(pcmd.flags, "345"); in HWTEST_F()
70 EXPECT_STREQ(pcmd.ssid, ""); in HWTEST_F()
75 ScanInfo pcmd; in HWTEST_F() local
78 int result = DelScanInfoLine(&pcmd, srcBuf, length); in HWTEST_F()
209 extern "C" bool GetChanWidthCenterFreqHe(ScanInfo *pcmd, ScanInfoEle
217 ScanInfo pcmd; HWTEST_F() local
231 ScanInfo pcmd; HWTEST_F() local
253 ScanInfo pcmd; HWTEST_F() local
265 ScanInfo pcmd; HWTEST_F() local
277 ScanInfo pcmd; HWTEST_F() local
293 ScanInfo pcmd; HWTEST_F() local
307 ScanInfo pcmd; HWTEST_F() local
321 ScanInfo pcmd; HWTEST_F() local
343 ScanInfo pcmd; HWTEST_F() local
357 ScanInfo pcmd; HWTEST_F() local
839 ScanInfo pcmd; HWTEST_F() local
853 ScanInfo pcmd; HWTEST_F() local
876 ScanInfo pcmd; HWTEST_F() local
890 ScanInfo pcmd; HWTEST_F() local
997 ScanInfo pcmd; HWTEST_F() local
1018 ScanInfo pcmd; HWTEST_F() local
1027 ScanInfo pcmd; HWTEST_F() local
1036 ScanInfo pcmd; HWTEST_F() local
1045 ScanInfo pcmd; HWTEST_F() local
1054 ScanInfo pcmd; HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util.c227 static bool GetChanWidthCenterFreqVht(ScanInfo *pcmd, ScanInfoElem* infoElem) in GetChanWidthCenterFreqVht() argument
229 if ((pcmd == NULL) || (infoElem == NULL)) { in GetChanWidthCenterFreqVht()
230 LOGE("pcmd or infoElem is NULL."); in GetChanWidthCenterFreqVht()
239 pcmd->isVhtInfoExist = 1; in GetChanWidthCenterFreqVht()
240 pcmd->channelWidth = GetVhtChanWidth(channelType, centerFrequencyIndex1, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
241 if ((unsigned int)pcmd->channelWidth == UNSPECIFIED) { in GetChanWidthCenterFreqVht()
244 pcmd->centerFrequency0 = GetVhtCentFreq(channelType, centerFrequencyIndex1); in GetChanWidthCenterFreqVht()
245 pcmd->centerFrequency1 = GetVhtCentFreq(channelType, centerFrequencyIndex2); in GetChanWidthCenterFreqVht()
249 static bool GetChanWidthCenterFreqHe(ScanInfo *pcmd, ScanInfoElem* infoElem) in GetChanWidthCenterFreqHe() argument
251 if ((pcmd in GetChanWidthCenterFreqHe()
292 GetChanWidthCenterFreqHt(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanWidthCenterFreqHt() argument
309 GetChanMaxRates(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanMaxRates() argument
324 GetChanExtMaxRates(ScanInfo *pcmd, ScanInfoElem* infoElem) GetChanExtMaxRates() argument
339 GetChanWidthCenterFreq(ScanInfo *pcmd, struct NeedParseIe* iesNeedParse) GetChanWidthCenterFreq() argument
401 GetInfoElems(int length, int end, char *srcBuf, ScanInfo *pcmd) GetInfoElems() argument
1255 DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length) DelScanInfoLine() argument
[all...]
H A Dwifi_hdi_util.h33 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length);
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_wpa_sta_test.cpp408 ScanInfo pcmd; in HWTEST_F() local
411 ASSERT_TRUE(memset_s(&pcmd, sizeof(pcmd), 0, sizeof(pcmd)) == EOK); in HWTEST_F()
414 EXPECT_TRUE(mInterface->wpaCliCmdScanInfo(mInterface, &pcmd, nullptr) < 0); in HWTEST_F()
415 EXPECT_TRUE(mInterface->wpaCliCmdScanInfo(mInterface, &pcmd, 0) < 0); in HWTEST_F()
417 EXPECT_TRUE(mInterface->wpaCliCmdScanInfo(mInterface, &pcmd, &size) < 0); in HWTEST_F()
419 EXPECT_TRUE(mInterface->wpaCliCmdScanInfo(mInterface, &pcmd, &size) == 0); in HWTEST_F()
H A Dwifi_hal_sta_interface_test.cpp259 ScanInfo pcmd; in HWTEST_F() local
263 DelScanInfoLine(&pcmd, srcBuf, length); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/
H A Dwifi_supplicant_hal_interface_test.cpp94 ScanInfo pcmd; in HWTEST_F() local
98 DelScanInfoLine(&pcmd, srcBuf, length); in HWTEST_F()
/foundation/filemanagement/dfs_service/utils/system/include/
H A Ddfsu_actor.h58 void Recv(std::unique_ptr<VirtualCmd<Ctx>> pcmd) in Recv() argument
60 pendingCmds_.Push(std::move(pcmd)); in Recv()

Completed in 7 milliseconds