```
// 启动wpa_supplicant时候的命令行参数保存在struct wpa_params结构的变量中
struct wpa_params
{
int daemonize;
int wait_for_monitor;
char *pid_file;
int wpa_debug_level;
int wpa_debug_show_keys;
int wpa_debug_timestamp;
/* Global ctrl_iface path/parameter */
char *ctrl_interface;
/* Global ctrl_iface group */
char *ctrl_interface_group;
int dbus_ctrl_interface;
const char *wpa_debug_file_path;
int wpa_debug_syslog;
int wpa_debug_tracing;
/**
* override_driver - Optional driver parameter override
*
* This parameter can be used to override the driver parameter in
* dynamic interface addition to force a specific driver wrapper to be
* used instead.
*/
char *override_driver;
/**
* override_ctrl_interface - Optional ctrl_interface override
*
* This parameter can be used to override the ctrl_interface parameter
* in dynamic interface addition to force a control interface to be
* created.
*/
char *override_ctrl_interface;
char *entropy_file;
ifdef CONFIG_P2P
/**
* conf_p2p_dev - Configuration file used to hold the
* P2P Device configuration parameters.
*
* This can also be %NULL. In such a case, if a P2P Device dedicated
* interfaces is created, the main configuration file will be used.
*/
char *conf_p2p_dev;
endif / CONFIG_P2P /
};