Searched refs:countryCode (Results 1 - 8 of 8) sorted by relevance
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_supplicant_hal.h | 103 int (*wpaCliCmdSetCountryCode)(WifiWpaStaInterface *p, const char *countryCode); 104 int (*wpaCliCmdGetCountryCode)(WifiWpaStaInterface *p, char *countryCode, int codeSize);
|
H A D | wpa_common_cmd.h | 83 char *countryCode, uint32_t countryCodeLen);
104 int32_t WpaInterfaceSetCountryCode(struct IWpaInterface *self, const char *ifName, const char *countryCode);
|
H A D | wpa_common_cmd.c | 719 char *countryCode, uint32_t countryCodeLen)
in WpaInterfaceGetCountryCode() 723 if (ifName == NULL || countryCode == NULL) {
in WpaInterfaceGetCountryCode() 734 int ret = pStaIfc->wpaCliCmdGetCountryCode(pStaIfc, countryCode, countryCodeLen);
in WpaInterfaceGetCountryCode() 1019 int32_t WpaInterfaceSetCountryCode(struct IWpaInterface *self, const char *ifName, const char *countryCode)
in WpaInterfaceSetCountryCode() argument 1023 if (ifName == NULL || countryCode == NULL) {
in WpaInterfaceSetCountryCode() 1034 int ret = pStaIfc->wpaCliCmdSetCountryCode(pStaIfc, countryCode);
in WpaInterfaceSetCountryCode() 718 WpaInterfaceGetCountryCode(struct IWpaInterface *self, const char *ifName, char *countryCode, uint32_t countryCodeLen) WpaInterfaceGetCountryCode() argument
|
H A D | wpa_supplicant_hal.c | 495 static int WpaCliCmdSetCountryCode(WifiWpaStaInterface *this, const char *countryCode) in WpaCliCmdSetCountryCode() argument 497 if (this == NULL || countryCode == NULL) { in WpaCliCmdSetCountryCode() 502 if (snprintf_s(cmd, sizeof(cmd), sizeof(cmd) - 1, "IFNAME=%s DRIVER COUNTRY %s", this->ifname, countryCode) < 0) { in WpaCliCmdSetCountryCode() 509 static int WpaCliCmdGetCountryCode(WifiWpaStaInterface *this, char *countryCode, int codeSize) in WpaCliCmdGetCountryCode() argument 511 if (this == NULL || countryCode == NULL) { in WpaCliCmdGetCountryCode() 524 if (strncpy_s(countryCode, codeSize, buf, strlen(buf)) != EOK) { in WpaCliCmdGetCountryCode()
|
/drivers/peripheral/wlan/test/unittest/chip/ |
H A D | wifi_hal_fn.cpp | 84 static WifiError WifiSetCountryCode(wifiInterfaceHandle handle, const char *countryCode) in WifiSetCountryCode() argument
|
/drivers/peripheral/wlan/test/hdi_service/ |
H A D | wpa_hdi_direct_test.cpp | 273 char countryCode[3] = {0};
in HWTEST_F() local 274 int32_t rc = g_wpaObj->GetCountryCode(g_wpaObj, IFNAME, countryCode, 3);
in HWTEST_F() 276 rc = g_wpaObj->GetCountryCode(g_wpaObj, nullptr, countryCode, 3);
in HWTEST_F()
|
H A D | wpa_hdi_hal_services_c_test.cpp | 413 char countryCode[3] = {0};
in HWTEST_F() local 417 rc = g_wpaObj->GetCountryCode(g_wpaObj, IFNAME, countryCode, 3);
in HWTEST_F()
|
/drivers/peripheral/wlan/test/fuzztest/ |
H A D | wpa_common_fuzzer.cpp | 216 char countryCode[3] = {0}; in FuzzWpaInterfaceGetCountryCode() local 218 interface->GetCountryCode(interface, ifName, countryCode, 3); in FuzzWpaInterfaceGetCountryCode() 308 const char countryCode[3] = {0}; in FuzzWpaInterfaceSetCountryCode() local 310 interface->SetCountryCode(interface, ifName, countryCode); in FuzzWpaInterfaceSetCountryCode()
|
Completed in 12 milliseconds