Lines Matching refs:cck_pwrlvl
2232 uint8_t cck_pwrlvl = sc->sc_txpwr_cck[chan] & 0xff;
2241 cck_pwrlvl = (cck_pwrlvl > cck_pwrlvl_max) ?
2242 cck_pwrlvl_max : cck_pwrlvl;
2243 idx = cck_pwrlvl % 6;
2244 set = cck_pwrlvl / 6;
2625 uint8_t cck_pwrlvl = sc->sc_txpwr_cck[chan] & 0xff;
2630 cck_pwrlvl = (cck_pwrlvl > cck_pwrlvl_max) ?
2631 cck_pwrlvl_max : cck_pwrlvl;
2632 cck_pwrlvl += sc->sc_txpwr_cck_base;
2633 cck_pwrlvl = (cck_pwrlvl > 35) ? 35 : cck_pwrlvl;
2643 urtw_8225v2_tx_gain_cck_ofdm[cck_pwrlvl], 0))
3359 int8_t cck_pwrlvl = sc->sc_txpwr_cck[chan] & 0xff;
3375 cck_pwrlvl = (cck_pwrlvl > (cck_pwrlvl_max - cck_pwrlvl_min)) ?
3376 cck_pwrlvl_max : (cck_pwrlvl + cck_pwrlvl_min);
3378 cck_pwrlvl += sc->sc_txpwr_cck_base;
3379 cck_pwrlvl = (cck_pwrlvl > 35) ? 35 : cck_pwrlvl;
3380 cck_pwrlvl = (cck_pwrlvl < 0) ? 0 : cck_pwrlvl;
3386 if (cck_pwrlvl > 7 && cck_pwrlvl <= 11)
3388 if (cck_pwrlvl > 11)
3391 if (cck_pwrlvl > 5 && cck_pwrlvl <= 11)
3393 if (cck_pwrlvl > 12 && cck_pwrlvl <= 17)
3395 if (cck_pwrlvl > 17)
3404 urtw_8225v2_tx_gain_cck_ofdm[cck_pwrlvl] << 1, 0);