sys/dev/netif/ath/hal/ath_hal/ar5416/ar5416_reset.c
HAL_BOOL
ar5416SetTxPowerLimit(struct ath_hal *ah, uint32_t limit)
{
	uint16_t dummyXpdGains[2];

	AH_PRIVATE(ah)->ah_powerLimit = AH_MIN(limit, MAX_RATE_POWER);
	return ar5416SetTransmitPower(ah, AH_PRIVATE(ah)->ah_curchan,
			dummyXpdGains);
}
/*
 * Set a limit on the overall output power.  Used for dynamic
 * transmit power control and the like.
 *
 * NB: limit is in units of 0.5 dbM.
 */
Set a limit on the overall output power.  Used for dynamic
transmit power control and the like.

limit is in units of 0.5 dbM.
Set a limit on the overall output power . Used for dynamic transmit power control and the like . limit is in units of 0 . 5 dbM .
HAL_BOOL
ar5416SetTxPowerLimit(struct ath_hal *ah, uint32_t limit)
{
	uint16_t dummyXpdGains[2];
	AH_PRIVATE(ah)->ah_powerLimit = AH_MIN(limit, MAX_RATE_POWER);
	return ar5416SetTransmitPower(ah, AH_PRIVATE(ah)->ah_curchan,
			dummyXpdGains);
}
HAL_BOOL ar5416SetTxPowerLimit ( struct ath_hal * ah , uint32_t limit ) { uint16_t dummyXpdGains [ 2 ] ; AH_PRIVATE ( ah ) -> ah_powerLimit = AH_MIN ( limit , MAX_RATE_POWER ) ; return ar5416SetTransmitPower ( ah , AH_PRIVATE ( ah ) -> ah_curchan , dummyXpdGains ) ; }
Set a limit on the overall output power.
Set a limit on the overall output power .