11 #ifndef __WS80211_UTILS_H__ 12 #define __WS80211_UTILS_H__ 18 #include "ws_attributes.h" 20 enum ws80211_channel_type {
23 WS80211_CHAN_HT40MINUS,
24 WS80211_CHAN_HT40PLUS,
26 WS80211_CHAN_VHT80P80,
30 #define CHAN_NO_HT "NOHT" 31 #define CHAN_HT20 "HT20" 32 #define CHAN_HT40MINUS "HT40-" 33 #define CHAN_HT40PLUS "HT40+" 34 #define CHAN_VHT80 "VHT80" 35 #define CHAN_VHT80P80 "VHT80+80" 36 #define CHAN_VHT160 "VHT160" 39 enum ws80211_fcs_validation {
48 gboolean can_set_freq;
49 gboolean can_check_fcs;
57 enum ws80211_channel_type current_chan_type;
58 int current_center_freq1;
59 int current_center_freq2;
60 enum ws80211_fcs_validation current_fcs_validation;
70 int ws80211_init(
void);
78 GArray* ws80211_find_interfaces(
void);
86 void ws80211_free_interfaces(GArray *interfaces);
97 int ws80211_set_freq(
const char *name, guint32 freq,
int chan_type, guint32 _U_ center_freq, guint32 _U_ center_freq2);
99 int ws80211_str_to_chan_type(
const gchar *s);
100 const gchar *ws80211_chan_type_to_str(
int type);
106 gboolean ws80211_has_fcs_filter(
void);
114 int ws80211_set_fcs_validation(
const char *name,
enum ws80211_fcs_validation fcs_validation);
123 const char *ws80211_get_helper_path(
void);
Definition: ws80211_utils.h:45
Definition: ws80211_utils.h:55