Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drf.c148 s8 pwr_diff = 0; in get_rx_power_val_by_reg() local
193 pwr_diff = hal_data->TxPwrLegacyHtDiff[rf][channel-1]; in get_rx_power_val_by_reg()
195 pwr_diff = hal_data->TxPwrHt20Diff[rf][channel-1]; in get_rx_power_val_by_reg()
202 if (pwr_diff >= customer_pwr_limit) in get_rx_power_val_by_reg()
203 pwr_diff = 0; in get_rx_power_val_by_reg()
205 pwr_diff = customer_pwr_limit - pwr_diff; in get_rx_power_val_by_reg()
211 if (pwr_diff_limit[i] > pwr_diff) in get_rx_power_val_by_reg()
212 pwr_diff_limit[i] = pwr_diff; in get_rx_power_val_by_reg()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c189 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in get_txpower_writeval_by_regulatory() local
261 pwr_diff = rtlefuse->txpwr_legacyhtdiff[rf][channel-1]; in get_txpower_writeval_by_regulatory()
263 pwr_diff = in get_txpower_writeval_by_regulatory()
273 if (pwr_diff > customer_pwr_diff) in get_txpower_writeval_by_regulatory()
274 pwr_diff = 0; in get_txpower_writeval_by_regulatory()
276 pwr_diff = customer_pwr_diff - pwr_diff; in get_txpower_writeval_by_regulatory()
284 if (pwr_diff_limit[i] > pwr_diff) in get_txpower_writeval_by_regulatory()
285 pwr_diff_limit[i] = pwr_diff; in get_txpower_writeval_by_regulatory()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c207 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory() local
279 pwr_diff = in _rtl88e_get_txpower_writeval_by_regulatory()
282 pwr_diff = in _rtl88e_get_txpower_writeval_by_regulatory()
292 if (pwr_diff > customer_pwr_diff) in _rtl88e_get_txpower_writeval_by_regulatory()
293 pwr_diff = 0; in _rtl88e_get_txpower_writeval_by_regulatory()
295 pwr_diff = customer_pwr_diff - pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory()
304 if (pwr_diff_limit[i] > pwr_diff) in _rtl88e_get_txpower_writeval_by_regulatory()
305 pwr_diff_limit[i] = pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c208 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory() local
280 pwr_diff = in _rtl8723be_get_txpower_writeval_by_regulatory()
284 pwr_diff = in _rtl8723be_get_txpower_writeval_by_regulatory()
294 if (pwr_diff > customer_pwr_diff) in _rtl8723be_get_txpower_writeval_by_regulatory()
295 pwr_diff = 0; in _rtl8723be_get_txpower_writeval_by_regulatory()
297 pwr_diff = customer_pwr_diff - pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory()
305 if (pwr_diff_limit[i] > pwr_diff) in _rtl8723be_get_txpower_writeval_by_regulatory()
306 pwr_diff_limit[i] = pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory()
/Linux-v4.19/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8192e.c597 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
599 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
602 efuse->tx_power_index_A.pwr_diff[i - 1].ht20; in rtl8192eu_parse_efuse()
604 efuse->tx_power_index_B.pwr_diff[i - 1].ht20; in rtl8192eu_parse_efuse()
607 efuse->tx_power_index_A.pwr_diff[i - 1].ht40; in rtl8192eu_parse_efuse()
609 efuse->tx_power_index_B.pwr_diff[i - 1].ht40; in rtl8192eu_parse_efuse()
Drtl8xxxu_8723b.c441 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8723bu_parse_efuse()
443 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8723bu_parse_efuse()
446 efuse->tx_power_index_A.pwr_diff[i - 1].ht20; in rtl8723bu_parse_efuse()
448 efuse->tx_power_index_B.pwr_diff[i - 1].ht20; in rtl8723bu_parse_efuse()
451 efuse->tx_power_index_A.pwr_diff[i - 1].ht40; in rtl8723bu_parse_efuse()
453 efuse->tx_power_index_B.pwr_diff[i - 1].ht40; in rtl8723bu_parse_efuse()
Drtl8xxxu.h780 struct rtl8723bu_pwr_idx pwr_diff[3]; member
830 struct rtl8723bu_pwr_idx pwr_diff[3]; member