1 /* 2 * Copyright (c) 2004-2022, Jouni Malinen <j@w1.fi> 3 * Copyright (c) 2024, NXP 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef __HOSTAPD_CLI_ZEPHYR_H_ 10 #define __HOSTAPD_CLI_ZEPHYR_H_ 11 12 #include <zephyr/kernel.h> 13 14 #include "common/wpa_ctrl.h" 15 16 void hostapd_cli_msg_cb(char *msg, size_t len); 17 int hostapd_request(struct wpa_ctrl *ctrl, int argc, char *argv[]); 18 int hostapd_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd); 19 int hostapd_ctrl_command_interactive(struct wpa_ctrl *ctrl, const char *cmd); 20 int zephyr_hostapd_cli_cmd_resp(const char *cmd, char *resp); 21 int zephyr_hostapd_cli_cmd_v(const char *fmt, ...); 22 int zephyr_hostapd_ctrl_init(void *ctx); 23 int zephyr_hostapd_ctrl_zephyr_cmd(int argc, const char *argv[]); 24 #endif /* __HOSTAPD_CLI_ZEPHYR_H_ */ 25