/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mcu.c | 405 s8 tx_power = hw->conf.power_level * 2; in mt7603_mcu_set_channel() local 416 tx_power = mt76_get_sar_power(&dev->mphy, chandef->chan, tx_power); in mt7603_mcu_set_channel() 418 tx_power -= 6; in mt7603_mcu_set_channel() 419 tx_power = min(tx_power, dev->tx_power_limit); in mt7603_mcu_set_channel() 421 dev->mphy.txpower_cur = tx_power; in mt7603_mcu_set_channel() 424 req.txpower[i] = tx_power; in mt7603_mcu_set_channel()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | testmode.c | 68 u8 *tx_power = NULL; in mt7615_tm_set_tx_power() local 71 tx_power = mphy->test.tx_power; in mt7615_tm_set_tx_power() 89 if (tx_power && tx_power[i]) in mt7615_tm_set_tx_power() 90 data[ret - MT_EE_NIC_CONF_0] = tx_power[i]; in mt7615_tm_set_tx_power()
|
D | mcu.c | 2018 int tx_power = hw->conf.power_level * 2; in mt7615_mcu_set_txpower_sku() local 2075 tx_power = mt76_get_sar_power(mphy, mphy->chandef.chan, tx_power); in mt7615_mcu_set_txpower_sku() 2076 tx_power -= mt76_tx_power_nss_delta(n_chains); in mt7615_mcu_set_txpower_sku() 2077 tx_power = mt76_get_rate_power_limits(mphy, mphy->chandef.chan, in mt7615_mcu_set_txpower_sku() 2078 &limits, tx_power); in mt7615_mcu_set_txpower_sku() 2079 mphy->txpower_cur = tx_power; in mt7615_mcu_set_txpower_sku() 2082 memset(sku, tx_power, MT_SKU_4SS_DELTA + 1); in mt7615_mcu_set_txpower_sku()
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | tx99.c | 242 u8 tx_power; in write_file_tx99_power() local 244 r = kstrtou8_from_user(user_buf, count, 0, &tx_power); in write_file_tx99_power() 248 if (tx_power > MAX_RATE_POWER) in write_file_tx99_power() 251 sc->tx99_power = tx_power; in write_file_tx99_power()
|
D | ar5008_phy.c | 1281 ah->tx_power[0] = CCK_DELTA(ah, rate_array[rate1l]); in ar5008_hw_init_txpower_cck() 1282 ah->tx_power[1] = CCK_DELTA(ah, min(rate_array[rate2l], in ar5008_hw_init_txpower_cck() 1284 ah->tx_power[2] = CCK_DELTA(ah, min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck() 1286 ah->tx_power[3] = CCK_DELTA(ah, min(rate_array[rate11l], in ar5008_hw_init_txpower_cck() 1297 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm() 1309 ah->tx_power[i] = rate_array[mcs_idx] + ht40_delta; in ar5008_hw_init_txpower_ht() 1312 memcpy(&ah->tx_power[ds_offset], &ah->tx_power[ss_offset], in ar5008_hw_init_txpower_ht()
|
D | ar9003_phy.c | 1829 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1830 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck() 1831 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck() 1833 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck() 1845 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm() 1858 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht() 1864 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht() 1870 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht() 1878 memcpy(&ah->tx_power_stbc[ss_offset], &ah->tx_power[ss_offset], in ar9003_hw_init_txpower_stbc() 1880 memcpy(&ah->tx_power_stbc[ds_offset], &ah->tx_power[ds_offset], in ar9003_hw_init_txpower_stbc() [all …]
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | phy.c | 1908 u8 tx_power; in rtw_phy_get_2g_tx_power_index() local 1914 tx_power = pwr_idx_2g->cck_base[group]; in rtw_phy_get_2g_tx_power_index() 1916 tx_power = pwr_idx_2g->bw40_base[group]; in rtw_phy_get_2g_tx_power_index() 1919 tx_power += pwr_idx_2g->ht_1s_diff.ofdm * factor; in rtw_phy_get_2g_tx_power_index() 1928 return tx_power; in rtw_phy_get_2g_tx_power_index() 1935 tx_power += pwr_idx_2g->ht_1s_diff.bw20 * factor; in rtw_phy_get_2g_tx_power_index() 1937 tx_power += pwr_idx_2g->ht_2s_diff.bw20 * factor; in rtw_phy_get_2g_tx_power_index() 1942 tx_power += pwr_idx_2g->ht_2s_diff.bw40 * factor; in rtw_phy_get_2g_tx_power_index() 1946 return tx_power; in rtw_phy_get_2g_tx_power_index() 1955 u8 tx_power; in rtw_phy_get_5g_tx_power_index() local [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 80 unsigned int tx_power, in ath5k_hw_setup_2word_tx_desc() argument 246 unsigned int tx_power, in ath5k_hw_setup_4word_tx_desc() argument 281 tx_power += ah->ah_txpower.txp_offset; in ath5k_hw_setup_4word_tx_desc() 282 if (tx_power > AR5K_TUNE_MAX_TXPOWER) in ath5k_hw_setup_4word_tx_desc() 283 tx_power = AR5K_TUNE_MAX_TXPOWER; in ath5k_hw_setup_4word_tx_desc() 312 txctl0 |= AR5K_REG_SM(tx_power, AR5K_4W_TX_DESC_CTL0_XMIT_POWER) | in ath5k_hw_setup_4word_tx_desc()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | testmode.c | 48 s8 tx_power; in mt7915_tm_set_tx_power() member 57 u8 *tx_power = NULL; in mt7915_tm_set_tx_power() local 60 tx_power = phy->mt76->test.tx_power; in mt7915_tm_set_tx_power() 63 if (tx_power && tx_power[0]) in mt7915_tm_set_tx_power() 64 req.tx_power = tx_power[0]; in mt7915_tm_set_tx_power()
|
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/ |
D | hif.h | 205 int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power); 206 int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power);
|
D | cfg80211.c | 1667 s32 tx_power = MBM_TO_DBM(mbm); in set_tx_power() local 1681 netdev_info(vif->ndev, "Setting tx power %d\n", tx_power); in set_tx_power() 1682 if (tx_power < 0) in set_tx_power() 1683 tx_power = 0; in set_tx_power() 1684 else if (tx_power > 18) in set_tx_power() 1685 tx_power = 18; in set_tx_power() 1686 ret = wilc_set_tx_power(vif, tx_power); in set_tx_power()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/ |
D | 4965.c | 1142 union il4965_tx_power_dual_stream tx_power; in il4965_fill_txpower_tbl() local 1216 tx_power.s.radio_tx_gain[c] = in il4965_fill_txpower_tbl() 1218 tx_power.s.dsp_predis_atten[c] = in il4965_fill_txpower_tbl() 1223 power_idx, tx_power.s.radio_tx_gain[c], in il4965_fill_txpower_tbl() 1224 tx_power.s.dsp_predis_atten[c]); in il4965_fill_txpower_tbl() 1227 tx_power_tbl->power_tbl[i].dw = cpu_to_le32(tx_power.dw); in il4965_fill_txpower_tbl() 1266 is_ht40, ctrl_chan_high, &cmd.tx_power); in il4965_send_tx_power() 1522 &cmd.tx_power); in il4965_hw_channel_switch()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rxon.c | 382 static int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force) in iwl_set_tx_power() argument 394 if (priv->tx_power_user_lmt == tx_power && !force) in iwl_set_tx_power() 397 if (tx_power < IWLAGN_TX_POWER_TARGET_POWER_MIN) { in iwl_set_tx_power() 400 tx_power, in iwl_set_tx_power() 405 if (tx_power > DIV_ROUND_UP(priv->nvm_data->max_tx_pwr_half_dbm, 2)) { in iwl_set_tx_power() 408 tx_power, priv->nvm_data->max_tx_pwr_half_dbm); in iwl_set_tx_power() 417 priv->tx_power_next = tx_power; in iwl_set_tx_power() 428 priv->tx_power_user_lmt = tx_power; in iwl_set_tx_power()
|
D | debugfs.c | 1269 if (tx->tx_power.ant_a || tx->tx_power.ant_b || tx->tx_power.ant_c) { in iwl_dbgfs_ucode_tx_stats_read() 1273 tx->tx_power.ant_a) in iwl_dbgfs_ucode_tx_stats_read() 1276 tx->tx_power.ant_a); in iwl_dbgfs_ucode_tx_stats_read() 1278 tx->tx_power.ant_b) in iwl_dbgfs_ucode_tx_stats_read() 1281 tx->tx_power.ant_b); in iwl_dbgfs_ucode_tx_stats_read() 1283 tx->tx_power.ant_c) in iwl_dbgfs_ucode_tx_stats_read() 1286 tx->tx_power.ant_c); in iwl_dbgfs_ucode_tx_stats_read()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | testmode.c | 494 idx >= ARRAY_SIZE(td->tx_power)) in mt76_testmode_cmd() 497 td->tx_power[idx++] = nla_get_u8(cur); in mt76_testmode_cmd() 650 for (i = 0; i < ARRAY_SIZE(td->tx_power); i++) in mt76_testmode_dump() 651 if (nla_put_u8(msg, i, td->tx_power[i])) in mt76_testmode_dump()
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 119 struct tx_power { struct 249 struct tx_power *power, uint channel);
|
/linux-6.6.21/drivers/net/wireless/admtek/ |
D | adm8211.c | 631 u8 tx_power = priv->tx_power > 0x3F ? in adm8211_rf_set_channel() local 632 priv->eeprom->tx_power[chan - 1] : priv->tx_power; in adm8211_rf_set_channel() 710 (priv->pdev->revision < ADM8211_REV_CA ? tx_power : 0)); in adm8211_rf_set_channel() 714 reg |= tx_power << 18; in adm8211_rf_set_channel() 726 tx_power<<2); in adm8211_rf_set_channel() 1888 priv->tx_power = 0x40; in adm8211_probe()
|
D | adm8211.h | 530 u8 tx_power[14]; /* 0x54 */ member 562 u8 tx_power; member
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | phy.c | 1222 u8 tx_power = 0; in _rtl92ee_get_txpower_index() local 1232 tx_power = rtlefuse->txpwrlevel_cck[rfpath][index]; in _rtl92ee_get_txpower_index() 1234 tx_power = rtlefuse->txpwrlevel_ht40_1s[rfpath][index]; in _rtl92ee_get_txpower_index() 1239 tx_power += rtlefuse->txpwr_legacyhtdiff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index() 1244 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index() 1246 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index() 1249 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index() 1251 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index() 1258 tx_power += diff; in _rtl92ee_get_txpower_index() 1260 if (tx_power > MAX_POWER_INDEX) in _rtl92ee_get_txpower_index() [all …]
|
/linux-6.6.21/include/net/bluetooth/ |
D | hci.h | 1275 __s8 tx_power; member 1554 __s8 tx_power; member 1680 __s8 tx_power; member 1979 __u8 tx_power; member 1993 __u8 tx_power; member 2746 __u8 tx_power; member 2790 __u8 tx_power; member
|
D | mgmt.h | 438 __s8 tx_power; member 807 __s8 tx_power; member 812 __s8 tx_power; member
|
/linux-6.6.21/drivers/net/wireless/ath/carl9170/ |
D | wlan.h | 225 u8 tx_power:6; member
|
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/ |
D | rt73usb.c | 1506 TXPOWER_TO_DEV(entry->queue->rt2x00dev->tx_power)); in rt73usb_write_tx_desc() 2093 u8 *tx_power; in rt73usb_probe_hw_mode() local 2145 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_G_START); in rt73usb_probe_hw_mode() 2148 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt73usb_probe_hw_mode() 2152 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_A_START); in rt73usb_probe_hw_mode() 2156 TXPOWER_FROM_DEV(tx_power[i - 14]); in rt73usb_probe_hw_mode()
|
D | rt2x00config.c | 254 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
|
/linux-6.6.21/drivers/net/wireless/rsi/ |
D | rsi_91x_mgmt.c | 1154 if (common->tx_power < channel->max_power) in rsi_set_channel() 1155 chan_cfg->tx_power = cpu_to_le16(common->tx_power); in rsi_set_channel() 1157 chan_cfg->tx_power = cpu_to_le16(channel->max_power); in rsi_set_channel() 1200 cmd_frame->desc_word[3] |= cpu_to_le16(common->tx_power << 8); in rsi_send_radio_params_update()
|