Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dieee80211.h1604 static inline int ieee80211_ofdm_chan_to_freq(int s_freq, int channel) in ieee80211_ofdm_chan_to_freq() argument
1607 (s_freq >= 4000)) in ieee80211_ofdm_chan_to_freq()
1608 return s_freq + (channel * 5); in ieee80211_ofdm_chan_to_freq()
1623 static inline int ieee80211_freq_to_ofdm_chan(int s_freq, int freq) in ieee80211_freq_to_ofdm_chan() argument
1625 if ((freq > (s_freq + 2)) && (freq <= (s_freq + 1202)) && in ieee80211_freq_to_ofdm_chan()
1626 (s_freq >= 4000)) in ieee80211_freq_to_ofdm_chan()
1627 return (freq + 2 - s_freq) / 5; in ieee80211_freq_to_ofdm_chan()