11 #ifndef __802_11_UTILS_H__
12 #define __802_11_UTILS_H__
14 #include <wireshark.h>
59 ieee80211_chan_band_to_mhz(
int chan,
bool is_bg,
bool is_6ghz);
62 #define FREQ_IS_BG(freq) ((freq) <= 2484)
63 #define CHAN_IS_BG(chan) ((chan) <= 14)
65 #define FREQ_IS_6G(freq) (5950 <= (freq) && (freq) <= 7125)
89 #define RATE_IS_DSSS(rate) \
97 #define RATE_IS_OFDM(rate) \
WS_DLL_PUBLIC char * ieee80211_mhz_to_str(unsigned freq)
Definition: 802_11-utils.c:111
WS_DLL_PUBLIC int ieee80211_mhz_to_chan(unsigned freq)
Definition: 802_11-utils.c:52
WS_DLL_PUBLIC unsigned ieee80211_chan_to_mhz(int chan, bool is_bg)
Definition: 802_11-utils.c:75