Home
last modified time | relevance | path

Searched refs:pwr_diff (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Drf.c148 s8 pwr_diff = 0; in get_rx_power_val_by_reg() local
182 pwr_diff = hal_data->TxPwrLegacyHtDiff[rf][channel-1]; in get_rx_power_val_by_reg()
184 pwr_diff = hal_data->TxPwrHt20Diff[rf][channel-1]; in get_rx_power_val_by_reg()
191 if (pwr_diff >= customer_pwr_limit) in get_rx_power_val_by_reg()
192 pwr_diff = 0; in get_rx_power_val_by_reg()
194 pwr_diff = customer_pwr_limit - pwr_diff; in get_rx_power_val_by_reg()
200 if (pwr_diff_limit[i] > pwr_diff) in get_rx_power_val_by_reg()
201 pwr_diff_limit[i] = pwr_diff; in get_rx_power_val_by_reg()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c167 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in get_txpower_writeval_by_regulatory() local
239 pwr_diff = rtlefuse->txpwr_legacyhtdiff[rf][channel-1]; in get_txpower_writeval_by_regulatory()
241 pwr_diff = in get_txpower_writeval_by_regulatory()
251 if (pwr_diff > customer_pwr_diff) in get_txpower_writeval_by_regulatory()
252 pwr_diff = 0; in get_txpower_writeval_by_regulatory()
254 pwr_diff = customer_pwr_diff - pwr_diff; in get_txpower_writeval_by_regulatory()
262 if (pwr_diff_limit[i] > pwr_diff) in get_txpower_writeval_by_regulatory()
263 pwr_diff_limit[i] = pwr_diff; in get_txpower_writeval_by_regulatory()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c186 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory() local
258 pwr_diff = in _rtl8723be_get_txpower_writeval_by_regulatory()
262 pwr_diff = in _rtl8723be_get_txpower_writeval_by_regulatory()
272 if (pwr_diff > customer_pwr_diff) in _rtl8723be_get_txpower_writeval_by_regulatory()
273 pwr_diff = 0; in _rtl8723be_get_txpower_writeval_by_regulatory()
275 pwr_diff = customer_pwr_diff - pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory()
283 if (pwr_diff_limit[i] > pwr_diff) in _rtl8723be_get_txpower_writeval_by_regulatory()
284 pwr_diff_limit[i] = pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c185 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory() local
257 pwr_diff = in _rtl88e_get_txpower_writeval_by_regulatory()
260 pwr_diff = in _rtl88e_get_txpower_writeval_by_regulatory()
270 if (pwr_diff > customer_pwr_diff) in _rtl88e_get_txpower_writeval_by_regulatory()
271 pwr_diff = 0; in _rtl88e_get_txpower_writeval_by_regulatory()
273 pwr_diff = customer_pwr_diff - pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory()
282 if (pwr_diff_limit[i] > pwr_diff) in _rtl88e_get_txpower_writeval_by_regulatory()
283 pwr_diff_limit[i] = pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory()
/Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8192e.c589 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
591 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
594 efuse->tx_power_index_A.pwr_diff[i - 1].ht20; in rtl8192eu_parse_efuse()
596 efuse->tx_power_index_B.pwr_diff[i - 1].ht20; in rtl8192eu_parse_efuse()
599 efuse->tx_power_index_A.pwr_diff[i - 1].ht40; in rtl8192eu_parse_efuse()
601 efuse->tx_power_index_B.pwr_diff[i - 1].ht40; in rtl8192eu_parse_efuse()
Drtl8xxxu_8723b.c433 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8723bu_parse_efuse()
435 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8723bu_parse_efuse()
438 efuse->tx_power_index_A.pwr_diff[i - 1].ht20; in rtl8723bu_parse_efuse()
440 efuse->tx_power_index_B.pwr_diff[i - 1].ht20; in rtl8723bu_parse_efuse()
443 efuse->tx_power_index_A.pwr_diff[i - 1].ht40; in rtl8723bu_parse_efuse()
445 efuse->tx_power_index_B.pwr_diff[i - 1].ht40; in rtl8723bu_parse_efuse()
Drtl8xxxu.h772 struct rtl8723bu_pwr_idx pwr_diff[3]; member
822 struct rtl8723bu_pwr_idx pwr_diff[3]; member