Searched refs:ATH_EXPONENT_TO_VALUE (Results 1 – 2 of 2) sorted by relevance
136 #define ATH_EXPONENT_TO_VALUE(v) ((1<<(v))-1) in ath_beaconq_config() macro161 qi.tqi_cwmin = 2*ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmin); in ath_beaconq_config()162 qi.tqi_cwmax = ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmax); in ath_beaconq_config()173 #undef ATH_EXPONENT_TO_VALUE in ath_beaconq_config()
4100 #define ATH_EXPONENT_TO_VALUE(v) ((1<<v)-1) in ath_txq_update() macro4147 qi.tqi_cwmin = ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmin); in ath_txq_update()4148 qi.tqi_cwmax = ATH_EXPONENT_TO_VALUE(wmep->wmep_logcwmax); in ath_txq_update()4168 #undef ATH_EXPONENT_TO_VALUE in ath_txq_update()