@ -1541,6 +1541,14 @@ static int hostapd_cli_cmd_reload_wpa_psk(struct wpa_ctrl *ctrl, int argc,
}
}
# ifdef ANDROID
static int hostapd_cli_cmd_driver ( struct wpa_ctrl * ctrl , int argc , char * argv [ ] )
{
return hostapd_cli_cmd ( ctrl , " DRIVER " , 1 , argc , argv ) ;
}
# endif /* ANDROID */
struct hostapd_cli_cmd {
struct hostapd_cli_cmd {
const char * cmd ;
const char * cmd ;
int ( * handler ) ( struct wpa_ctrl * ctrl , int argc , char * argv [ ] ) ;
int ( * handler ) ( struct wpa_ctrl * ctrl , int argc , char * argv [ ] ) ;
@ -1732,6 +1740,10 @@ static const struct hostapd_cli_cmd hostapd_cli_commands[] = {
" <addr> [req_mode=] <measurement request hexdump> = send a Beacon report request to a station " } ,
" <addr> [req_mode=] <measurement request hexdump> = send a Beacon report request to a station " } ,
{ " reload_wpa_psk " , hostapd_cli_cmd_reload_wpa_psk , NULL ,
{ " reload_wpa_psk " , hostapd_cli_cmd_reload_wpa_psk , NULL ,
" = reload wpa_psk_file only " } ,
" = reload wpa_psk_file only " } ,
# ifdef ANDROID
{ " driver " , hostapd_cli_cmd_driver , NULL ,
" <driver sub command> [<hex formatted data>] = send driver command data " } ,
# endif /* ANDROID */
{ NULL , NULL , NULL , NULL }
{ NULL , NULL , NULL , NULL }
} ;
} ;