[ath] Begin to lay the groundwork for btcoex related ioctl controls.

This commit is contained in:
Adrian Chadd 2016-11-27 18:34:29 +00:00
parent 935b4fcccd
commit 5566fb10ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309215
2 changed files with 7 additions and 0 deletions

View File

@ -296,6 +296,8 @@ ath_ioctl(struct ieee80211com *ic, u_long cmd, void *data)
return (ath_ioctl_spectral(sc, data));
case SIOCGATHNODERATESTATS:
return (ath_ioctl_ratestats(sc, data));
case SIOCGATHBTCOEX:
return (ath_btcoex_ioctl(sc, data));
default:
/*
* This signals the net80211 layer that we didn't handle this

View File

@ -447,4 +447,9 @@ struct ath_tx_radiotap_header {
#define SPECTRAL_CONTROL_ENABLE_AT_RESET 8
#define SPECTRAL_CONTROL_DISABLE_AT_RESET 9
/*
* Bluetooth coexistence control parameters
*/
#define SIOCGATHBTCOEX _IOWR('i', 152, struct ath_diag)
#endif /* _DEV_ATH_ATHIOCTL_H */