Home
last modified time | relevance | path

Searched refs:CH_10MHZ_APART (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/bcmdhd/include/
Dbcmwifi_channels.h43 #define CH_10MHZ_APART 2 macro
87 #define LOWER_20_SB(channel) (((channel) > CH_10MHZ_APART) ? ((channel) - CH_10MHZ_APART) : 0)
88 #define UPPER_20_SB(channel) (((channel) < (MAXCHANNEL - CH_10MHZ_APART)) ? \
89 ((channel) + CH_10MHZ_APART) : 0)
91 #define LL_20_SB(channel) (((channel) > 3 * CH_10MHZ_APART) ? ((channel) - 3 * CH_10MHZ_APART) : 0)
92 #define UU_20_SB(channel) (((channel) < (MAXCHANNEL - 3 * CH_10MHZ_APART)) ? \
93 ((channel) + 3 * CH_10MHZ_APART) : 0)
191 #define LOWER_20_SB(channel) (((channel) > CH_10MHZ_APART) ? \
192 ((channel) - CH_10MHZ_APART) : 0)
193 #define UPPER_20_SB(channel) (((channel) < (MAXCHANNEL - CH_10MHZ_APART)) ? \
[all …]
/drivers/net/wireless/brcm80211/include/
Dbrcmu_wifi.h33 #define CH_10MHZ_APART 2 macro
118 return channel > CH_10MHZ_APART ? (channel - CH_10MHZ_APART) : 0; in lower_20_sb()
123 return (channel < (MAXCHANNEL - CH_10MHZ_APART)) ? in upper_20_sb()
124 channel + CH_10MHZ_APART : 0; in upper_20_sb()
/drivers/net/wireless/bcmdhd/
Dbcmwifi_channels.c108 channel += CH_10MHZ_APART; in wf_chspec_ntoa()
111 channel -= CH_10MHZ_APART; in wf_chspec_ntoa()
168 channel += CH_10MHZ_APART; in wf_chspec_aton()
176 channel -= CH_10MHZ_APART; in wf_chspec_aton()
Dwl_cfg80211.c2561 tmp_c += CH_10MHZ_APART; in channel_to_chanspec()
2563 tmp_c -= CH_10MHZ_APART; in channel_to_chanspec()
2571 tmp_c -= (CH_10MHZ_APART + CH_20MHZ_APART); in channel_to_chanspec()
2573 tmp_c -= CH_10MHZ_APART; in channel_to_chanspec()
2575 tmp_c += CH_10MHZ_APART; in channel_to_chanspec()
2578 tmp_c += (CH_10MHZ_APART + CH_20MHZ_APART); in channel_to_chanspec()
9973 channel += CH_10MHZ_APART;
9975 channel -= CH_10MHZ_APART;
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_cmn.c1282 channel + CH_10MHZ_APART) in wlc_phy_chanspec_band_firstch()