Make check_40mhz_5g common

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
Janusz Dziedzic 2015-01-08 12:48:33 +01:00 committed by Jouni Malinen
parent 6d5d098f77
commit 0e550fe496
3 changed files with 79 additions and 60 deletions

View file

@ -23,5 +23,8 @@ int hw_get_chan(struct hostapd_hw_modes *mode, int freq);
int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan,
int sec_chan);
void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan);
int check_40mhz_5g(struct hostapd_hw_modes *mode,
struct wpa_scan_results *scan_res, int pri_chan,
int sec_chan);
#endif /* HW_FEATURES_COMMON_H */