11#ifndef __802_11_UTILS_H__
12#define __802_11_UTILS_H__
66#define FREQ_IS_BG(freq) ((freq) <= 2484)
67#define CHAN_IS_BG(chan) ((chan) <= 14)
69#define FREQ_IS_6G(freq) (5950 <= (freq) && (freq) <= 7125)
93#define RATE_IS_DSSS(rate) \
101#define RATE_IS_OFDM(rate) \
WS_DLL_PUBLIC int ieee80211_mhz_to_chan(unsigned freq)
Definition 802_11-utils.c:52
WS_DLL_PUBLIC unsigned ieee80211_chan_band_to_mhz(int chan, bool is_bg, bool is_6ghz)
Get Frequency given a Channel number and band.
Definition 802_11-utils.c:91
WS_DLL_PUBLIC char * ieee80211_mhz_to_str(unsigned freq)
Definition 802_11-utils.c:111
WS_DLL_PUBLIC unsigned ieee80211_chan_to_mhz(int chan, bool is_bg)
Definition 802_11-utils.c:75