/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_phy.c | 1812 static void ar9003_hw_tx99_set_txpower(struct ath_hw *ah, u8 txpower) argument 1817 txpower = txpower <= MAX_RATE_POWER ? txpower : MAX_RATE_POWER; 1819 p_pwr_array[i] = txpower;
|
H A D | init.c | 269 sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; 271 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); 273 sc->cur_chan->txpower,
|
H A D | mci.c | 724 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false);
|
H A D | mac.h | 713 u8 txpower[4]; member in struct:ath_tx_info
|
H A D | beacon.c | 92 info.txpower[i] = MAX_RATE_POWER;
|
H A D | ath9k.h | 345 u16 txpower; member in struct:ath_chanctx
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.c | 3168 int mt7915_mcu_set_txpower_frame_min(struct mt7915_phy *phy, s8 txpower) argument 3179 .txpower_min = txpower * 2, /* 0.5db */ 3189 struct ieee80211_sta *sta, s8 txpower) 3214 txpower = mt7915_get_power_bound(phy, txpower); 3215 if (txpower > mphy->txpower_cur || txpower < 0) 3218 if (txpower) { 3242 DIV_ROUND_UP(txpower - txpower_sku[offs], 2); 3294 int mt7915_mcu_get_txpower_sku(struct mt7915_phy *phy, s8 *txpower, in argument 3187 mt7915_mcu_set_txpower_frame(struct mt7915_phy *phy, struct ieee80211_vif *vif, struct ieee80211_sta *sta, s8 txpower) argument [all...] |
H A D | main.c | 1231 s16 txpower = sta->deflink.txpwr.power; local 1235 txpower = 0; 1250 ret = mt7915_mcu_set_txpower_frame(phy, vif, sta, txpower);
|
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 2916 * RFX112 can have up to 2 curves (one for low txpower range and one for 2917 * higher txpower range). We need to put them both on pcdac_out and place 3481 * For now we only limit txpower based on maximum tx power 3565 /* Set max txpower for correct OFDM operation on all rates 3566 * -that is the txpower for 54Mbit-, it's used for the PAPD 3589 * @txpower: Requested tx power in 0.5dB steps 3596 u8 txpower) 3604 if (txpower > AR5K_TUNE_MAX_TXPOWER) { 3605 ATH5K_ERR(ah, "invalid tx power: %u\n", txpower); 3675 ath5k_setup_rate_powertable(ah, txpower, 3595 ath5k_hw_txpower(struct ath5k_hw *ah, struct ieee80211_channel *channel, u8 txpower) argument 3721 ath5k_hw_set_txpower_limit(struct ath5k_hw *ah, u8 txpower) argument [all...] |
H A D | ath5k.h | 1629 int ath5k_hw_set_txpower_limit(struct ath5k_hw *ah, u8 txpower);
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt61pci.c | 774 struct rf_channel *rf, const int txpower) 780 rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); 790 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) 791 r94 += txpower - MAX_TXPOWER; 792 else if (txpower < MIN_TXPOWER && txpower >= (MIN_TXPOWER - r94)) 793 r94 += txpower; 819 const int txpower) 828 rt61pci_config_channel(rt2x00dev, &rf, txpower); 773 rt61pci_config_channel(struct rt2x00_dev *rt2x00dev, struct rf_channel *rf, const int txpower) argument 818 rt61pci_config_txpower(struct rt2x00_dev *rt2x00dev, const int txpower) argument [all...] |
H A D | rt2500usb.c | 583 struct rf_channel *rf, const int txpower) 588 rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); 614 const int txpower) 619 rt2x00_set_field32(&rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); 582 rt2500usb_config_channel(struct rt2x00_dev *rt2x00dev, struct rf_channel *rf, const int txpower) argument 613 rt2500usb_config_txpower(struct rt2x00_dev *rt2x00dev, const int txpower) argument
|
H A D | rt2500pci.c | 468 struct rf_channel *rf, const int txpower) 475 rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); 537 const int txpower) 542 rt2x00_set_field32(&rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); 467 rt2500pci_config_channel(struct rt2x00_dev *rt2x00dev, struct rf_channel *rf, const int txpower) argument 536 rt2500pci_config_txpower(struct rt2x00_dev *rt2x00dev, const int txpower) argument
|
H A D | rt2400pci.c | 493 static void rt2400pci_config_txpower(struct rt2x00_dev *rt2x00dev, int txpower) argument 495 rt2400pci_bbp_write(rt2x00dev, 3, TXPOWER_TO_DEV(txpower));
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 739 int ret, txpower = -1; local 745 if (arvif->txpower <= 0) 748 if (txpower == -1) 749 txpower = arvif->txpower; 751 txpower = min(txpower, arvif->txpower); 754 if (txpower == -1) 758 txpower [all...] |
H A D | core.h | 401 int txpower; member in struct:ath11k_vif
|
/linux-master/net/mac80211/ |
H A D | debugfs_netdev.c | 351 IEEE80211_IF_LINK_FILE(txpower, conf->txpower, DEC); 987 DEBUGFS_ADD(dentry, txpower);
|
H A D | iface.c | 68 if (power != sdata->vif.bss_conf.txpower) { 69 sdata->vif.bss_conf.txpower = power; 1729 sdata->vif.bss_conf.txpower = INT_MIN; /* unset */
|
H A D | main.c | 177 if (sdata->vif.bss_conf.txpower == INT_MIN) 179 power = min(power, sdata->vif.bss_conf.txpower);
|
/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2100.c | 6806 range->txpower[i] = level / 16; 7185 if (ipw_radio_kill_sw(priv, wrqu->txpower.disabled)) 7191 if ((wrqu->txpower.flags & IW_TXPOW_TYPE) != IW_TXPOW_DBM) 7194 if (wrqu->txpower.fixed == 0) 7197 if (wrqu->txpower.value < IPW_TX_POWER_MIN_DBM || 7198 wrqu->txpower.value > IPW_TX_POWER_MAX_DBM) 7201 value = wrqu->txpower.value; 7229 wrqu->txpower.disabled = (priv->status & STATUS_RF_KILL_MASK) ? 1 : 0; 7232 wrqu->txpower.fixed = 0; 7233 wrqu->txpower [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 2915 static int ath10k_mac_txpower_setup(struct ath10k *ar, int txpower) argument 2925 tx_power_2g = txpower * 2; 2926 tx_power_5g = txpower * 2; 2938 ath10k_dbg(ar, ATH10K_DBG_MAC, "mac txpower 2g: %d, 5g: %d\n", 2944 ath10k_warn(ar, "failed to set 2g txpower %d: %d\n", 2952 ath10k_warn(ar, "failed to set 5g txpower %d: %d\n", 2963 int ret, txpower = -1; local 2968 /* txpower not initialized yet? */ 2969 if (arvif->txpower == INT_MIN) 2972 if (txpower [all...] |
H A D | core.h | 622 int txpower; member in struct:ath10k_vif
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | stats.h | 206 __s8 txpower[MAX_CHAINS]; member in struct:mvm_statistics_tx_non_phy_agg
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | core.h | 261 int txpower; member in struct:ath12k_vif
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mld-mac80211.c | 990 link_conf->txpower); 991 iwl_mvm_set_tx_power(mvm, vif, link_conf->txpower);
|