wrqu->power.value = (priv->tx_power * (IPW_TX_POWER_MAX_DBM - IPW_TX_POWER_MIN_DBM)) / (IPW_TX_POWER_MAX - IPW_TX_POWER_MIN) + IPW_TX_POWER_MIN_DBM; 
wrqu->power.value = priv->tx_power; 
static int ipw2100_wx_get_txpow(struct net_device *dev,				struct iw_request_info *info,				union iwreq_data *wrqu, char *extra){	/*	 * This can be called at any time.  No action lock required	 */	struct ipw2100_priv *priv = ieee80211_priv(dev);	if (priv->ieee->iw_mode != IW_MODE_ADHOC) {		wrqu->power.disabled = 1;		return 0;	}	if (priv->tx_power == IPW_TX_POWER_DEFAULT) {		wrqu->power.fixed = 0;		wrqu->power.value = IPW_TX_POWER_MAX_DBM;		wrqu->power.disabled = 1;	} else {		wrqu->power.disabled = 0;		wrqu->power.fixed = 1;		wrqu->power.value =		    (priv->tx_power *		     (IPW_TX_POWER_MAX_DBM - IPW_TX_POWER_MIN_DBM)) /		    (IPW_TX_POWER_MAX - IPW_TX_POWER_MIN) +		    IPW_TX_POWER_MIN_DBM;	}	wrqu->power.flags = IW_TXPOW_DBM;	IPW_DEBUG_WX("GET TX Power -> %d \n", wrqu->power.value);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f75459e6f64ca0632f23029e2ca47b424dd33373/ipw2100.c/clean/drivers/net/wireless/ipw2100.c