Searched refs:txpower (Results 26 - 50 of 60) sorted by relevance

123

/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_phy.c1812 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 Dinit.c269 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 Dmci.c724 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false);
H A Dmac.h713 u8 txpower[4]; member in struct:ath_tx_info
H A Dbeacon.c92 info.txpower[i] = MAX_RATE_POWER;
H A Dath9k.h345 u16 txpower; member in struct:ath_chanctx
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c3168 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 Dmain.c1231 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 Dphy.c2916 * 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 Dath5k.h1629 int ath5k_hw_set_txpower_limit(struct ath5k_hw *ah, u8 txpower);
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt61pci.c774 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 Drt2500usb.c583 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 Drt2500pci.c468 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 Drt2400pci.c493 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 Dmac.c739 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 Dcore.h401 int txpower; member in struct:ath11k_vif
/linux-master/net/mac80211/
H A Ddebugfs_netdev.c351 IEEE80211_IF_LINK_FILE(txpower, conf->txpower, DEC);
987 DEBUGFS_ADD(dentry, txpower);
H A Diface.c68 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 Dmain.c177 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 Dipw2100.c6806 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 Dmac.c2915 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 Dcore.h622 int txpower; member in struct:ath10k_vif
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dstats.h206 __s8 txpower[MAX_CHAINS]; member in struct:mvm_statistics_tx_non_phy_agg
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dcore.h261 int txpower; member in struct:ath12k_vif
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmld-mac80211.c990 link_conf->txpower);
991 iwl_mvm_set_tx_power(mvm, vif, link_conf->txpower);

Completed in 560 milliseconds

123