Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_eeprom_v4k.c214 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument
220 if (fbin == AR5416_BCHAN_UNUSED) in fbin2freq()
221 return fbin; in fbin2freq()
222 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
H A Dah_eeprom_9287.c224 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument
230 if (fbin == AR5416_BCHAN_UNUSED) in fbin2freq()
231 return fbin; in fbin2freq()
232 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
H A Dah_eeprom_v14.c262 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument
268 if (fbin == AR5416_BCHAN_UNUSED) in fbin2freq()
269 return fbin; in fbin2freq()
270 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
H A Dah_eeprom_v3.c46 fbin2freq(HAL_EEPROM *ee, uint16_t fbin) in fbin2freq() argument
48 if (fbin == CHANNEL_UNUSED) /* reserved value, don't convert */ in fbin2freq()
49 return fbin; in fbin2freq()
51 (fbin > 62 ? 5100 + 10*62 + 5*(fbin-62) : 5100 + 10*fbin) : in fbin2freq()
52 4800 + 5*fbin; in fbin2freq()
56 fbin2freq_2p4(HAL_EEPROM *ee, uint16_t fbin) in fbin2freq_2p4() argument
58 if (fbin == CHANNEL_UNUSED) /* reserved value, don't convert */ in fbin2freq_2p4()
59 return fbin; in fbin2freq_2p4()
61 2400 + fbin : in fbin2freq_2p4()
62 2300 + fbin; in fbin2freq_2p4()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300eep.h606 fbin2freq(u_int8_t fbin, HAL_BOOL is_2ghz) in fbin2freq() argument
612 if (fbin == AR9300_BCHAN_UNUSED) in fbin2freq()
614 return fbin; in fbin2freq()
617 return (u_int16_t)((is_2ghz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c2048 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument
2054 if (fbin == AR5416_BCHAN_UNUSED) { in fbin2freq()
2055 return fbin; in fbin2freq()
2058 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()