Lines Matching refs:maxtxpwr
1452 u8 maxtxpwr, mintxpwr, rate, pactrl; in wlc_phy_txpower_sromlimit_max_get() local
1462 wlc_phy_txpower_sromlimit(ppi, chan, &mintxpwr, &maxtxpwr, in wlc_phy_txpower_sromlimit_max_get()
1465 maxtxpwr = (maxtxpwr > pactrl) ? (maxtxpwr - pactrl) : 0; in wlc_phy_txpower_sromlimit_max_get()
1467 maxtxpwr = (maxtxpwr > 6) ? (maxtxpwr - 6) : 0; in wlc_phy_txpower_sromlimit_max_get()
1469 tx_pwr_max = max(tx_pwr_max, maxtxpwr); in wlc_phy_txpower_sromlimit_max_get()
1470 tx_pwr_min = min(tx_pwr_min, maxtxpwr); in wlc_phy_txpower_sromlimit_max_get()
1533 u8 maxtxpwr, mintxpwr, rate, pactrl; in wlc_phy_txpower_recalc_target() local
1597 &mintxpwr, &maxtxpwr, rate); in wlc_phy_txpower_recalc_target()
1599 maxtxpwr = min(maxtxpwr, pi->txpwr_limit[rate]); in wlc_phy_txpower_recalc_target()
1601 maxtxpwr = (maxtxpwr > pactrl) ? (maxtxpwr - pactrl) : 0; in wlc_phy_txpower_recalc_target()
1603 maxtxpwr = (maxtxpwr > 6) ? (maxtxpwr - 6) : 0; in wlc_phy_txpower_recalc_target()
1605 maxtxpwr = min(maxtxpwr, tx_pwr_target[rate]); in wlc_phy_txpower_recalc_target()
1608 maxtxpwr = (maxtxpwr * pi->txpwr_percent) / 100; in wlc_phy_txpower_recalc_target()
1610 tx_pwr_target[rate] = max(maxtxpwr, mintxpwr); in wlc_phy_txpower_recalc_target()