Lines Matching defs:ofdm_pwrlvl
2817 uint8_t ofdm_pwrlvl = sc->sc_txpwr_ofdm[chan] & 0xff;
2840 ofdm_pwrlvl = (ofdm_pwrlvl > (ofdm_pwrlvl_max - ofdm_pwrlvl_min)) ?
2841 ofdm_pwrlvl_max : ofdm_pwrlvl + ofdm_pwrlvl_min;
2842 ofdm_pwrlvl = (ofdm_pwrlvl > 35) ? 35 : ofdm_pwrlvl;
2844 idx = ofdm_pwrlvl % 6;
2845 set = ofdm_pwrlvl / 6;
3137 uint8_t ofdm_pwrlvl = sc->sc_txpwr_ofdm[chan] & 0xff;
3155 ofdm_pwrlvl = (ofdm_pwrlvl > (ofdm_pwrlvl_max - ofdm_pwrlvl_min)) ?
3156 ofdm_pwrlvl_max : ofdm_pwrlvl + ofdm_pwrlvl_min;
3157 ofdm_pwrlvl += sc->sc_txpwr_ofdm_base;
3158 ofdm_pwrlvl = (ofdm_pwrlvl > 35) ? 35 : ofdm_pwrlvl;
3171 urtw_8225v2_tx_gain_cck_ofdm[ofdm_pwrlvl]);
3414 uint8_t ofdm_pwrlvl = sc->sc_txpwr_ofdm[chan] & 0xff;
3441 ofdm_pwrlvl = (ofdm_pwrlvl > 15) ?
3443 (ofdm_pwrlvl + ((sc->sc_flags & URTW_RTL8187B_REV_B) ? 2 : 10));
3444 ofdm_pwrlvl += sc->sc_txpwr_ofdm_base;
3445 ofdm_pwrlvl = (ofdm_pwrlvl > 35) ? 35 : ofdm_pwrlvl;
3448 urtw_8225v2_tx_gain_cck_ofdm[ofdm_pwrlvl] << 1);
3451 if (ofdm_pwrlvl <= 11) {
3459 if (ofdm_pwrlvl <= 11) {
3462 } else if (ofdm_pwrlvl <= 17) {