1fd49669cSMichael Neumann /*- 2fd49669cSMichael Neumann * Copyright (c) 2014 Adrian Chadd <adrian@FreeBSD.org> 3fd49669cSMichael Neumann * 4fd49669cSMichael Neumann * Permission to use, copy, modify, and distribute this software for any 5fd49669cSMichael Neumann * purpose with or without fee is hereby granted, provided that the above 6fd49669cSMichael Neumann * copyright notice and this permission notice appear in all copies. 7fd49669cSMichael Neumann * 8fd49669cSMichael Neumann * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9fd49669cSMichael Neumann * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10fd49669cSMichael Neumann * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11fd49669cSMichael Neumann * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12fd49669cSMichael Neumann * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13fd49669cSMichael Neumann * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14fd49669cSMichael Neumann * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15fd49669cSMichael Neumann * 16fd49669cSMichael Neumann * $FreeBSD$ 17fd49669cSMichael Neumann */ 18fd49669cSMichael Neumann #ifndef __IF_IWN_IOCTL_H__ 19fd49669cSMichael Neumann #define __IF_IWN_IOCTL_H__ 20fd49669cSMichael Neumann 21*977fc0dbSMatthew Dillon struct iwn_ioctl_data { 22*977fc0dbSMatthew Dillon void *dst_addr; 23*977fc0dbSMatthew Dillon int dst_len; 24*977fc0dbSMatthew Dillon }; 25*977fc0dbSMatthew Dillon 26fd49669cSMichael Neumann /* XXX how should I pick appropriate ioctl numbers? */ 27*977fc0dbSMatthew Dillon #define SIOCGIWNSTATS _IOWR('f', 145, struct iwn_ioctl_data) 28*977fc0dbSMatthew Dillon #define SIOCZIWNSTATS _IOWR('f', 146, struct iwn_ioctl_data) 29fd49669cSMichael Neumann 30fd49669cSMichael Neumann #endif /* __IF_IWN_IOCTL_H__ */ 31