Add deinit_ap driver op to help wpa_supplicant AP mode use

This commit is contained in:
Jouni Malinen 2010-01-16 12:20:51 +02:00 committed by Jouni Malinen
parent e882899981
commit af47308823
4 changed files with 37 additions and 1 deletions

View file

@ -1708,6 +1708,17 @@ struct wpa_driver_ops {
* 802.11b-only devices.
*/
int (*disable_11b_rates)(void *priv, int disabled);
/**
* deinit_ap - Deinitialize AP mode
* @priv: Private driver interface data
* Returns: 0 on success, -1 on failure (or if not supported)
*
* This optional function can be used to disable AP mode related
* configuration and change the driver mode to station mode to allow
* normal station operations like scanning to be completed.
*/
int (*deinit_ap)(void *priv);
};