Lines Matching refs:tx_power
2467 struct ipw_tx_power tx_power; in ipw_set_tx_power() local
2471 memset(&tx_power, 0, sizeof(tx_power)); in ipw_set_tx_power()
2474 tx_power.ieee_mode = IPW_G_MODE; in ipw_set_tx_power()
2475 tx_power.num_channels = geo->bg_channels; in ipw_set_tx_power()
2478 tx_power.channels_tx_power[i].channel_number = in ipw_set_tx_power()
2480 tx_power.channels_tx_power[i].tx_power = max_power ? in ipw_set_tx_power()
2481 min(max_power, priv->tx_power) : priv->tx_power; in ipw_set_tx_power()
2483 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
2487 tx_power.ieee_mode = IPW_B_MODE; in ipw_set_tx_power()
2488 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
2493 tx_power.ieee_mode = IPW_A_MODE; in ipw_set_tx_power()
2494 tx_power.num_channels = geo->a_channels; in ipw_set_tx_power()
2495 for (i = 0; i < tx_power.num_channels; i++) { in ipw_set_tx_power()
2497 tx_power.channels_tx_power[i].channel_number = in ipw_set_tx_power()
2499 tx_power.channels_tx_power[i].tx_power = max_power ? in ipw_set_tx_power()
2500 min(max_power, priv->tx_power) : priv->tx_power; in ipw_set_tx_power()
2502 if (ipw_send_tx_power(priv, &tx_power)) in ipw_set_tx_power()
8572 priv->tx_power = IPW_TX_POWER_DEFAULT; in ipw_sw_reset()
9304 priv->tx_power = wrqu->power.value; in ipw_wx_set_txpow()
9317 wrqu->power.value = priv->tx_power; in ipw_wx_get_txpow()