Lines Matching refs:ctrl
48 static void update_stations(struct wpa_ctrl *ctrl);
82 static void register_event_handler(struct wpa_ctrl *ctrl) in register_event_handler() argument
88 !eloop_register_read_sock(wpa_ctrl_get_fd(ctrl), in register_event_handler()
95 static void unregister_event_handler(struct wpa_ctrl *ctrl) in unregister_event_handler() argument
100 eloop_unregister_read_sock(wpa_ctrl_get_fd(ctrl)); in unregister_event_handler()
193 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() argument
204 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command()
221 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() argument
223 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command()
227 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() argument
239 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd()
243 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_ping() argument
245 return wpa_ctrl_command(ctrl, "PING"); in hostapd_cli_cmd_ping()
249 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_relog() argument
251 return wpa_ctrl_command(ctrl, "RELOG"); in hostapd_cli_cmd_relog()
255 static int hostapd_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_status() argument
258 return wpa_ctrl_command(ctrl, "STATUS-DRIVER"); in hostapd_cli_cmd_status()
259 return wpa_ctrl_command(ctrl, "STATUS"); in hostapd_cli_cmd_status()
263 static int hostapd_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_mib() argument
268 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_mib()
270 return wpa_ctrl_command(ctrl, "MIB"); in hostapd_cli_cmd_mib()
310 static int hostapd_cli_cmd_sta(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_sta() argument
322 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_sta()
341 static int hostapd_cli_cmd_new_sta(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_new_sta() argument
351 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_new_sta()
355 static int hostapd_cli_cmd_deauthenticate(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_deauthenticate() argument
369 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_deauthenticate()
373 static int hostapd_cli_cmd_disassociate(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_disassociate() argument
387 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_disassociate()
392 static int hostapd_cli_cmd_signature(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_signature() argument
402 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_signature()
407 static int hostapd_cli_cmd_sa_query(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_sa_query() argument
417 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_sa_query()
422 static int hostapd_cli_cmd_wps_pin(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_pin() argument
439 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_wps_pin()
443 static int hostapd_cli_cmd_wps_check_pin(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_check_pin() argument
465 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_wps_check_pin()
469 static int hostapd_cli_cmd_wps_pbc(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_pbc() argument
472 return wpa_ctrl_command(ctrl, "WPS_PBC"); in hostapd_cli_cmd_wps_pbc()
476 static int hostapd_cli_cmd_wps_cancel(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_cancel() argument
479 return wpa_ctrl_command(ctrl, "WPS_CANCEL"); in hostapd_cli_cmd_wps_cancel()
484 static int hostapd_cli_cmd_wps_nfc_tag_read(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_nfc_tag_read() argument
503 ret = wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_wps_nfc_tag_read()
510 static int hostapd_cli_cmd_wps_nfc_config_token(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_wps_nfc_config_token() argument
528 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_wps_nfc_config_token()
532 static int hostapd_cli_cmd_wps_nfc_token(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_wps_nfc_token() argument
549 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_wps_nfc_token()
553 static int hostapd_cli_cmd_nfc_get_handover_sel(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_nfc_get_handover_sel() argument
571 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_nfc_get_handover_sel()
577 static int hostapd_cli_cmd_wps_ap_pin(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_ap_pin() argument
594 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_wps_ap_pin()
598 static int hostapd_cli_cmd_wps_get_status(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_get_status() argument
601 return wpa_ctrl_command(ctrl, "WPS_GET_STATUS"); in hostapd_cli_cmd_wps_get_status()
605 static int hostapd_cli_cmd_wps_config(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_wps_config() argument
645 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_wps_config()
650 static int hostapd_cli_cmd_disassoc_imminent(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_disassoc_imminent() argument
666 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_disassoc_imminent()
670 static int hostapd_cli_cmd_ess_disassoc(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_ess_disassoc() argument
686 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_ess_disassoc()
690 static int hostapd_cli_cmd_bss_tm_req(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_bss_tm_req() argument
713 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_bss_tm_req()
717 static int hostapd_cli_cmd_get_config(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_get_config() argument
720 return wpa_ctrl_command(ctrl, "GET_CONFIG"); in hostapd_cli_cmd_get_config()
724 static int wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, const char *cmd, in wpa_ctrl_command_sta() argument
736 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in wpa_ctrl_command_sta()
761 static int hostapd_cli_cmd_all_sta(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_all_sta() argument
766 if (wpa_ctrl_command_sta(ctrl, "STA-FIRST", addr, sizeof(addr), 1)) in hostapd_cli_cmd_all_sta()
770 } while (wpa_ctrl_command_sta(ctrl, cmd, addr, sizeof(addr), 1) == 0); in hostapd_cli_cmd_all_sta()
776 static int hostapd_cli_cmd_list_sta(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_list_sta() argument
781 if (wpa_ctrl_command_sta(ctrl, "STA-FIRST", addr, sizeof(addr), 0)) in hostapd_cli_cmd_list_sta()
787 } while (wpa_ctrl_command_sta(ctrl, cmd, addr, sizeof(addr), 0) == 0); in hostapd_cli_cmd_list_sta()
793 static int hostapd_cli_cmd_help(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_help() argument
815 static int hostapd_cli_cmd_license(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_license() argument
823 static int hostapd_cli_cmd_set_qos_map_set(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_set_qos_map_set() argument
839 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_set_qos_map_set()
843 static int hostapd_cli_cmd_send_qos_map_conf(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_send_qos_map_conf() argument
858 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_send_qos_map_conf()
862 static int hostapd_cli_cmd_hs20_wnm_notif(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_hs20_wnm_notif() argument
878 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_hs20_wnm_notif()
882 static int hostapd_cli_cmd_hs20_deauth_req(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_hs20_deauth_req() argument
903 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd_hs20_deauth_req()
907 static int hostapd_cli_cmd_quit(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_quit() argument
916 static int hostapd_cli_cmd_level(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_level() argument
925 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_level()
929 static void update_stations(struct wpa_ctrl *ctrl) in update_stations() argument
933 if (!ctrl || !interactive) in update_stations()
938 if (wpa_ctrl_command_sta(ctrl, "STA-FIRST", addr, sizeof(addr), 0)) in update_stations()
944 } while (wpa_ctrl_command_sta(ctrl, cmd, addr, sizeof(addr), 0) == 0); in update_stations()
948 static void hostapd_cli_get_interfaces(struct wpa_ctrl *ctrl, in hostapd_cli_get_interfaces() argument
954 if (!ctrl || !interfaces) in hostapd_cli_get_interfaces()
970 static void hostapd_cli_list_interfaces(struct wpa_ctrl *ctrl) in hostapd_cli_list_interfaces() argument
993 static int hostapd_cli_cmd_interface(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_interface() argument
997 hostapd_cli_list_interfaces(ctrl); in hostapd_cli_cmd_interface()
1026 static int hostapd_cli_cmd_set(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_set() argument
1042 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_set()
1084 static int hostapd_cli_cmd_get(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_get() argument
1100 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_get()
1130 static int hostapd_cli_cmd_fst(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_fst() argument
1153 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_fst()
1158 static int hostapd_cli_cmd_chan_switch(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_chan_switch() argument
1193 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_chan_switch()
1197 static int hostapd_cli_cmd_enable(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_enable() argument
1200 return wpa_ctrl_command(ctrl, "ENABLE"); in hostapd_cli_cmd_enable()
1204 static int hostapd_cli_cmd_reload(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_reload() argument
1207 return wpa_ctrl_command(ctrl, "RELOAD"); in hostapd_cli_cmd_reload()
1211 static int hostapd_cli_cmd_disable(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_disable() argument
1214 return wpa_ctrl_command(ctrl, "DISABLE"); in hostapd_cli_cmd_disable()
1218 static int hostapd_cli_cmd_update_beacon(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_update_beacon() argument
1221 return wpa_ctrl_command(ctrl, "UPDATE_BEACON"); in hostapd_cli_cmd_update_beacon()
1225 static int hostapd_cli_cmd_vendor(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_vendor() argument
1242 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_vendor()
1246 static int hostapd_cli_cmd_erp_flush(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_erp_flush() argument
1249 return wpa_ctrl_command(ctrl, "ERP_FLUSH"); in hostapd_cli_cmd_erp_flush()
1253 static int hostapd_cli_cmd_log_level(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_log_level() argument
1268 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_log_level()
1272 static int hostapd_cli_cmd_raw(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_raw() argument
1276 return hostapd_cli_cmd(ctrl, argv[0], 0, argc - 1, &argv[1]); in hostapd_cli_cmd_raw()
1280 static int hostapd_cli_cmd_pmksa(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_pmksa() argument
1282 return wpa_ctrl_command(ctrl, "PMKSA"); in hostapd_cli_cmd_pmksa()
1286 static int hostapd_cli_cmd_pmksa_flush(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_pmksa_flush() argument
1289 return wpa_ctrl_command(ctrl, "PMKSA_FLUSH"); in hostapd_cli_cmd_pmksa_flush()
1293 static int hostapd_cli_cmd_set_neighbor(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_set_neighbor() argument
1311 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_set_neighbor()
1315 static int hostapd_cli_cmd_show_neighbor(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_show_neighbor() argument
1318 return wpa_ctrl_command(ctrl, "SHOW_NEIGHBOR"); in hostapd_cli_cmd_show_neighbor()
1322 static int hostapd_cli_cmd_remove_neighbor(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_remove_neighbor() argument
1325 return hostapd_cli_cmd(ctrl, "REMOVE_NEIGHBOR", 1, argc, argv); in hostapd_cli_cmd_remove_neighbor()
1329 static int hostapd_cli_cmd_req_lci(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_req_lci() argument
1345 return wpa_ctrl_command(ctrl, cmd); in hostapd_cli_cmd_req_lci()
1349 static int hostapd_cli_cmd_req_range(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_req_range() argument
1357 return hostapd_cli_cmd(ctrl, "REQ_RANGE", 4, argc, argv); in hostapd_cli_cmd_req_range()
1361 static int hostapd_cli_cmd_driver_flags(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_driver_flags() argument
1364 return wpa_ctrl_command(ctrl, "DRIVER_FLAGS"); in hostapd_cli_cmd_driver_flags()
1370 static int hostapd_cli_cmd_dpp_qr_code(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_qr_code() argument
1373 return hostapd_cli_cmd(ctrl, "DPP_QR_CODE", 1, argc, argv); in hostapd_cli_cmd_dpp_qr_code()
1377 static int hostapd_cli_cmd_dpp_bootstrap_gen(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_bootstrap_gen() argument
1380 return hostapd_cli_cmd(ctrl, "DPP_BOOTSTRAP_GEN", 1, argc, argv); in hostapd_cli_cmd_dpp_bootstrap_gen()
1384 static int hostapd_cli_cmd_dpp_bootstrap_remove(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_bootstrap_remove() argument
1387 return hostapd_cli_cmd(ctrl, "DPP_BOOTSTRAP_REMOVE", 1, argc, argv); in hostapd_cli_cmd_dpp_bootstrap_remove()
1391 static int hostapd_cli_cmd_dpp_bootstrap_get_uri(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_dpp_bootstrap_get_uri() argument
1394 return hostapd_cli_cmd(ctrl, "DPP_BOOTSTRAP_GET_URI", 1, argc, argv); in hostapd_cli_cmd_dpp_bootstrap_get_uri()
1398 static int hostapd_cli_cmd_dpp_bootstrap_info(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_bootstrap_info() argument
1401 return hostapd_cli_cmd(ctrl, "DPP_BOOTSTRAP_INFO", 1, argc, argv); in hostapd_cli_cmd_dpp_bootstrap_info()
1405 static int hostapd_cli_cmd_dpp_auth_init(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_auth_init() argument
1408 return hostapd_cli_cmd(ctrl, "DPP_AUTH_INIT", 1, argc, argv); in hostapd_cli_cmd_dpp_auth_init()
1412 static int hostapd_cli_cmd_dpp_listen(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_listen() argument
1415 return hostapd_cli_cmd(ctrl, "DPP_LISTEN", 1, argc, argv); in hostapd_cli_cmd_dpp_listen()
1419 static int hostapd_cli_cmd_dpp_stop_listen(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_stop_listen() argument
1422 return wpa_ctrl_command(ctrl, "DPP_STOP_LISTEN"); in hostapd_cli_cmd_dpp_stop_listen()
1426 static int hostapd_cli_cmd_dpp_configurator_add(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_configurator_add() argument
1429 return hostapd_cli_cmd(ctrl, "DPP_CONFIGURATOR_ADD", 0, argc, argv); in hostapd_cli_cmd_dpp_configurator_add()
1433 static int hostapd_cli_cmd_dpp_configurator_remove(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_dpp_configurator_remove() argument
1436 return hostapd_cli_cmd(ctrl, "DPP_CONFIGURATOR_REMOVE", 1, argc, argv); in hostapd_cli_cmd_dpp_configurator_remove()
1440 static int hostapd_cli_cmd_dpp_configurator_get_key(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_dpp_configurator_get_key() argument
1443 return hostapd_cli_cmd(ctrl, "DPP_CONFIGURATOR_GET_KEY", 1, argc, argv); in hostapd_cli_cmd_dpp_configurator_get_key()
1447 static int hostapd_cli_cmd_dpp_configurator_sign(struct wpa_ctrl *ctrl, in hostapd_cli_cmd_dpp_configurator_sign() argument
1450 return hostapd_cli_cmd(ctrl, "DPP_CONFIGURATOR_SIGN", 1, argc, argv); in hostapd_cli_cmd_dpp_configurator_sign()
1454 static int hostapd_cli_cmd_dpp_pkex_add(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_pkex_add() argument
1457 return hostapd_cli_cmd(ctrl, "DPP_PKEX_ADD", 1, argc, argv); in hostapd_cli_cmd_dpp_pkex_add()
1461 static int hostapd_cli_cmd_dpp_pkex_remove(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_dpp_pkex_remove() argument
1464 return hostapd_cli_cmd(ctrl, "DPP_PKEX_REMOVE", 1, argc, argv); in hostapd_cli_cmd_dpp_pkex_remove()
1470 static int hostapd_cli_cmd_accept_macacl(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_accept_macacl() argument
1473 return hostapd_cli_cmd(ctrl, "ACCEPT_ACL", 1, argc, argv); in hostapd_cli_cmd_accept_macacl()
1477 static int hostapd_cli_cmd_deny_macacl(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_deny_macacl() argument
1480 return hostapd_cli_cmd(ctrl, "DENY_ACL", 1, argc, argv); in hostapd_cli_cmd_deny_macacl()
1484 static int hostapd_cli_cmd_poll_sta(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_poll_sta() argument
1487 return hostapd_cli_cmd(ctrl, "POLL_STA", 1, argc, argv); in hostapd_cli_cmd_poll_sta()
1491 static int hostapd_cli_cmd_req_beacon(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_req_beacon() argument
1494 return hostapd_cli_cmd(ctrl, "REQ_BEACON", 2, argc, argv); in hostapd_cli_cmd_req_beacon()
1498 static int hostapd_cli_cmd_reload_wpa_psk(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_reload_wpa_psk() argument
1501 return wpa_ctrl_command(ctrl, "RELOAD_WPA_PSK"); in hostapd_cli_cmd_reload_wpa_psk()
1507 int (*handler)(struct wpa_ctrl *ctrl, int argc, char *argv[]);
1721 static void wpa_request(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_request() argument
1755 match->handler(ctrl, argc - 1, &argv[1]); in wpa_request()
1788 static void hostapd_cli_recv_pending(struct wpa_ctrl *ctrl, int in_read, in hostapd_cli_recv_pending() argument
1794 while (wpa_ctrl_pending(ctrl)) { in hostapd_cli_recv_pending()
1797 if (wpa_ctrl_recv(ctrl, buf, &len) == 0) { in hostapd_cli_recv_pending()
1966 static void hostapd_cli_action(struct wpa_ctrl *ctrl) in hostapd_cli_action() argument
1974 fd = wpa_ctrl_get_fd(ctrl); in hostapd_cli_action()
1988 hostapd_cli_recv_pending(ctrl, 0, 1); in hostapd_cli_action()
1991 if (wpa_ctrl_request(ctrl, "PING", 4, buf, &len, in hostapd_cli_action()