sys/dev/netif/ath/hal/ath_hal/ar5416/ar9285_reset.c
static uint16_t
fbin2freq(uint8_t fbin)
{
    /*
     * Reserved value 0xFF provides an empty definition both as
     * an fbin and as a frequency - do not convert
     */
    if (fbin == AR5416_BCHAN_UNUSED) {
        return fbin;
    }

    return (uint16_t)(2300 + fbin);
}
/**************************************************************************
 * fbin2freq
 *
 * Get channel value from binary representation held in eeprom
 * RETURNS: the frequency in MHz
 */
fbin2freq
Get channel value from binary representation held in eeprom
RETURNS: the frequency in MHz
fbin2freq Get channel value from binary representation held in eeprom RETURNS : the frequency in MHz
static uint16_t
fbin2freq(uint8_t fbin)
{
    if (fbin == AR5416_BCHAN_UNUSED) {
        return fbin;
    }
    return (uint16_t)(2300 + fbin);
}
static uint16_t fbin2freq ( uint8_t fbin ) { if ( fbin == AR5416_BCHAN_UNUSED ) { return fbin ; } return ( uint16_t ) ( 2300 + fbin ) ; }
fbin2freq
 Get channel value from binary representation held in eeprom
 RETURNS: the frequency in MHz
fbin2freq Get channel value from binary representation held in eeprom RETURNS : the frequency in MHz
/*
     * Reserved value 0xFF provides an empty definition both as
     * an fbin and as a frequency - do not convert
     */