Home
last modified time | relevance | path

Searched refs:WL_CHANSPEC_BW_MASK (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/bcmdhd/include/
Dbcmwifi_channels.h68 #define WL_CHANSPEC_BW_MASK 0x0C00 macro
112 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK)
124 #define CHSPEC_IS10(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_10)
125 #define CHSPEC_IS20(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20)
127 #define CHSPEC_IS40(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_40)
172 #define WL_CHANSPEC_BW_MASK 0x3800 macro
227 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK)
248 #define CHSPEC_IS10(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_10)
249 #define CHSPEC_IS20(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20)
251 #define CHSPEC_IS40(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_40)
[all …]
/drivers/net/wireless/brcm80211/include/
Dbrcmu_wifi.h58 #define WL_CHANSPEC_BW_MASK 0x0C00 macro
79 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK)
82 (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_10)
85 (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20)
89 (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_40)
/drivers/net/wireless/bcmdhd/
Dbcmwifi_channels.c383 bw = (chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT; in bw_chspec_to_mhz()
487 bw = wf_chspec_bw_str[(chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT]; in wf_chspec_ntoa()