2 * hostapd / Hardware feature query and different modes
3 * Copyright 2002-2003, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright (c) 2008-2011, Jouni Malinen <j@w1.fi>
7 * This software may be distributed under the terms of the BSD license.
8 * See README for more details.
15 void hostapd_free_hw_features(struct hostapd_hw_modes *hw_features,
16 size_t num_hw_features);
17 int hostapd_get_hw_features(struct hostapd_iface *iface);
18 int hostapd_acs_completed(struct hostapd_iface *iface, int err);
19 int hostapd_select_hw_mode(struct hostapd_iface *iface);
20 const char * hostapd_hw_mode_txt(int mode);
21 int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan);
22 int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq);
23 int hostapd_check_ht_capab(struct hostapd_iface *iface);
24 int hostapd_prepare_rates(struct hostapd_iface *iface,
25 struct hostapd_hw_modes *mode);
26 void hostapd_stop_setup_timers(struct hostapd_iface *iface);
27 #else /* NEED_AP_MLME */
29 hostapd_free_hw_features(struct hostapd_hw_modes *hw_features,
30 size_t num_hw_features)
34 static inline int hostapd_get_hw_features(struct hostapd_iface *iface)
39 static inline int hostapd_acs_completed(struct hostapd_iface *iface, int err)
44 static inline int hostapd_select_hw_mode(struct hostapd_iface *iface)
49 static inline const char * hostapd_hw_mode_txt(int mode)
54 static inline int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan)
59 static inline int hostapd_check_ht_capab(struct hostapd_iface *iface)
64 static inline int hostapd_prepare_rates(struct hostapd_iface *iface,
65 struct hostapd_hw_modes *mode)
70 static inline void hostapd_stop_setup_timers(struct hostapd_iface *iface)
74 #endif /* NEED_AP_MLME */
76 #endif /* HW_FEATURES_H */