 if (tx_power != IPW_TX_POWER_DEFAULT) tx_power = (tx_power - IPW_TX_POWER_MIN_DBM) * 16 / (IPW_TX_POWER_MAX_DBM - IPW_TX_POWER_MIN_DBM); 
static int ipw2100_set_tx_power(struct ipw2100_priv *priv, u32 tx_power){	struct host_command cmd = {		.host_command = TX_POWER_INDEX,		.host_command_sequence = 0,		.host_command_length = 4	};	int err = 0;	cmd.host_command_parameters[0] = tx_power;	if (priv->ieee->iw_mode == IW_MODE_ADHOC)		err = ipw2100_hw_send_command(priv, &cmd);	if (!err)		priv->tx_power = tx_power;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f75459e6f64ca0632f23029e2ca47b424dd33373/ipw2100.c/clean/drivers/net/wireless/ipw2100.c