Home
last modified time | relevance | path

Searched refs:wpspbc (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_supplicant_hal.h98 int (*wpaCliCmdWpsPbc)(WifiWpaStaInterface *p, const struct WpaWpsPbcArgv *wpspbc);
H A Dwpa_supplicant_hal.c362 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()

Completed in 4 milliseconds