Home
last modified time | relevance | path

Searched refs:tx_power (Results 1 – 25 of 48) sorted by relevance

12

/drivers/net/wireless/ath/ath5k/
Ddesc.c80 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()
/drivers/net/wireless/ath/ath9k/
Dtx99.c251 u8 tx_power; in write_file_tx99_power() local
253 r = kstrtou8_from_user(user_buf, count, 0, &tx_power); in write_file_tx99_power()
257 if (tx_power > MAX_RATE_POWER) in write_file_tx99_power()
260 sc->tx99_power = tx_power; in write_file_tx99_power()
Dar5008_phy.c1266 ah->tx_power[0] = CCK_DELTA(rate_array[rate1l]); in ar5008_hw_init_txpower_cck()
1267 ah->tx_power[1] = CCK_DELTA(min(rate_array[rate2l], in ar5008_hw_init_txpower_cck()
1269 ah->tx_power[2] = CCK_DELTA(min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck()
1271 ah->tx_power[3] = CCK_DELTA(min(rate_array[rate11l], in ar5008_hw_init_txpower_cck()
1282 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm()
1294 ah->tx_power[i] = rate_array[mcs_idx] + ht40_delta; in ar5008_hw_init_txpower_ht()
1297 memcpy(&ah->tx_power[ds_offset], &ah->tx_power[ss_offset], in ar5008_hw_init_txpower_ht()
Dar9003_phy.c1907 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck()
1908 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck()
1909 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck()
1911 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck()
1923 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm()
1936 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht()
1942 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht()
1948 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht()
1956 memcpy(&ah->tx_power_stbc[ss_offset], &ah->tx_power[ss_offset], in ar9003_hw_init_txpower_stbc()
1958 memcpy(&ah->tx_power_stbc[ds_offset], &ah->tx_power[ds_offset], in ar9003_hw_init_txpower_stbc()
[all …]
Dxmit.c1105 int txpower = fi->tx_power; in ath_get_rate_txpower()
1139 max_power = min_t(u8, ah->tx_power[rateidx], txpower); in ath_get_rate_txpower()
1150 fi->tx_power); in ath_get_rate_txpower()
1152 max_power = min_t(u8, ah->tx_power[rateidx], in ath_get_rate_txpower()
1153 fi->tx_power); in ath_get_rate_txpower()
2125 fi->tx_power = txpower; in setup_frame_info()
/drivers/net/irda/
Dstir4200.c73 static int tx_power = 0; /* 0 = highest ... 3 = lowest */ variable
74 module_param(tx_power, int, 0);
75 MODULE_PARM_DESC(tx_power, "Set Transmitter power (0-3, 0 is highest power)");
545 CTRL1_SDMODE | (tx_power & 3) << 1); in change_speed()
549 err = write_reg(stir, REG_CTRL1, (tx_power & 3) << 1); in change_speed()
/drivers/net/wireless/iwlegacy/
D4965.c1158 union il4965_tx_power_dual_stream tx_power; in il4965_fill_txpower_tbl() local
1232 tx_power.s.radio_tx_gain[c] = in il4965_fill_txpower_tbl()
1234 tx_power.s.dsp_predis_atten[c] = in il4965_fill_txpower_tbl()
1239 power_idx, tx_power.s.radio_tx_gain[c], in il4965_fill_txpower_tbl()
1240 tx_power.s.dsp_predis_atten[c]); in il4965_fill_txpower_tbl()
1243 tx_power_tbl->power_tbl[i].dw = cpu_to_le32(tx_power.dw); in il4965_fill_txpower_tbl()
1282 is_ht40, ctrl_chan_high, &cmd.tx_power); in il4965_send_tx_power()
1536 &cmd.tx_power); in il4965_hw_channel_switch()
Dcommon.c4361 il_set_tx_power(struct il_priv *il, s8 tx_power, bool force) in il_set_tx_power() argument
4369 if (il->tx_power_user_lmt == tx_power && !force) in il_set_tx_power()
4376 if (tx_power < 0) { in il_set_tx_power()
4377 IL_WARN("Requested user TXPOWER %d below 1 mW.\n", tx_power); in il_set_tx_power()
4381 if (tx_power > il->tx_power_device_lmt) { in il_set_tx_power()
4383 tx_power, il->tx_power_device_lmt); in il_set_tx_power()
4392 il->tx_power_next = tx_power; in il_set_tx_power()
4403 il->tx_power_user_lmt = tx_power; in il_set_tx_power()
/drivers/net/wireless/iwlwifi/dvm/
Drxon.c402 static int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force) in iwl_set_tx_power() argument
414 if (priv->tx_power_user_lmt == tx_power && !force) in iwl_set_tx_power()
417 if (tx_power < IWLAGN_TX_POWER_TARGET_POWER_MIN) { in iwl_set_tx_power()
420 tx_power, in iwl_set_tx_power()
425 if (tx_power > DIV_ROUND_UP(priv->nvm_data->max_tx_pwr_half_dbm, 2)) { in iwl_set_tx_power()
428 tx_power, priv->nvm_data->max_tx_pwr_half_dbm); in iwl_set_tx_power()
437 priv->tx_power_next = tx_power; in iwl_set_tx_power()
448 priv->tx_power_user_lmt = tx_power; in iwl_set_tx_power()
Ddebugfs.c1314 if (tx->tx_power.ant_a || tx->tx_power.ant_b || tx->tx_power.ant_c) { in iwl_dbgfs_ucode_tx_stats_read()
1318 tx->tx_power.ant_a) in iwl_dbgfs_ucode_tx_stats_read()
1321 tx->tx_power.ant_a); in iwl_dbgfs_ucode_tx_stats_read()
1323 tx->tx_power.ant_b) in iwl_dbgfs_ucode_tx_stats_read()
1326 tx->tx_power.ant_b); in iwl_dbgfs_ucode_tx_stats_read()
1328 tx->tx_power.ant_c) in iwl_dbgfs_ucode_tx_stats_read()
1331 tx->tx_power.ant_c); in iwl_dbgfs_ucode_tx_stats_read()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_hal.h130 struct tx_power { struct
265 struct tx_power *power, uint channel);
/drivers/net/wireless/
Dadm8211.c630 u8 tx_power = priv->tx_power > 0x3F ? in adm8211_rf_set_channel() local
631 priv->eeprom->tx_power[chan - 1] : priv->tx_power; in adm8211_rf_set_channel()
709 (priv->pdev->revision < ADM8211_REV_CA ? tx_power : 0)); in adm8211_rf_set_channel()
713 reg |= tx_power << 18; in adm8211_rf_set_channel()
725 tx_power<<2); in adm8211_rf_set_channel()
1874 priv->tx_power = 0x40; in adm8211_probe()
Dadm8211.h529 u8 tx_power[14]; /* 0x54 */ member
561 u8 tx_power; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.c1259 u8 tx_power = 0; in _rtl92ee_get_txpower_index() local
1269 tx_power = rtlefuse->txpwrlevel_cck[rfpath][index]; in _rtl92ee_get_txpower_index()
1271 tx_power = rtlefuse->txpwrlevel_ht40_1s[rfpath][index]; in _rtl92ee_get_txpower_index()
1276 tx_power += rtlefuse->txpwr_legacyhtdiff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1281 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1283 tx_power += rtlefuse->txpwr_ht20diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index()
1286 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_1S]; in _rtl92ee_get_txpower_index()
1288 tx_power += rtlefuse->txpwr_ht40diff[rfpath][TX_2S]; in _rtl92ee_get_txpower_index()
1295 tx_power += diff; in _rtl92ee_get_txpower_index()
1297 if (tx_power > MAX_POWER_INDEX) in _rtl92ee_get_txpower_index()
[all …]
/drivers/net/wireless/rt2x00/
Drt73usb.c1512 TXPOWER_TO_DEV(entry->queue->rt2x00dev->tx_power)); in rt73usb_write_tx_desc()
2102 char *tx_power; in rt73usb_probe_hw_mode() local
2154 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_G_START); in rt73usb_probe_hw_mode()
2157 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt73usb_probe_hw_mode()
2161 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_A_START); in rt73usb_probe_hw_mode()
2165 TXPOWER_FROM_DEV(tx_power[i - 14]); in rt73usb_probe_hw_mode()
Drt2x00config.c282 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
Drt61pci.c1907 TXPOWER_TO_DEV(entry->queue->rt2x00dev->tx_power)); in rt61pci_write_tx_desc()
2750 char *tx_power; in rt61pci_probe_hw_mode() local
2812 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_G_START); in rt61pci_probe_hw_mode()
2815 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt61pci_probe_hw_mode()
2819 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_A_START); in rt61pci_probe_hw_mode()
2823 TXPOWER_FROM_DEV(tx_power[i - 14]); in rt61pci_probe_hw_mode()
Drt2500usb.c1687 char *tx_power; in rt2500usb_probe_hw_mode() local
1750 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_START); in rt2500usb_probe_hw_mode()
1753 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt2500usb_probe_hw_mode()
Drt2400pci.c1571 char *tx_power; in rt2400pci_probe_hw_mode() local
1605 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_START); in rt2400pci_probe_hw_mode()
1608 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt2400pci_probe_hw_mode()
/drivers/net/wireless/ath/carl9170/
Dwlan.h225 u8 tx_power:6; member
/drivers/net/wireless/ipw2x00/
Dipw2200.c2491 struct ipw_tx_power tx_power; in ipw_set_tx_power() local
2495 memset(&tx_power, 0, sizeof(tx_power)); in ipw_set_tx_power()
2498 tx_power.ieee_mode = IPW_G_MODE; in ipw_set_tx_power()
2499 tx_power.num_channels = geo->bg_channels; in ipw_set_tx_power()
2502 tx_power.channels_tx_power[i].channel_number = in ipw_set_tx_power()
2504 tx_power.channels_tx_power[i].tx_power = max_power ? in ipw_set_tx_power()
2505 min(max_power, priv->tx_power) : priv->tx_power; in ipw_set_tx_power()
2507 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
2511 tx_power.ieee_mode = IPW_B_MODE; in ipw_set_tx_power()
2512 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.h100 s32 tx_power; member
/drivers/staging/rtl8712/
Drtl871x_cmd.h643 unsigned short tx_power; member
/drivers/net/wireless/brcm80211/brcmsmac/
Dstf.c90 struct tx_power power = { }; in brcms_c_stf_ss_algo_channel_get()
/drivers/staging/rtl8723au/include/
Drtw_cmd.h593 unsigned short tx_power; member

12