txpower 577 drivers/net/wireless/ath/ath10k/core.h int txpower; txpower 4993 drivers/net/wireless/ath/ath10k/mac.c static int ath10k_mac_txpower_setup(struct ath10k *ar, int txpower) txpower 5000 drivers/net/wireless/ath/ath10k/mac.c ath10k_dbg(ar, ATH10K_DBG_MAC, "mac txpower %d\n", txpower); txpower 5003 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, txpower * 2); txpower 5006 drivers/net/wireless/ath/ath10k/mac.c txpower, ret); txpower 5011 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_pdev_set_param(ar, param, txpower * 2); txpower 5014 drivers/net/wireless/ath/ath10k/mac.c txpower, ret); txpower 5024 drivers/net/wireless/ath/ath10k/mac.c int ret, txpower = -1; txpower 5029 drivers/net/wireless/ath/ath10k/mac.c if (arvif->txpower <= 0) txpower 5032 drivers/net/wireless/ath/ath10k/mac.c if (txpower == -1) txpower 5033 drivers/net/wireless/ath/ath10k/mac.c txpower = arvif->txpower; txpower 5035 drivers/net/wireless/ath/ath10k/mac.c txpower = min(txpower, arvif->txpower); txpower 5038 drivers/net/wireless/ath/ath10k/mac.c if (txpower == -1) txpower 5041 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_txpower_setup(ar, txpower); txpower 5044 drivers/net/wireless/ath/ath10k/mac.c txpower, ret); txpower 5423 drivers/net/wireless/ath/ath10k/mac.c arvif->txpower = vif->bss_conf.txpower; txpower 5818 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_id, info->txpower); txpower 5820 drivers/net/wireless/ath/ath10k/mac.c arvif->txpower = info->txpower; txpower 1633 drivers/net/wireless/ath/ath5k/ath5k.h int ath5k_hw_set_txpower_limit(struct ath5k_hw *ah, u8 txpower); txpower 3599 drivers/net/wireless/ath/ath5k/phy.c u8 txpower) txpower 3607 drivers/net/wireless/ath/ath5k/phy.c if (txpower > AR5K_TUNE_MAX_TXPOWER) { txpower 3608 drivers/net/wireless/ath/ath5k/phy.c ATH5K_ERR(ah, "invalid tx power: %u\n", txpower); txpower 3678 drivers/net/wireless/ath/ath5k/phy.c ath5k_setup_rate_powertable(ah, txpower, &rate_info, ee_mode); txpower 3724 drivers/net/wireless/ath/ath5k/phy.c ath5k_hw_set_txpower_limit(struct ath5k_hw *ah, u8 txpower) txpower 3727 drivers/net/wireless/ath/ath5k/phy.c "changing txpower to %d\n", txpower); txpower 3729 drivers/net/wireless/ath/ath5k/phy.c return ath5k_hw_txpower(ah, ah->ah_current_channel, txpower); txpower 284 drivers/net/wireless/ath/ath9k/ar9002_mac.c | SM(i->txpower[0], AR_XmitPower0) txpower 310 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl9, SM(i->txpower[1], AR_XmitPower1)); txpower 311 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl10, SM(i->txpower[2], AR_XmitPower2)); txpower 312 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl11, SM(i->txpower[3], AR_XmitPower3)); txpower 104 drivers/net/wireless/ath/ath9k/ar9003_mac.c | SM(i->txpower[0], AR_XmitPower0) txpower 155 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl20, SM(i->txpower[1], AR_XmitPower1)); txpower 156 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl21, SM(i->txpower[2], AR_XmitPower2)); txpower 157 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl22, SM(i->txpower[3], AR_XmitPower3)); txpower 1824 drivers/net/wireless/ath/ath9k/ar9003_phy.c static void ar9003_hw_tx99_set_txpower(struct ath_hw *ah, u8 txpower) txpower 1829 drivers/net/wireless/ath/ath9k/ar9003_phy.c txpower = txpower <= MAX_RATE_POWER ? txpower : MAX_RATE_POWER; txpower 1831 drivers/net/wireless/ath/ath9k/ar9003_phy.c p_pwr_array[i] = txpower; txpower 343 drivers/net/wireless/ath/ath9k/ath9k.h u16 txpower; txpower 92 drivers/net/wireless/ath/ath9k/beacon.c info.txpower[i] = MAX_RATE_POWER; txpower 120 drivers/net/wireless/ath/ath9k/channel.c ctx->txpower = ATH_TXPOWER_MAX; txpower 916 drivers/net/wireless/ath/ath9k/channel.c sc->offchannel.chan.txpower = vif->bss_conf.txpower; txpower 920 drivers/net/wireless/ath/ath9k/channel.c sc->offchannel.chan.txpower = vif->bss_conf.txpower; txpower 1349 drivers/net/wireless/ath/ath9k/channel.c ctx->txpower = ATH_TXPOWER_MAX; txpower 368 drivers/net/wireless/ath/ath9k/common.c u16 new_txpow, u16 *txpower) txpower 376 drivers/net/wireless/ath/ath9k/common.c *txpower = reg->max_power_level; txpower 91 drivers/net/wireless/ath/ath9k/common.h u16 new_txpow, u16 *txpower); txpower 269 drivers/net/wireless/ath/ath9k/init.c sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; txpower 271 drivers/net/wireless/ath/ath9k/init.c ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); txpower 273 drivers/net/wireless/ath/ath9k/init.c sc->cur_chan->txpower, txpower 709 drivers/net/wireless/ath/ath9k/mac.h u8 txpower[4]; txpower 241 drivers/net/wireless/ath/ath9k/main.c sc->cur_chan->txpower, txpower 1199 drivers/net/wireless/ath/ath9k/main.c if (*power < vif->bss_conf.txpower) txpower 1200 drivers/net/wireless/ath/ath9k/main.c *power = vif->bss_conf.txpower; txpower 1212 drivers/net/wireless/ath/ath9k/main.c power = (vif) ? vif->bss_conf.txpower : -1; txpower 1221 drivers/net/wireless/ath/ath9k/main.c sc->cur_chan->txpower = 2 * power; txpower 1222 drivers/net/wireless/ath/ath9k/main.c ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); txpower 1828 drivers/net/wireless/ath/ath9k/main.c vif->addr, bss_conf->txpower, bss_conf->txpower_type); txpower 722 drivers/net/wireless/ath/ath9k/mci.c ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); txpower 1147 drivers/net/wireless/ath/ath9k/xmit.c int txpower = fi->tx_power; txpower 1164 drivers/net/wireless/ath/ath9k/xmit.c txpower += power_ht40delta; txpower 1169 drivers/net/wireless/ath/ath9k/xmit.c txpower -= 2 * AR9287_PWR_TABLE_OFFSET_DB; txpower 1175 drivers/net/wireless/ath/ath9k/xmit.c txpower -= 2 * power_offset; txpower 1179 drivers/net/wireless/ath/ath9k/xmit.c txpower -= 2; txpower 1181 drivers/net/wireless/ath/ath9k/xmit.c txpower = max(txpower, 0); txpower 1182 drivers/net/wireless/ath/ath9k/xmit.c max_power = min_t(u8, ah->tx_power[rateidx], txpower); txpower 1275 drivers/net/wireless/ath/ath9k/xmit.c info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, txpower 1306 drivers/net/wireless/ath/ath9k/xmit.c info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, false, txpower 2079 drivers/net/wireless/ath/ath9k/xmit.c u8 txpower; txpower 2099 drivers/net/wireless/ath/ath9k/xmit.c txpower = 2 * vif->bss_conf.txpower; txpower 2103 drivers/net/wireless/ath/ath9k/xmit.c txpower = sc->cur_chan->cur_txpower; txpower 2116 drivers/net/wireless/ath/ath9k/xmit.c fi->tx_power = txpower; txpower 711 drivers/net/wireless/ath/carl9170/tx.c u8 *txpower; txpower 724 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_2G_ht40; txpower 726 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_5G_ht40; txpower 729 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_2G_ht20; txpower 731 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_5G_ht20; txpower 735 drivers/net/wireless/ath/carl9170/tx.c *tpc += txpower[idx & 7]; txpower 739 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_2G_cck; txpower 741 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_2G_ofdm; txpower 743 drivers/net/wireless/ath/carl9170/tx.c txpower = ar->power_5G_leg; txpower 748 drivers/net/wireless/ath/carl9170/tx.c *tpc += txpower[(rate->hw_value & 0x30) >> 4]; txpower 3075 drivers/net/wireless/ath/wcn36xx/hal.h u8 txpower; txpower 1755 drivers/net/wireless/broadcom/b43legacy/phy.c u16 txpower; txpower 1891 drivers/net/wireless/broadcom/b43legacy/phy.c txpower = phy->txctl1; txpower 1894 drivers/net/wireless/broadcom/b43legacy/phy.c if (txpower == 0) { txpower 1895 drivers/net/wireless/broadcom/b43legacy/phy.c txpower = 3; txpower 1904 drivers/net/wireless/broadcom/b43legacy/phy.c } else if (radio_attenuation > 4 && txpower != 0) { txpower 1905 drivers/net/wireless/broadcom/b43legacy/phy.c txpower = 0; txpower 1916 drivers/net/wireless/broadcom/b43legacy/phy.c phy->txctl1 = txpower; txpower 1926 drivers/net/wireless/broadcom/b43legacy/phy.c radio_attenuation, txpower); txpower 1798 drivers/net/wireless/broadcom/b43legacy/radio.c static u16 b43legacy_get_txgain_base_band(u16 txpower) txpower 1802 drivers/net/wireless/broadcom/b43legacy/radio.c B43legacy_WARN_ON(txpower > 63); txpower 1804 drivers/net/wireless/broadcom/b43legacy/radio.c if (txpower >= 54) txpower 1806 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 49) txpower 1808 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 44) txpower 1817 drivers/net/wireless/broadcom/b43legacy/radio.c static u16 b43legacy_get_txgain_freq_power_amp(u16 txpower) txpower 1821 drivers/net/wireless/broadcom/b43legacy/radio.c B43legacy_WARN_ON(txpower > 63); txpower 1823 drivers/net/wireless/broadcom/b43legacy/radio.c if (txpower >= 32) txpower 1825 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 25) txpower 1827 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 20) txpower 1829 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 12) txpower 1838 drivers/net/wireless/broadcom/b43legacy/radio.c static u16 b43legacy_get_txgain_dac(u16 txpower) txpower 1842 drivers/net/wireless/broadcom/b43legacy/radio.c B43legacy_WARN_ON(txpower > 63); txpower 1844 drivers/net/wireless/broadcom/b43legacy/radio.c if (txpower >= 54) txpower 1845 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 53; txpower 1846 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 49) txpower 1847 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 42; txpower 1848 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 44) txpower 1849 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 37; txpower 1850 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 32) txpower 1851 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 32; txpower 1852 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 25) txpower 1853 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 20; txpower 1854 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 20) txpower 1855 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 13; txpower 1856 drivers/net/wireless/broadcom/b43legacy/radio.c else if (txpower >= 12) txpower 1857 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower - 8; txpower 1859 drivers/net/wireless/broadcom/b43legacy/radio.c ret = txpower; txpower 1864 drivers/net/wireless/broadcom/b43legacy/radio.c void b43legacy_radio_set_txpower_a(struct b43legacy_wldev *dev, u16 txpower) txpower 1872 drivers/net/wireless/broadcom/b43legacy/radio.c txpower = clamp_val(txpower, 0, 63); txpower 1874 drivers/net/wireless/broadcom/b43legacy/radio.c pamp = b43legacy_get_txgain_freq_power_amp(txpower); txpower 1879 drivers/net/wireless/broadcom/b43legacy/radio.c base = b43legacy_get_txgain_base_band(txpower); txpower 1886 drivers/net/wireless/broadcom/b43legacy/radio.c dac = b43legacy_get_txgain_dac(txpower); txpower 1892 drivers/net/wireless/broadcom/b43legacy/radio.c phy->txpwr_offset = txpower; txpower 1900 drivers/net/wireless/broadcom/b43legacy/radio.c u16 txpower) txpower 1908 drivers/net/wireless/broadcom/b43legacy/radio.c if (txpower == 0xFFFF) txpower 1909 drivers/net/wireless/broadcom/b43legacy/radio.c txpower = phy->txctl1; txpower 1912 drivers/net/wireless/broadcom/b43legacy/radio.c phy->txctl1 = txpower; txpower 1919 drivers/net/wireless/broadcom/b43legacy/radio.c B43legacy_WARN_ON(txpower > 7); txpower 1928 drivers/net/wireless/broadcom/b43legacy/radio.c & ~0x0070) | ((txpower << 4) & 0x0070)); txpower 56 drivers/net/wireless/broadcom/b43legacy/radio.h void b43legacy_radio_set_txpower_a(struct b43legacy_wldev *dev, u16 txpower); txpower 59 drivers/net/wireless/broadcom/b43legacy/radio.h u16 txpower); txpower 6975 drivers/net/wireless/cisco/airo.c range->txpower[i] = le16_to_cpu(cap_rid.txPowerLevels[i]); txpower 6976 drivers/net/wireless/cisco/airo.c if(range->txpower[i] == 0) txpower 6845 drivers/net/wireless/intel/ipw2x00/ipw2100.c range->txpower[i] = level / 16; txpower 7224 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (ipw_radio_kill_sw(priv, wrqu->txpower.disabled)) txpower 7230 drivers/net/wireless/intel/ipw2x00/ipw2100.c if ((wrqu->txpower.flags & IW_TXPOW_TYPE) != IW_TXPOW_DBM) txpower 7233 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->txpower.fixed == 0) txpower 7236 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->txpower.value < IPW_TX_POWER_MIN_DBM || txpower 7237 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.value > IPW_TX_POWER_MAX_DBM) txpower 7240 drivers/net/wireless/intel/ipw2x00/ipw2100.c value = wrqu->txpower.value; txpower 7268 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.disabled = (priv->status & STATUS_RF_KILL_MASK) ? 1 : 0; txpower 7271 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.fixed = 0; txpower 7272 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.value = IPW_TX_POWER_MAX_DBM; txpower 7274 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.fixed = 1; txpower 7275 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.value = priv->tx_power; txpower 7278 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->txpower.flags = IW_TXPOW_DBM; txpower 7280 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET TX Power -> %d\n", wrqu->txpower.value); txpower 1386 drivers/net/wireless/intel/iwlegacy/3945.c struct il3945_txpowertable_cmd txpower = { txpower 1398 drivers/net/wireless/intel/iwlegacy/3945.c txpower.band = (il->band == NL80211_BAND_5GHZ) ? 0 : 1; txpower 1416 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc = ch_info->power_info[i].tpc; txpower 1417 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].rate = il3945_rates[rate_idx].plcp; txpower 1420 drivers/net/wireless/intel/iwlegacy/3945.c le16_to_cpu(txpower.channel), txpower.band, txpower 1421 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.tx_gain, txpower 1422 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.dsp_atten, txpower.power[i].rate); txpower 1427 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc = ch_info->power_info[i].tpc; txpower 1428 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].rate = il3945_rates[rate_idx].plcp; txpower 1431 drivers/net/wireless/intel/iwlegacy/3945.c le16_to_cpu(txpower.channel), txpower.band, txpower 1432 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.tx_gain, txpower 1433 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.dsp_atten, txpower.power[i].rate); txpower 1438 drivers/net/wireless/intel/iwlegacy/3945.c &txpower); txpower 262 drivers/net/wireless/intel/iwlwifi/fw/api/stats.h __s8 txpower[MAX_CHAINS]; txpower 200 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c vif->bss_conf.txpower); txpower 2410 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c bss_conf->txpower); txpower 2411 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_set_tx_power(mvm, vif, bss_conf->txpower); txpower 2644 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c bss_conf->txpower); txpower 2645 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_set_tx_power(mvm, vif, bss_conf->txpower); txpower 1574 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->txpower = rrq->value; txpower 1575 drivers/net/wireless/intersil/hostap/hostap_ioctl.c val = prism2_txpower_dBm_to_hfa386x(local->txpower); txpower 1616 drivers/net/wireless/intersil/hostap/hostap_ioctl.c rrq->value = local->txpower; txpower 716 drivers/net/wireless/intersil/hostap/hostap_wlan.h int txpower; /* if txpower_type == PRISM2_TXPOWER_FIXED */ txpower 1255 drivers/net/wireless/mac80211_hwsim.c rx_status.signal += info->control.vif->bss_conf.txpower; txpower 1799 drivers/net/wireless/mac80211_hwsim.c wiphy_dbg(hw->wiphy, " TX Power: %d dBm\n", info->txpower); txpower 7 drivers/net/wireless/marvell/libertas/radiotap.h u8 txpower; txpower 443 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c u8 txpower[21]; txpower 470 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c for (i = 0; i < ARRAY_SIZE(req.txpower); i++) txpower 471 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c req.txpower[i] = tx_power; txpower 493 drivers/net/wireless/ralink/rt2x00/rt2400pci.c static void rt2400pci_config_txpower(struct rt2x00_dev *rt2x00dev, int txpower) txpower 495 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2400pci_bbp_write(rt2x00dev, 3, TXPOWER_TO_DEV(txpower)); txpower 468 drivers/net/wireless/ralink/rt2x00/rt2500pci.c struct rf_channel *rf, const int txpower) txpower 475 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); txpower 537 drivers/net/wireless/ralink/rt2x00/rt2500pci.c const int txpower) txpower 542 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(&rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); txpower 583 drivers/net/wireless/ralink/rt2x00/rt2500usb.c struct rf_channel *rf, const int txpower) txpower 588 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); txpower 614 drivers/net/wireless/ralink/rt2x00/rt2500usb.c const int txpower) txpower 619 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field32(&rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); txpower 3969 drivers/net/wireless/ralink/rt2x00/rt2800lib.c char txpower) txpower 3973 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field8(txpower, EEPROM_TXPOWER_ALC); txpower 3976 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return clamp_t(char, txpower, MIN_G_TXPOWER, MAX_G_TXPOWER); txpower 3980 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return clamp_t(char, txpower, MIN_A_TXPOWER_3593, txpower 3983 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return clamp_t(char, txpower, MIN_A_TXPOWER, MAX_A_TXPOWER); txpower 4585 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 txpower, int delta) txpower 4594 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return min_t(u8, txpower, 0xc); txpower 4597 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return min_t(u8, txpower, 0xf); txpower 4622 drivers/net/wireless/ralink/rt2x00/rt2800lib.c eirp_txpower = eirp_txpower_criterion + (txpower - criterion) + txpower 4630 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = max(0, txpower + delta - reg_limit); txpower 4631 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return min_t(u8, txpower, 0xc); txpower 4658 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 txpower; txpower 4686 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4687 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, txpower 4688 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4690 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_CCK1_CH0, txpower); txpower 4692 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_CCK1_CH1, txpower); txpower 4694 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_EXT_CCK1_CH2, txpower); txpower 4697 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4698 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 1, band, power_level, txpower 4699 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4701 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_CCK5_CH0, txpower); txpower 4703 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_CCK5_CH1, txpower); txpower 4705 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_EXT_CCK5_CH2, txpower); txpower 4708 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4709 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4710 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4712 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_OFDM6_CH0, txpower); txpower 4714 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_OFDM6_CH1, txpower); txpower 4716 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_EXT_OFDM6_CH2, txpower); txpower 4719 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); txpower 4720 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4721 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4723 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_OFDM12_CH0, txpower); txpower 4725 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_OFDM12_CH1, txpower); txpower 4727 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_0_EXT_OFDM12_CH2, txpower); txpower 4734 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4735 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4736 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4738 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_OFDM24_CH0, txpower); txpower 4740 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_OFDM24_CH1, txpower); txpower 4742 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_EXT_OFDM24_CH2, txpower); txpower 4745 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4746 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4747 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4749 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_OFDM48_CH0, txpower); txpower 4751 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_OFDM48_CH1, txpower); txpower 4753 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_EXT_OFDM48_CH2, txpower); txpower 4756 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4757 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4758 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4760 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_7_OFDM54_CH0, txpower); txpower 4762 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_7_OFDM54_CH1, txpower); txpower 4764 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_7_OFDM54_CH2, txpower); txpower 4771 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4772 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4773 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4775 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_MCS0_CH0, txpower); txpower 4777 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_MCS0_CH1, txpower); txpower 4779 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_EXT_MCS0_CH2, txpower); txpower 4782 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4783 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4784 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4786 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_MCS2_CH0, txpower); txpower 4788 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_MCS2_CH1, txpower); txpower 4790 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_1_EXT_MCS2_CH2, txpower); txpower 4793 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4794 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4795 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4797 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS4_CH0, txpower); txpower 4799 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS4_CH1, txpower); txpower 4801 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_EXT_MCS4_CH2, txpower); txpower 4804 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); txpower 4805 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4806 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4808 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS6_CH0, txpower); txpower 4810 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS6_CH1, txpower); txpower 4812 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_EXT_MCS6_CH2, txpower); txpower 4819 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4820 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4821 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4823 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_7_MCS7_CH0, txpower); txpower 4825 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_7_MCS7_CH1, txpower); txpower 4827 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_7_MCS7_CH2, txpower); txpower 4830 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4831 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4832 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4834 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS8_CH0, txpower); txpower 4836 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS8_CH1, txpower); txpower 4838 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_EXT_MCS8_CH2, txpower); txpower 4841 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4842 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4843 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4845 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS10_CH0, txpower); txpower 4847 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_MCS10_CH1, txpower); txpower 4849 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_2_EXT_MCS10_CH2, txpower); txpower 4852 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); txpower 4853 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4854 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4856 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_MCS12_CH0, txpower); txpower 4858 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_MCS12_CH1, txpower); txpower 4860 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_EXT_MCS12_CH2, txpower); txpower 4867 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4868 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4869 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4871 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_MCS14_CH0, txpower); txpower 4873 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_MCS14_CH1, txpower); txpower 4875 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_EXT_MCS14_CH2, txpower); txpower 4878 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4879 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4880 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4882 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_8_MCS15_CH0, txpower); txpower 4884 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_8_MCS15_CH1, txpower); txpower 4886 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_8_MCS15_CH2, txpower); txpower 4889 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4890 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4891 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4893 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_5_MCS16_CH0, txpower); txpower 4895 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_5_MCS16_CH1, txpower); txpower 4897 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_5_MCS16_CH2, txpower); txpower 4900 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); txpower 4901 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4902 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4904 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_5_MCS18_CH0, txpower); txpower 4906 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_5_MCS18_CH1, txpower); txpower 4908 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_5_MCS18_CH2, txpower); txpower 4915 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4916 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4917 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4919 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_6_MCS20_CH0, txpower); txpower 4921 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_6_MCS20_CH1, txpower); txpower 4923 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_6_MCS20_CH2, txpower); txpower 4926 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4927 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4928 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4930 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_6_MCS22_CH0, txpower); txpower 4932 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_6_MCS22_CH1, txpower); txpower 4934 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_6_MCS22_CH2, txpower); txpower 4937 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4938 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4939 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4941 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_8_MCS23_CH0, txpower); txpower 4943 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_8_MCS23_CH1, txpower); txpower 4945 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_8_MCS23_CH2, txpower); txpower 4952 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4953 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4954 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4956 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_STBC0_CH0, txpower); txpower 4958 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_STBC0_CH1, txpower); txpower 4960 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_EXT_STBC0_CH2, txpower); txpower 4963 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE1); txpower 4964 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4965 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4967 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_STBC2_CH0, txpower); txpower 4969 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_STBC2_CH1, txpower); txpower 4971 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_3_EXT_STBC2_CH2, txpower); txpower 4974 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE2); txpower 4975 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4976 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4977 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®s[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE0, txpower); txpower 4978 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®s[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE1, txpower); txpower 4980 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower); txpower 4983 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE3); txpower 4984 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4985 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 4986 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®s[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE2, txpower); txpower 4987 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®s[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE3, txpower); txpower 4989 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower); txpower 4996 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, EEPROM_TXPOWER_BYRATE_RATE0); txpower 4997 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, 0, band, power_level, txpower 4998 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower, delta); txpower 5000 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_9_STBC7_CH0, txpower); txpower 5002 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_9_STBC7_CH1, txpower); txpower 5004 drivers/net/wireless/ralink/rt2x00/rt2800lib.c TX_PWR_CFG_9_STBC7_CH2, txpower); txpower 5177 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 txpower, r1; txpower 5260 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5262 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5263 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5264 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE0, txpower); txpower 5271 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5273 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5274 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5275 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE1, txpower); txpower 5282 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5284 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5285 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5286 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE2, txpower); txpower 5293 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5295 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5296 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5297 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE3, txpower); txpower 5310 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5312 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5313 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5314 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE4, txpower); txpower 5321 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5323 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5324 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5325 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE5, txpower); txpower 5332 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5334 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5335 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5336 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE6, txpower); txpower 5343 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2x00_get_field16(eeprom, txpower 5345 drivers/net/wireless/ralink/rt2x00/rt2800lib.c txpower = rt2800_compensate_txpower(rt2x00dev, is_rate_b, band, txpower 5346 drivers/net/wireless/ralink/rt2x00/rt2800lib.c power_level, txpower, delta); txpower 5347 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, TX_PWR_CFG_RATE7, txpower); txpower 774 drivers/net/wireless/ralink/rt2x00/rt61pci.c struct rf_channel *rf, const int txpower) txpower 780 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); txpower 790 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) txpower 791 drivers/net/wireless/ralink/rt2x00/rt61pci.c r94 += txpower - MAX_TXPOWER; txpower 792 drivers/net/wireless/ralink/rt2x00/rt61pci.c else if (txpower < MIN_TXPOWER && txpower >= (MIN_TXPOWER - r94)) txpower 793 drivers/net/wireless/ralink/rt2x00/rt61pci.c r94 += txpower; txpower 819 drivers/net/wireless/ralink/rt2x00/rt61pci.c const int txpower) txpower 828 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt61pci_config_channel(rt2x00dev, &rf, txpower); txpower 746 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct rf_channel *rf, const int txpower) txpower 752 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(&rf->rf3, RF3_TXPOWER, TXPOWER_TO_DEV(txpower)); txpower 762 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) txpower 763 drivers/net/wireless/ralink/rt2x00/rt73usb.c r94 += txpower - MAX_TXPOWER; txpower 764 drivers/net/wireless/ralink/rt2x00/rt73usb.c else if (txpower < MIN_TXPOWER && txpower >= (MIN_TXPOWER - r94)) txpower 765 drivers/net/wireless/ralink/rt2x00/rt73usb.c r94 += txpower; txpower 787 drivers/net/wireless/ralink/rt2x00/rt73usb.c const int txpower) txpower 796 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt73usb_config_channel(rt2x00dev, &rf, txpower); txpower 950 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 txpower = 0; txpower 959 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower = rtlefuse->txpwrlevel_cck[path][index]; txpower 961 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower = rtlefuse->txpwrlevel_ht40_1s[path][index]; txpower 968 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower += rtlefuse->txpwr_legacyhtdiff[0][TX_1S]; txpower 972 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower += rtlefuse->txpwr_ht20diff[0][TX_1S]; txpower 974 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower += rtlefuse->txpwr_ht20diff[0][TX_2S]; txpower 977 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower += rtlefuse->txpwr_ht40diff[0][TX_1S]; txpower 979 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower += rtlefuse->txpwr_ht40diff[0][TX_2S]; txpower 987 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower += power_diff_byrate; txpower 989 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if (txpower > MAX_POWER_INDEX) txpower 990 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower = MAX_POWER_INDEX; txpower 992 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c return txpower; txpower 2630 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 txpower = 0; txpower 2645 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwrlevel_cck[path][index]; txpower 2647 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwrlevel_ht40_1s[path][index]; txpower 2653 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_legacyhtdiff[path][TX_1S]; txpower 2658 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_ht20diff[path][TX_1S]; txpower 2661 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_ht20diff[path][TX_2S]; txpower 2665 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_ht40diff[path][TX_1S]; txpower 2668 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_ht40diff[path][TX_2S]; txpower 2673 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_ht40diff[path][TX_1S]; txpower 2677 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_ht40diff[path][TX_2S]; txpower 2681 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwr_5g_bw40base[path][index]; txpower 2688 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_5g_ofdmdiff[path][TX_1S]; txpower 2694 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_5g_bw20diff[path][TX_1S]; txpower 2698 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_5g_bw20diff[path][TX_2S]; txpower 2703 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_5g_bw40diff[path][TX_1S]; txpower 2707 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlefuse->txpwr_5g_bw40diff[path][TX_2S]; txpower 2718 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwr_5g_bw80base[path][index] txpower 2723 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwr_5g_bw80base[path][index] txpower 2735 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower -= powerdiff_byrate; txpower 2737 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += powerdiff_byrate; txpower 2740 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlpriv->dm.remnant_ofdm_swing_idx[path]; txpower 2742 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower += rtlpriv->dm.remnant_cck_idx; txpower 2744 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (txpower > MAX_POWER_INDEX) txpower 2745 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = MAX_POWER_INDEX; txpower 2747 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c return txpower; txpower 4659 drivers/net/wireless/ti/wlcore/main.c bss_conf->txpower != wlvif->power_level) { txpower 4661 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_acx_tx_power(wl, wlvif, bss_conf->txpower); txpower 4665 drivers/net/wireless/ti/wlcore/main.c wlvif->power_level = bss_conf->txpower; txpower 1722 drivers/net/wireless/wl3501_cs.c wrqu->txpower.value = txpow; txpower 1723 drivers/net/wireless/wl3501_cs.c wrqu->txpower.disabled = 0; txpower 1728 drivers/net/wireless/wl3501_cs.c wrqu->txpower.fixed = 0; txpower 1729 drivers/net/wireless/wl3501_cs.c wrqu->txpower.flags = IW_TXPOW_MWATT; txpower 997 drivers/staging/ks7010/ks_wlan_net.c range->txpower[0] = -256; txpower 653 include/net/mac80211.h int txpower; txpower 910 include/uapi/linux/wireless.h struct iw_param txpower; /* default transmit power */ txpower 1028 include/uapi/linux/wireless.h __s32 txpower[IW_MAX_TXPOWER]; /* list, in bps */ txpower 2581 net/mac80211/cfg.c *dbm = sdata->vif.bss_conf.txpower; txpower 212 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(txpower, vif.bss_conf.txpower, DEC); txpower 783 net/mac80211/debugfs_netdev.c DEBUGFS_ADD(txpower); txpower 68 net/mac80211/iface.c if (power != sdata->vif.bss_conf.txpower) { txpower 69 net/mac80211/iface.c sdata->vif.bss_conf.txpower = power; txpower 149 net/mac80211/main.c power = min(power, sdata->vif.bss_conf.txpower); txpower 425 net/mac80211/trace.h __field(int, txpower) txpower 465 net/mac80211/trace.h __entry->txpower = info->txpower; txpower 833 net/wireless/wext-compat.c if ((data->txpower.flags & IW_TXPOW_TYPE) != IW_TXPOW_DBM) txpower 835 net/wireless/wext-compat.c if (data->txpower.flags & IW_TXPOW_RANGE) txpower 842 net/wireless/wext-compat.c if (!data->txpower.disabled) { txpower 845 net/wireless/wext-compat.c if (data->txpower.fixed) { txpower 850 net/wireless/wext-compat.c if (data->txpower.value < 0) txpower 852 net/wireless/wext-compat.c dbm = data->txpower.value; txpower 860 net/wireless/wext-compat.c if (data->txpower.value < 0) { txpower 863 net/wireless/wext-compat.c dbm = data->txpower.value; txpower 884 net/wireless/wext-compat.c if ((data->txpower.flags & IW_TXPOW_TYPE) != IW_TXPOW_DBM) txpower 886 net/wireless/wext-compat.c if (data->txpower.flags & IW_TXPOW_RANGE) txpower 897 net/wireless/wext-compat.c data->txpower.fixed = 1; txpower 898 net/wireless/wext-compat.c data->txpower.disabled = rfkill_blocked(rdev->rfkill); txpower 899 net/wireless/wext-compat.c data->txpower.value = val; txpower 900 net/wireless/wext-compat.c data->txpower.flags = IW_TXPOW_DBM;