/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_hal_init.c | 284 u32 rfPath, eeAddr = EEPROM_TX_PWR_INX_88E, group, TxCount = 0; in Hal_ReadPowerValueFromPROM_8188E() local 289 for (rfPath = 0; rfPath < MAX_RF_PATH; rfPath++) { in Hal_ReadPowerValueFromPROM_8188E() 292 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E() 293 pwrInfo24G->IndexBW40_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E() 297 pwrInfo24G->BW20_Diff[rfPath][0] = EEPROM_DEFAULT_24G_HT20_DIFF; in Hal_ReadPowerValueFromPROM_8188E() 298 pwrInfo24G->OFDM_Diff[rfPath][0] = EEPROM_DEFAULT_24G_OFDM_DIFF; in Hal_ReadPowerValueFromPROM_8188E() 300 pwrInfo24G->BW20_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8188E() 301 pwrInfo24G->BW40_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8188E() 302 pwrInfo24G->CCK_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8188E() 303 pwrInfo24G->OFDM_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8188E() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_hal_init.c | 2471 u32 rfPath, eeAddr = EEPROM_TX_PWR_INX_8723B, group, TxCount = 0; in Hal_ReadPowerValueFromPROM_8723B() local 2480 for (rfPath = 0; rfPath < MAX_RF_PATH; rfPath++) { in Hal_ReadPowerValueFromPROM_8723B() 2483 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8723B() 2484 pwrInfo24G->IndexBW40_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8723B() 2489 pwrInfo24G->BW20_Diff[rfPath][0] = EEPROM_DEFAULT_24G_HT20_DIFF; in Hal_ReadPowerValueFromPROM_8723B() 2490 pwrInfo24G->OFDM_Diff[rfPath][0] = EEPROM_DEFAULT_24G_OFDM_DIFF; in Hal_ReadPowerValueFromPROM_8723B() 2492 pwrInfo24G->BW20_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8723B() 2493 pwrInfo24G->BW40_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8723B() 2494 pwrInfo24G->CCK_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8723B() 2495 pwrInfo24G->OFDM_Diff[rfPath][TxCount] = EEPROM_DEFAULT_DIFF; in Hal_ReadPowerValueFromPROM_8723B() [all …]
|
D | hal_com_phycfg.c | 778 u8 band, rfPath, TxNum, rate; in PHY_InitTxPowerByRate() local 781 for (rfPath = 0; rfPath < TX_PWR_BY_RATE_NUM_RF; ++rfPath) in PHY_InitTxPowerByRate() 784 pHalData->TxPwrByRateOffset[band][rfPath][TxNum][rate] = 0; in PHY_InitTxPowerByRate() 1873 u8 rfPath = 0; in PHY_ConvertTxPowerLimitToPowerIndex() local 1885 for (rfPath = ODM_RF_PATH_A; rfPath < MAX_RF_PATH_NUM; ++rfPath) { in PHY_ConvertTxPowerLimitToPowerIndex() 1888 …BW40PwrBasedBm2_4G = PHY_GetTxPowerByRateBase(Adapter, BAND_ON_2_4G, rfPath, RF_4TX, HT_MCS24_MCS3… in PHY_ConvertTxPowerLimitToPowerIndex() 1890 …BW40PwrBasedBm2_4G = PHY_GetTxPowerByRateBase(Adapter, BAND_ON_2_4G, rfPath, RF_3TX, HT_MCS16_MCS2… in PHY_ConvertTxPowerLimitToPowerIndex() 1892 …BW40PwrBasedBm2_4G = PHY_GetTxPowerByRateBase(Adapter, BAND_ON_2_4G, rfPath, RF_2TX, HT_MCS8_MCS15… in PHY_ConvertTxPowerLimitToPowerIndex() 1894 …BW40PwrBasedBm2_4G = PHY_GetTxPowerByRateBase(Adapter, BAND_ON_2_4G, rfPath, RF_1TX, HT_MCS0_MCS7); in PHY_ConvertTxPowerLimitToPowerIndex() 1896 BW40PwrBasedBm2_4G = PHY_GetTxPowerByRateBase(Adapter, BAND_ON_2_4G, rfPath, RF_1TX, OFDM); in PHY_ConvertTxPowerLimitToPowerIndex() [all …]
|
D | HalHWImg8723B_RF.c | 775 u8 *rfPath = Array[i+4]; in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT() local 785 rfPath, in ODM_ReadAndConfig_MP_8723B_TXPWR_LMT()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 2609 u32 rfPath, eeAddr = EEPROM_TX_PWR_INX, group, TxCount = 0; in _rtl8821ae_read_power_value_fromprom() local 2620 for (rfPath = 0 ; rfPath < MAX_RF_PATH ; rfPath++) { in _rtl8821ae_read_power_value_fromprom() 2623 pwrinfo24g->index_cck_base[rfPath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom() 2624 pwrinfo24g->index_bw40_base[rfPath][group] = 0x2D; in _rtl8821ae_read_power_value_fromprom() 2628 pwrinfo24g->bw20_diff[rfPath][0] = 0x02; in _rtl8821ae_read_power_value_fromprom() 2629 pwrinfo24g->ofdm_diff[rfPath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom() 2631 pwrinfo24g->bw20_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2632 pwrinfo24g->bw40_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2633 pwrinfo24g->cck_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2634 pwrinfo24g->ofdm_diff[rfPath][TxCount] = 0xFE; in _rtl8821ae_read_power_value_fromprom() [all …]
|
D | phy.c | 1497 u8 base = 0, rfPath = 0; in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() local 1499 for (rfPath = RF90_PATH_A; rfPath <= RF90_PATH_B; ++rfPath) { in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1500 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfPath, RF_1TX, CCK); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1502 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfPath][RF_1TX][0], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1505 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfPath, RF_1TX, OFDM); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1507 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfPath][RF_1TX][1], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1510 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfPath][RF_1TX][2], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1513 base = _rtl8821ae_phy_get_txpower_by_rate_base(hw, BAND_ON_2_4G, rfPath, RF_1TX, HT_MCS0_MCS7); in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1515 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfPath][RF_1TX][3], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1518 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfPath][RF_1TX][4], in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1566 u32 ch, rfPath, group; in _rtl92de_read_txpower_info() local 1646 for (rfPath = 0; rfPath < RF6052_MAX_PATH; rfPath++) { in _rtl92de_read_txpower_info() 1650 rtlefuse->txpwrlevel_cck[rfPath][ch] = in _rtl92de_read_txpower_info() 1651 pwrinfo.cck_index[rfPath][group]; in _rtl92de_read_txpower_info() 1652 rtlefuse->txpwrlevel_ht40_1s[rfPath][ch] = in _rtl92de_read_txpower_info() 1653 pwrinfo.ht40_1sindex[rfPath][group]; in _rtl92de_read_txpower_info() 1654 rtlefuse->txpwr_ht20diff[rfPath][ch] = in _rtl92de_read_txpower_info() 1655 pwrinfo.ht20indexdiff[rfPath][group]; in _rtl92de_read_txpower_info() 1656 rtlefuse->txpwr_legacyhtdiff[rfPath][ch] = in _rtl92de_read_txpower_info() 1657 pwrinfo.ofdmindexdiff[rfPath][group]; in _rtl92de_read_txpower_info() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 544 u8 rfPath; in r8712_SetSingleToneTx() local 548 rfPath = RF_PATH_B; in r8712_SetSingleToneTx() 552 rfPath = RF_PATH_A; in r8712_SetSingleToneTx() 558 set_rf_reg(pAdapter, rfPath, RF_TX_G2, bRFRegOffsetMask, in r8712_SetSingleToneTx() 562 set_rf_reg(pAdapter, rfPath, RF_AC, bRFRegOffsetMask, 0x2001f); in r8712_SetSingleToneTx() 567 set_rf_reg(pAdapter, rfPath, RF_TX_G2, bRFRegOffsetMask, in r8712_SetSingleToneTx() 571 set_rf_reg(pAdapter, rfPath, RF_AC, bRFRegOffsetMask, 0x30000); in r8712_SetSingleToneTx()
|