Searched refs:wpspbc (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/ |
H A D | wifi_supplicant_hal.c | 384 static int WpaCliCmdWpsPbc(WifiWpaStaInterface *this, const struct WpaWpsPbcArgv *wpspbc) in WpaCliCmdWpsPbc() argument 398 if (wpspbc != NULL) { in WpaCliCmdWpsPbc() 400 if (wpspbc->anyFlag == 1) { in WpaCliCmdWpsPbc() 402 } else if (strlen(wpspbc->bssid) > 0) { in WpaCliCmdWpsPbc() 403 … res = snprintf_s(cmd + pos, sizeof(cmd) - pos, sizeof(cmd) - pos - 1, " %s", wpspbc->bssid); in WpaCliCmdWpsPbc() 410 …if (wpspbc->multiAp > 0) { /* The value of ap needs to be determined. The value is greater than 0.… in WpaCliCmdWpsPbc() 412 … cmd + pos, sizeof(cmd) - pos, sizeof(cmd) - pos - 1, " multi_ap=%d", wpspbc->multiAp); in WpaCliCmdWpsPbc()
|
H A D | wifi_supplicant_hal.h | 95 int (*wpaCliCmdWpsPbc)(WifiWpaStaInterface *p, const struct WpaWpsPbcArgv *wpspbc);
|
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_supplicant_hal.c | 362 static int WpaCliCmdWpsPbc(WifiWpaStaInterface *this, const struct WpaWpsPbcArgv *wpspbc) in WpaCliCmdWpsPbc() argument 376 if (wpspbc != NULL) { in WpaCliCmdWpsPbc() 378 if (wpspbc->anyFlag == 1) { in WpaCliCmdWpsPbc() 380 } else if (strlen(wpspbc->bssid) > 0) { in WpaCliCmdWpsPbc() 381 … res = snprintf_s(cmd + pos, sizeof(cmd) - pos, sizeof(cmd) - pos - 1, " %s", wpspbc->bssid); in WpaCliCmdWpsPbc() 388 …if (wpspbc->multiAp > 0) { /* The value of ap needs to be determined. The value is greater than 0.… in WpaCliCmdWpsPbc() 390 … cmd + pos, sizeof(cmd) - pos, sizeof(cmd) - pos - 1, " multi_ap=%d", wpspbc->multiAp); in WpaCliCmdWpsPbc()
|
H A D | wpa_supplicant_hal.h | 98 int (*wpaCliCmdWpsPbc)(WifiWpaStaInterface *p, const struct WpaWpsPbcArgv *wpspbc);
|