From 5566fb10ee346c6f5fc634e0c97ab4ef517d81df Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 27 Nov 2016 18:34:29 +0000 Subject: [PATCH] [ath] Begin to lay the groundwork for btcoex related ioctl controls. --- sys/dev/ath/if_ath_ioctl.c | 2 ++ sys/dev/ath/if_athioctl.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/sys/dev/ath/if_ath_ioctl.c b/sys/dev/ath/if_ath_ioctl.c index 1128c18eea27..a7ba0e42df3e 100644 --- a/sys/dev/ath/if_ath_ioctl.c +++ b/sys/dev/ath/if_ath_ioctl.c @@ -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 diff --git a/sys/dev/ath/if_athioctl.h b/sys/dev/ath/if_athioctl.h index 9f879893356f..f16f3cbbca25 100644 --- a/sys/dev/ath/if_athioctl.h +++ b/sys/dev/ath/if_athioctl.h @@ -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 */