diff options
author | adrian <adrian@FreeBSD.org> | 2013-06-07 05:18:07 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-06-07 05:18:07 +0000 |
commit | d34155fd923eec002ade8f2209f350a0757816ac (patch) | |
tree | fbac7718b7c3e519c93bbdd7434e0396bac9bd65 /sys/dev | |
parent | fd875f85f0b44b5f5c5c0f795084292d70b50876 (diff) | |
download | FreeBSD-src-d34155fd923eec002ade8f2209f350a0757816ac.zip FreeBSD-src-d34155fd923eec002ade8f2209f350a0757816ac.tar.gz |
Add accessor macros for the bluetooth coexistence routines.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/if_athvar.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h index b9ae8c3..7a943d9 100644 --- a/sys/dev/ath/if_athvar.h +++ b/sys/dev/ath/if_athvar.h @@ -1437,4 +1437,25 @@ void ath_intr(void *); #define ath_hal_spectral_stop(_ah) \ ((*(_ah)->ah_spectralStop)((_ah))) +#define ath_hal_btcoex_supported(_ah) \ + (ath_hal_getcapability(_ah, HAL_CAP_BT_COEX, 0, NULL) == HAL_OK) +#define ath_hal_btcoex_set_info(_ah, _info) \ + ((*(_ah)->ah_btCoexSetInfo)((_ah), (_info))) +#define ath_hal_btcoex_set_config(_ah, _cfg) \ + ((*(_ah)->ah_btCoexSetConfig)((_ah), (_cfg))) +#define ath_hal_btcoex_set_qcu_thresh(_ah, _qcuid) \ + ((*(_ah)->ah_btCoexSetQcuThresh)((_ah), (_qcuid))) +#define ath_hal_btcoex_set_weights(_ah, _weight) \ + ((*(_ah)->ah_btCoexSetWeights)((_ah), (_weight))) +#define ath_hal_btcoex_set_weights(_ah, _weight) \ + ((*(_ah)->ah_btCoexSetWeights)((_ah), (_weight))) +#define ath_hal_btcoex_set_bmiss_thresh(_ah, _thr) \ + ((*(_ah)->ah_btCoexSetBmissThresh)((_ah), (_thr))) +#define ath_hal_btcoex_set_parameter(_ah, _attrib, _val) \ + ((*(_ah)->ah_btCoexSetParameter)((_ah), (_attrib), (_val))) +#define ath_hal_btcoex_enable(_ah) \ + ((*(_ah)->ah_btCoexEnable)((_ah))) +#define ath_hal_btcoex_disable(_ah) \ + ((*(_ah)->ah_btCoexDisable)((_ah))) + #endif /* _DEV_ATH_ATHVAR_H */ |