Changeset 2478
- Timestamp:
- 06/17/07 10:34:51 (2 years ago)
- Files:
-
- trunk/ath/if_ath_hal.h (modified) (2 diffs)
- trunk/scripts/if_ath_hal_settings.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ath/if_ath_hal.h
r2477 r2478 306 306 ATH_HAL_UNLOCK_IRQ(GET_ATH_SOFTC(ah)); 307 307 }) 308 __hal_wrapper HAL_BOOL ath_hal_reset(struct ath_hal* ah, HAL_OPMODE a1, HAL_CHANNEL* a2, HAL_BOOL bChannelChange, HAL_STATUS* status) 309 IMPLEMENTATION({ 310 HAL_BOOL ret; 311 ATH_HAL_LOCK_IRQ(GET_ATH_SOFTC(ah)); 312 ret = ah->ah_reset(ah, a1, a2, bChannelChange, status); 313 ATH_HAL_UNLOCK_IRQ(GET_ATH_SOFTC(ah)); 314 return ret; 315 }) 308 316 __hal_wrapper HAL_BOOL ath_hal_setdecompmask(struct ath_hal* ah, u_int16_t a1, int a2) 309 317 IMPLEMENTATION({ … … 722 730 return ret; 723 731 }) 724 __hal_wrapper HAL_BOOL ath_hal_reset(struct ath_hal* ah, HAL_OPMODE opMode, HAL_CHANNEL* chan, HAL_BOOL bChannelChange, HAL_STATUS* status)725 IMPLEMENTATION({726 HAL_BOOL ret;727 ATH_HAL_LOCK_IRQ(GET_ATH_SOFTC(ah));728 ret = ah->ah_reset(ah, opMode, chan, bChannelChange, status);729 ATH_HAL_UNLOCK_IRQ(GET_ATH_SOFTC(ah));730 return ret;731 })732 732 __hal_wrapper HAL_BOOL ath_hal_burstsupported(struct ath_hal * ah) 733 733 IMPLEMENTATION({ trunk/scripts/if_ath_hal_settings.pl
r2477 r2478 70 70 "ah_releaseTxQueue" => "ath_hal_releasetxqueue", 71 71 "ah_reqTxIntrDesc" => "ath_hal_txreqintrdesc", 72 "ah_reset" => "ath_hal_reset", 72 73 "ah_resetKeyCacheEntry" => "ath_hal_keyreset", 73 74 "ah_resetStationBeaconTimers" => "ath_hal_beaconreset", … … 120 121 # other functions, perhaps. 121 122 # 122 @hal_functions_not_to_wrap = ( "ah_detach", "ah_reset" ); 123 @hal_functions_not_to_wrap = ( "ah_detach" ); 124 123 125 # 124 126 # Boilerplate text … … 190 192 return ret; 191 193 }) 192 __hal_wrapper HAL_BOOL ath_hal_reset(struct ath_hal* ah, HAL_OPMODE opMode, HAL_CHANNEL* chan, HAL_BOOL bChannelChange, HAL_STATUS* status)193 IMPLEMENTATION({194 HAL_BOOL ret;195 ATH_HAL_LOCK_IRQ(GET_ATH_SOFTC(ah));196 ret = ah->ah_reset(ah, opMode, chan, bChannelChange, status);197 ATH_HAL_UNLOCK_IRQ(GET_ATH_SOFTC(ah));198 return ret;199 })200 194 __hal_wrapper HAL_BOOL ath_hal_burstsupported(struct ath_hal * ah) 201 195 IMPLEMENTATION({
