P2P: Add driver op for requesting GO/AP channel switch

Signed-hostap: Jithu Jance <jithu@broadcom.com>
This commit is contained in:
Jithu Jance 2012-06-10 20:54:31 +03:00 committed by Jouni Malinen
parent b9cfc09a81
commit ef35f5a0fd
2 changed files with 20 additions and 0 deletions

View file

@ -2536,6 +2536,18 @@ struct wpa_driver_ops {
* conditions.
*/
int (*radio_disable)(void *priv, int disabled);
/**
* switch_channel - Announce channel switch and migrate the GO to the
* given frequency
* @priv: Private driver interface data
* @freq: Frequency in MHz
* Returns: 0 on success, -1 on failure
*
* This function is used to move the GO to the legacy STA channel to
* avoid frequency conflict in single channel concurrency.
*/
int (*switch_channel)(void *priv, unsigned int freq);
};