diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2013-01-02 03:59:02 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2013-01-02 03:59:02 +0000 |
| commit | 9af351f9e8b9ff056899a2aa0c7e9a140d44d243 (patch) | |
| tree | c5be4664bb04f1caf5010611e81688476782fdab /sys/dev/ath/if_athioctl.h | |
| parent | bcd2a42f0bfb7f7d8bac86ae907d98dc00bfe255 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath/if_athioctl.h')
| -rw-r--r-- | sys/dev/ath/if_athioctl.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athioctl.h b/sys/dev/ath/if_athioctl.h index 911bb97104ff6..d6adf94064bac 100644 --- a/sys/dev/ath/if_athioctl.h +++ b/sys/dev/ath/if_athioctl.h @@ -406,4 +406,26 @@ struct ath_tx_radiotap_header { #define DFS_PARAM_ENABLE 32 #define DFS_PARAM_EN_EXTCH 33 +/* + * Spectral ioctl parameter types + */ +#define SPECTRAL_PARAM_FFT_PERIOD 1 +#define SPECTRAL_PARAM_SS_PERIOD 2 +#define SPECTRAL_PARAM_SS_COUNT 3 +#define SPECTRAL_PARAM_SS_SHORT_RPT 4 +#define SPECTRAL_PARAM_ENABLED 5 +#define SPECTRAL_PARAM_ACTIVE 6 + +/* + * Spectral control parameters + */ +#define SIOCGATHSPECTRAL _IOWR('i', 151, struct ath_diag) + +#define SPECTRAL_CONTROL_ENABLE 2 +#define SPECTRAL_CONTROL_DISABLE 3 +#define SPECTRAL_CONTROL_START 4 +#define SPECTRAL_CONTROL_STOP 5 +#define SPECTRAL_CONTROL_GET_PARAMS 6 +#define SPECTRAL_CONTROL_SET_PARAMS 7 + #endif /* _DEV_ATH_ATHIOCTL_H */ |
