Home
last modified time | relevance | path

Searched refs:pwr_diff_limit (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drf.c147 u8 i, chnlGroup = 0, pwr_diff_limit[4], customer_pwr_limit; in get_rx_power_val_by_reg() local
208 pwr_diff_limit[i] = (u8)((hal_data->MCSTxPowerLevelOriginalOffset[chnlGroup][j] & 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()
214 customer_limit = (pwr_diff_limit[3]<<24) | in get_rx_power_val_by_reg()
215 (pwr_diff_limit[2]<<16) | in get_rx_power_val_by_reg()
216 (pwr_diff_limit[1]<<8) | in get_rx_power_val_by_reg()
217 (pwr_diff_limit[0]); in get_rx_power_val_by_reg()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c190 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in _rtl92c_get_txpower_writeval_by_regulatory() local
252 pwr_diff_limit[i] = (u8) ((rtlphy->mcs_offset in _rtl92c_get_txpower_writeval_by_regulatory()
257 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
260 pwr_diff_limit[i] = rtlefuse-> in _rtl92c_get_txpower_writeval_by_regulatory()
264 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
267 pwr_diff_limit[i] = in _rtl92c_get_txpower_writeval_by_regulatory()
272 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl92c_get_txpower_writeval_by_regulatory()
273 (pwr_diff_limit[2] << 16) | in _rtl92c_get_txpower_writeval_by_regulatory()
274 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in _rtl92c_get_txpower_writeval_by_regulatory()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c201 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in get_txpower_writeval_by_reg() local
279 pwr_diff_limit[i] = in get_txpower_writeval_by_reg()
287 if (pwr_diff_limit[i] > in get_txpower_writeval_by_reg()
290 pwr_diff_limit[i] = in get_txpower_writeval_by_reg()
294 if (pwr_diff_limit[i] > in get_txpower_writeval_by_reg()
297 pwr_diff_limit[i] = in get_txpower_writeval_by_reg()
303 customer_limit = (pwr_diff_limit[3] << 24) | in get_txpower_writeval_by_reg()
304 (pwr_diff_limit[2] << 16) | in get_txpower_writeval_by_reg()
305 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in get_txpower_writeval_by_reg()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c196 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in _rtl92c_get_txpower_writeval_by_regulatory() local
269 pwr_diff_limit[i] = (u8) ((rtlphy->mcs_offset in _rtl92c_get_txpower_writeval_by_regulatory()
276 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
279 pwr_diff_limit[i] = in _rtl92c_get_txpower_writeval_by_regulatory()
283 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
286 pwr_diff_limit[i] = in _rtl92c_get_txpower_writeval_by_regulatory()
292 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl92c_get_txpower_writeval_by_regulatory()
293 (pwr_diff_limit[2] << 16) | in _rtl92c_get_txpower_writeval_by_regulatory()
294 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in _rtl92c_get_txpower_writeval_by_regulatory()
/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
279 pwr_diff_limit[i] = 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()
288 customer_limit = (pwr_diff_limit[3] << 24) | in get_txpower_writeval_by_regulatory()
289 (pwr_diff_limit[2] << 16) | in get_txpower_writeval_by_regulatory()
290 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in get_txpower_writeval_by_regulatory()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c218 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in _rtl92d_get_txpower_writeval_by_regulatory() local
278 pwr_diff_limit[i] = (u8)((rtlphy->mcs_offset in _rtl92d_get_txpower_writeval_by_regulatory()
283 if (pwr_diff_limit[i] > in _rtl92d_get_txpower_writeval_by_regulatory()
286 pwr_diff_limit[i] = in _rtl92d_get_txpower_writeval_by_regulatory()
290 if (pwr_diff_limit[i] > in _rtl92d_get_txpower_writeval_by_regulatory()
293 pwr_diff_limit[i] = in _rtl92d_get_txpower_writeval_by_regulatory()
298 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl92d_get_txpower_writeval_by_regulatory()
299 (pwr_diff_limit[2] << 16) | in _rtl92d_get_txpower_writeval_by_regulatory()
300 (pwr_diff_limit[1] << 8) | in _rtl92d_get_txpower_writeval_by_regulatory()
301 (pwr_diff_limit[0]); in _rtl92d_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
298 pwr_diff_limit[i] = 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()
308 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl88e_get_txpower_writeval_by_regulatory()
309 (pwr_diff_limit[2] << 16) | in _rtl88e_get_txpower_writeval_by_regulatory()
310 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); 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
300 pwr_diff_limit[i] = 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()
309 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl8723be_get_txpower_writeval_by_regulatory()
310 (pwr_diff_limit[2] << 16) | in _rtl8723be_get_txpower_writeval_by_regulatory()
311 (pwr_diff_limit[1] << 8) | in _rtl8723be_get_txpower_writeval_by_regulatory()
312 (pwr_diff_limit[0]); in _rtl8723be_get_txpower_writeval_by_regulatory()