Home
last modified time | relevance | path

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

/drivers/staging/r8188eu/hal/
Drtl8188e_rf6052.c256 s8 pwr_diff = 0; in get_rx_power_val_by_reg() local
300 pwr_diff = pHalData->TxPwrLegacyHtDiff[rf][Channel - 1]; in get_rx_power_val_by_reg()
302 pwr_diff = pHalData->TxPwrHt20Diff[rf][Channel - 1]; in get_rx_power_val_by_reg()
309 if (pwr_diff >= customer_pwr_limit) in get_rx_power_val_by_reg()
310 pwr_diff = 0; in get_rx_power_val_by_reg()
312 pwr_diff = customer_pwr_limit - pwr_diff; in get_rx_power_val_by_reg()
317 if (pwr_diff_limit[i] > pwr_diff) in get_rx_power_val_by_reg()
318 pwr_diff_limit[i] = pwr_diff; in get_rx_power_val_by_reg()
/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()
/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()
/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()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8192e.c623 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
625 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
628 efuse->tx_power_index_A.pwr_diff[i - 1].ht20; in rtl8192eu_parse_efuse()
630 efuse->tx_power_index_B.pwr_diff[i - 1].ht20; in rtl8192eu_parse_efuse()
633 efuse->tx_power_index_A.pwr_diff[i - 1].ht40; in rtl8192eu_parse_efuse()
635 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