From 9ce0730f9d3707d8696607d3354104e10f6a6c8a Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 13 May 2005 19:01:32 +0000 Subject: replace device in wlcompat(non-debug), add wlcompat.h and refuse to load wlcompat.o if a wireless extension already exists git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@882 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openwrt/include/wlcompat.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/openwrt/include/wlcompat.h (limited to 'package/openwrt/include') diff --git a/package/openwrt/include/wlcompat.h b/package/openwrt/include/wlcompat.h new file mode 100644 index 000000000..e7ead4520 --- /dev/null +++ b/package/openwrt/include/wlcompat.h @@ -0,0 +1,32 @@ +/* + * wlcompat.h + * + * Copyright (C) 2005 Felix Fietkau + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ +#include + +#ifndef WLCOMPAT_H +#define WLCOMPAT_H + +#define WLCOMPAT_SET_MONITOR SIOCIWFIRSTPRIV + 0 +#define WLCOMPAT_GET_MONITOR SIOCIWFIRSTPRIV + 1 +#define WLCOMPAT_SET_TXPWR_LIMIT SIOCIWFIRSTPRIV + 2 +#define WLCOMPAT_GET_TXPWR_LIMIT SIOCIWFIRSTPRIV + 3 + +#endif -- cgit v1.2.3