nl80211: Handle CH_SWITCH event

Some drivers may independently decide to switch channels. Handle this by
updating the hostapd and wpa_supplicant AP and GO configuration.

Signed-hostap: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
This commit is contained in:
Thomas Pedersen 2012-06-25 14:45:14 +03:00 committed by Jouni Malinen
parent e7381b8473
commit 1b487b8b1e
8 changed files with 122 additions and 1 deletions

View file

@ -283,5 +283,7 @@ void hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr);
int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da,
const u8 *bssid, const u8 *ie, size_t ie_len,
int ssi_signal);
void hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht,
int offset);
#endif /* HOSTAPD_H */