From owner-svn-src-head@freebsd.org Sun Nov 27 18:34:31 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D3C3C5886D; Sun, 27 Nov 2016 18:34:31 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CDC3EE4; Sun, 27 Nov 2016 18:34:30 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uARIYU71029377; Sun, 27 Nov 2016 18:34:30 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uARIYUjJ029375; Sun, 27 Nov 2016 18:34:30 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201611271834.uARIYUjJ029375@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sun, 27 Nov 2016 18:34:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309215 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2016 18:34:31 -0000 Author: adrian Date: Sun Nov 27 18:34:29 2016 New Revision: 309215 URL: https://svnweb.freebsd.org/changeset/base/309215 Log: [ath] Begin to lay the groundwork for btcoex related ioctl controls. Modified: head/sys/dev/ath/if_ath_ioctl.c head/sys/dev/ath/if_athioctl.h Modified: head/sys/dev/ath/if_ath_ioctl.c ============================================================================== --- head/sys/dev/ath/if_ath_ioctl.c Sun Nov 27 18:06:03 2016 (r309214) +++ head/sys/dev/ath/if_ath_ioctl.c Sun Nov 27 18:34:29 2016 (r309215) @@ -296,6 +296,8 @@ ath_ioctl(struct ieee80211com *ic, u_lon 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 Modified: head/sys/dev/ath/if_athioctl.h ============================================================================== --- head/sys/dev/ath/if_athioctl.h Sun Nov 27 18:06:03 2016 (r309214) +++ head/sys/dev/ath/if_athioctl.h Sun Nov 27 18:34:29 2016 (r309215) @@ -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 */