Searched refs:fbin (Results 1 – 6 of 6) sorted by relevance
214 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument220 if (fbin == AR5416_BCHAN_UNUSED) in fbin2freq()221 return fbin; in fbin2freq()222 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
224 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument230 if (fbin == AR5416_BCHAN_UNUSED) in fbin2freq()231 return fbin; in fbin2freq()232 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
262 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument268 if (fbin == AR5416_BCHAN_UNUSED) in fbin2freq()269 return fbin; in fbin2freq()270 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
46 fbin2freq(HAL_EEPROM *ee, uint16_t fbin) in fbin2freq() argument48 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() argument58 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()
606 fbin2freq(u_int8_t fbin, HAL_BOOL is_2ghz) in fbin2freq() argument612 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()
2048 fbin2freq(uint8_t fbin, HAL_BOOL is2GHz) in fbin2freq() argument2054 if (fbin == AR5416_BCHAN_UNUSED) { in fbin2freq()2055 return fbin; in fbin2freq()2058 return (uint16_t)((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()