X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libeap%2Fsrc%2Fap%2Fhw_features.h;fp=libeap%2Fsrc%2Fap%2Fhw_features.h;h=ca7f22ba205bf208c494aa31bdf0e52cc4a59aba;hb=4f319dde67a76fe0aaf33f6d2788968012584ada;hp=0295549fe1d387ff1bef9ae21938a8f30c25af1c;hpb=ed09b5e64dd485851310307979d5eed14678087b;p=mech_eap.git diff --git a/libeap/src/ap/hw_features.h b/libeap/src/ap/hw_features.h index 0295549..ca7f22b 100644 --- a/libeap/src/ap/hw_features.h +++ b/libeap/src/ap/hw_features.h @@ -2,15 +2,10 @@ * hostapd / Hardware feature query and different modes * Copyright 2002-2003, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. + * Copyright (c) 2008-2011, Jouni Malinen * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. */ #ifndef HW_FEATURES_H @@ -20,11 +15,15 @@ void hostapd_free_hw_features(struct hostapd_hw_modes *hw_features, size_t num_hw_features); int hostapd_get_hw_features(struct hostapd_iface *iface); +int hostapd_acs_completed(struct hostapd_iface *iface, int err); int hostapd_select_hw_mode(struct hostapd_iface *iface); const char * hostapd_hw_mode_txt(int mode); int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan); int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq); int hostapd_check_ht_capab(struct hostapd_iface *iface); +int hostapd_prepare_rates(struct hostapd_iface *iface, + struct hostapd_hw_modes *mode); +void hostapd_stop_setup_timers(struct hostapd_iface *iface); #else /* NEED_AP_MLME */ static inline void hostapd_free_hw_features(struct hostapd_hw_modes *hw_features, @@ -37,11 +36,16 @@ static inline int hostapd_get_hw_features(struct hostapd_iface *iface) return -1; } -static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) +static inline int hostapd_acs_completed(struct hostapd_iface *iface, int err) { return -1; } +static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) +{ + return -100; +} + static inline const char * hostapd_hw_mode_txt(int mode) { return NULL; @@ -57,6 +61,16 @@ static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) return 0; } +static inline int hostapd_prepare_rates(struct hostapd_iface *iface, + struct hostapd_hw_modes *mode) +{ + return 0; +} + +static inline void hostapd_stop_setup_timers(struct hostapd_iface *iface) +{ +} + #endif /* NEED_AP_MLME */ #endif /* HW_FEATURES_H */