Deleted Added
full compact
if_athioctl.h (240639) if_athioctl.h (244951)
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/sys/dev/ath/if_athioctl.h 240639 2012-09-18 10:14:17Z adrian $
29 * $FreeBSD: head/sys/dev/ath/if_athioctl.h 244951 2013-01-02 03:59:02Z adrian $
30 */
31
32/*
33 * Ioctl-related defintions for the Atheros Wireless LAN controller driver.
34 */
35#ifndef _DEV_ATH_ATHIOCTL_H
36#define _DEV_ATH_ATHIOCTL_H
37

--- 363 unchanged lines hidden (view full) ---

401#define DFS_PARAM_USEFIR128 12
402#define DFS_PARAM_BLOCKRADAR 13
403#define DFS_PARAM_MAXRSSI_EN 14
404
405/* FreeBSD-specific start at 32 */
406#define DFS_PARAM_ENABLE 32
407#define DFS_PARAM_EN_EXTCH 33
408
30 */
31
32/*
33 * Ioctl-related defintions for the Atheros Wireless LAN controller driver.
34 */
35#ifndef _DEV_ATH_ATHIOCTL_H
36#define _DEV_ATH_ATHIOCTL_H
37

--- 363 unchanged lines hidden (view full) ---

401#define DFS_PARAM_USEFIR128 12
402#define DFS_PARAM_BLOCKRADAR 13
403#define DFS_PARAM_MAXRSSI_EN 14
404
405/* FreeBSD-specific start at 32 */
406#define DFS_PARAM_ENABLE 32
407#define DFS_PARAM_EN_EXTCH 33
408
409/*
410 * Spectral ioctl parameter types
411 */
412#define SPECTRAL_PARAM_FFT_PERIOD 1
413#define SPECTRAL_PARAM_SS_PERIOD 2
414#define SPECTRAL_PARAM_SS_COUNT 3
415#define SPECTRAL_PARAM_SS_SHORT_RPT 4
416#define SPECTRAL_PARAM_ENABLED 5
417#define SPECTRAL_PARAM_ACTIVE 6
418
419/*
420 * Spectral control parameters
421 */
422#define SIOCGATHSPECTRAL _IOWR('i', 151, struct ath_diag)
423
424#define SPECTRAL_CONTROL_ENABLE 2
425#define SPECTRAL_CONTROL_DISABLE 3
426#define SPECTRAL_CONTROL_START 4
427#define SPECTRAL_CONTROL_STOP 5
428#define SPECTRAL_CONTROL_GET_PARAMS 6
429#define SPECTRAL_CONTROL_SET_PARAMS 7
430
409#endif /* _DEV_ATH_ATHIOCTL_H */
431#endif /* _DEV_ATH_ATHIOCTL_H */