Home
last modified time | relevance | path

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

123

/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.c248 u8 tx_power; in write_file_tx99_power() local
250 r = kstrtou8_from_user(user_buf, count, 0, &tx_power); in write_file_tx99_power()
254 if (tx_power > MAX_RATE_POWER) in write_file_tx99_power()
257 sc->tx99_power = tx_power; in write_file_tx99_power()
Dar5008_phy.c1263 ah->tx_power[0] = CCK_DELTA(rate_array[rate1l]); in ar5008_hw_init_txpower_cck()
1264 ah->tx_power[1] = CCK_DELTA(min(rate_array[rate2l], in ar5008_hw_init_txpower_cck()
1266 ah->tx_power[2] = CCK_DELTA(min(rate_array[rate5_5l], in ar5008_hw_init_txpower_cck()
1268 ah->tx_power[3] = CCK_DELTA(min(rate_array[rate11l], in ar5008_hw_init_txpower_cck()
1279 ah->tx_power[i] = rate_array[idx]; in ar5008_hw_init_txpower_ofdm()
1291 ah->tx_power[i] = rate_array[mcs_idx] + ht40_delta; in ar5008_hw_init_txpower_ht()
1294 memcpy(&ah->tx_power[ds_offset], &ah->tx_power[ss_offset], in ar5008_hw_init_txpower_ht()
Dar9003_phy.c1854 ah->tx_power[0] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck()
1855 ah->tx_power[1] = rate_array[ALL_TARGET_LEGACY_1L_5L]; in ar9003_hw_init_txpower_cck()
1856 ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], in ar9003_hw_init_txpower_cck()
1858 ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], in ar9003_hw_init_txpower_cck()
1870 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ofdm()
1883 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht()
1889 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht()
1895 ah->tx_power[i] = rate_array[j]; in ar9003_hw_init_txpower_ht()
1903 memcpy(&ah->tx_power_stbc[ss_offset], &ah->tx_power[ss_offset], in ar9003_hw_init_txpower_stbc()
1905 memcpy(&ah->tx_power_stbc[ds_offset], &ah->tx_power[ds_offset], in ar9003_hw_init_txpower_stbc()
[all …]
Dxmit.c1190 int txpower = fi->tx_power; in ath_get_rate_txpower()
1225 max_power = min_t(u8, ah->tx_power[rateidx], txpower); in ath_get_rate_txpower()
1236 fi->tx_power); in ath_get_rate_txpower()
1238 max_power = min_t(u8, ah->tx_power[rateidx], in ath_get_rate_txpower()
1239 fi->tx_power); in ath_get_rate_txpower()
2183 fi->tx_power = txpower; in setup_frame_info()
/drivers/staging/irda/drivers/
Dstir4200.c74 static int tx_power = 0; /* 0 = highest ... 3 = lowest */ variable
75 module_param(tx_power, int, 0);
76 MODULE_PARM_DESC(tx_power, "Set Transmitter power (0-3, 0 is highest power)");
546 CTRL1_SDMODE | (tx_power & 3) << 1); in change_speed()
550 err = write_reg(stir, REG_CTRL1, (tx_power & 3) << 1); in change_speed()
/drivers/net/wireless/intel/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.c1315 if (tx->tx_power.ant_a || tx->tx_power.ant_b || tx->tx_power.ant_c) { in iwl_dbgfs_ucode_tx_stats_read()
1319 tx->tx_power.ant_a) in iwl_dbgfs_ucode_tx_stats_read()
1322 tx->tx_power.ant_a); in iwl_dbgfs_ucode_tx_stats_read()
1324 tx->tx_power.ant_b) in iwl_dbgfs_ucode_tx_stats_read()
1327 tx->tx_power.ant_b); in iwl_dbgfs_ucode_tx_stats_read()
1329 tx->tx_power.ant_c) in iwl_dbgfs_ucode_tx_stats_read()
1332 tx->tx_power.ant_c); in iwl_dbgfs_ucode_tx_stats_read()
/drivers/net/wireless/intel/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()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_hal.h130 struct tx_power { struct
265 struct tx_power *power, uint channel);
/drivers/net/wireless/admtek/
Dadm8211.c637 u8 tx_power = priv->tx_power > 0x3F ? in adm8211_rf_set_channel() local
638 priv->eeprom->tx_power[chan - 1] : priv->tx_power; in adm8211_rf_set_channel()
716 (priv->pdev->revision < ADM8211_REV_CA ? tx_power : 0)); in adm8211_rf_set_channel()
720 reg |= tx_power << 18; in adm8211_rf_set_channel()
732 tx_power<<2); in adm8211_rf_set_channel()
1895 priv->tx_power = 0x40; in adm8211_probe()
Dadm8211.h530 u8 tx_power[14]; /* 0x54 */ member
562 u8 tx_power; member
/drivers/staging/wilc1000/
Dhost_interface.h362 int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power);
363 int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power);
Dhost_interface.c166 struct tx_power { struct
194 struct tx_power tx_power; member
2630 handle_set_tx_pwr(msg->vif, msg->body.tx_power.tx_pwr); in host_if_work()
2634 handle_get_tx_pwr(msg->vif, &msg->body.tx_power.tx_pwr); in host_if_work()
4056 int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power) in wilc_set_tx_power() argument
4064 msg.body.tx_power.tx_pwr = tx_power; in wilc_set_tx_power()
4074 int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power) in wilc_get_tx_power() argument
4089 *tx_power = msg.body.tx_power.tx_pwr; in wilc_get_tx_power()
Dwilc_wfi_cfgoperations.c2125 s32 tx_power = MBM_TO_DBM(mbm); in set_tx_power() local
2129 if (tx_power < 0) in set_tx_power()
2130 tx_power = 0; in set_tx_power()
2131 else if (tx_power > 18) in set_tx_power()
2132 tx_power = 18; in set_tx_power()
2133 ret = wilc_set_tx_power(vif, tx_power); in set_tx_power()
/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/rsi/
Drsi_91x_mgmt.c1022 if (common->tx_power < channel->max_power) in rsi_set_channel()
1023 chan_cfg->tx_power = cpu_to_le16(common->tx_power); in rsi_set_channel()
1025 chan_cfg->tx_power = cpu_to_le16(channel->max_power); in rsi_set_channel()
1069 cmd_frame->desc_word[3] |= cpu_to_le16(common->tx_power << 8); in rsi_send_radio_params_update()
Drsi_main.h260 int tx_power; member
/drivers/net/wireless/ralink/rt2x00/
Drt73usb.c1517 TXPOWER_TO_DEV(entry->queue->rt2x00dev->tx_power)); in rt73usb_write_tx_desc()
2104 char *tx_power; in rt73usb_probe_hw_mode() local
2156 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_G_START); in rt73usb_probe_hw_mode()
2159 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt73usb_probe_hw_mode()
2163 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_A_START); in rt73usb_probe_hw_mode()
2167 TXPOWER_FROM_DEV(tx_power[i - 14]); in rt73usb_probe_hw_mode()
Drt2x00config.c264 rt2x00dev->tx_power = conf->power_level; in rt2x00lib_config()
Drt61pci.c1911 TXPOWER_TO_DEV(entry->queue->rt2x00dev->tx_power)); in rt61pci_write_tx_desc()
2751 char *tx_power; in rt61pci_probe_hw_mode() local
2813 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_G_START); in rt61pci_probe_hw_mode()
2816 info[i].default_power1 = TXPOWER_FROM_DEV(tx_power[i]); in rt61pci_probe_hw_mode()
2820 tx_power = rt2x00_eeprom_addr(rt2x00dev, EEPROM_TXPOWER_A_START); in rt61pci_probe_hw_mode()
2824 TXPOWER_FROM_DEV(tx_power[i - 14]); in rt61pci_probe_hw_mode()
/drivers/net/wireless/ath/carl9170/
Dwlan.h225 u8 tx_power:6; member
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c2489 struct ipw_tx_power tx_power; in ipw_set_tx_power() local
2493 memset(&tx_power, 0, sizeof(tx_power)); in ipw_set_tx_power()
2496 tx_power.ieee_mode = IPW_G_MODE; in ipw_set_tx_power()
2497 tx_power.num_channels = geo->bg_channels; in ipw_set_tx_power()
2500 tx_power.channels_tx_power[i].channel_number = in ipw_set_tx_power()
2502 tx_power.channels_tx_power[i].tx_power = max_power ? in ipw_set_tx_power()
2503 min(max_power, priv->tx_power) : priv->tx_power; in ipw_set_tx_power()
2505 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
2509 tx_power.ieee_mode = IPW_B_MODE; in ipw_set_tx_power()
2510 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
[all …]
/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h197 u8 tx_power; member
/drivers/staging/rtl8712/
Drtl871x_cmd.h646 unsigned short tx_power; member

123