[ath] Add ath_hal_getnav and ath_hal_setnav so the driver layer
can check the NAV as appropriate.
This commit is contained in:
parent
bed90bf8ed
commit
61c83c4e8b
@ -1492,6 +1492,10 @@ void ath_intr(void *);
|
|||||||
((*(_ah)->ah_setChainMasks)((_ah), (_txchainmask), (_rxchainmask)))
|
((*(_ah)->ah_setChainMasks)((_ah), (_txchainmask), (_rxchainmask)))
|
||||||
#define ath_hal_set_quiet(_ah, _p, _d, _o, _f) \
|
#define ath_hal_set_quiet(_ah, _p, _d, _o, _f) \
|
||||||
((*(_ah)->ah_setQuiet)((_ah), (_p), (_d), (_o), (_f)))
|
((*(_ah)->ah_setQuiet)((_ah), (_p), (_d), (_o), (_f)))
|
||||||
|
#define ath_hal_getnav(_ah) \
|
||||||
|
((*(_ah)->ah_getNav)((_ah)))
|
||||||
|
#define ath_hal_setnav(_ah, _val) \
|
||||||
|
((*(_ah)->ah_setNav)((_ah), (_val)))
|
||||||
|
|
||||||
#define ath_hal_spectral_supported(_ah) \
|
#define ath_hal_spectral_supported(_ah) \
|
||||||
(ath_hal_getcapability(_ah, HAL_CAP_SPECTRAL_SCAN, 0, NULL) == HAL_OK)
|
(ath_hal_getcapability(_ah, HAL_CAP_SPECTRAL_SCAN, 0, NULL) == HAL_OK)
|
||||||
|
Loading…
Reference in New Issue
Block a user