aboutsummaryrefslogtreecommitdiffstats
path: root/package/libertas/src/ioctl.h
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-10-07 16:03:31 +0000
committerNicolas Thill <nico@openwrt.org>2009-10-07 16:03:31 +0000
commitb795affe0662c01f29b91bfacc17d8ab4978c999 (patch)
treeccdfb0cf3245a9114c1252ae19c71065c70d21a2 /package/libertas/src/ioctl.h
parent7a7a5627cd47245ad50d2868bb4df72f28405001 (diff)
downloadupstream-b795affe0662c01f29b91bfacc17d8ab4978c999.tar.gz
upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.tar.bz2
upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.zip
libertas: use driver from compat-wireless instead of our own (deprecated) one
SVN-Revision: 17982
Diffstat (limited to 'package/libertas/src/ioctl.h')
-rw-r--r--package/libertas/src/ioctl.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/package/libertas/src/ioctl.h b/package/libertas/src/ioctl.h
deleted file mode 100644
index e4f835cf4b..0000000000
--- a/package/libertas/src/ioctl.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#define COSTS_LIST_SIZE 4
-
-/* iwpriv places the subcmd number in the first uint32_t;
- data buffer follows that */
-#define SUBCMD_OFFSET sizeof(uint32_t)
-#define SUBCMD_DATA(x) *((int *)(x->u.name + SUBCMD_OFFSET))
-
-/** Private ioctls and ioctls subcommands */
-#define LBS_SETNONE_GETNONE (SIOCIWFIRSTPRIV + 8)
-#define LBS_SUBCMD_BT_RESET 13
-#define LBS_SUBCMD_FWT_RESET 14
-
-#define LBS_SETNONE_GETONEINT (SIOCIWFIRSTPRIV + 15)
-#define LBS_SUBCMD_GET_REGION 1
-#define LBS_SUBCMD_FWT_CLEANUP 15
-#define LBS_SUBCMD_FWT_TIME 16
-#define LBS_SUBCMD_MESH_GET_TTL 17
-#define LBS_SUBCMD_BT_GET_INVERT 18
-#define LBS_SUBCMD_MESH_GET_BCAST_RATE 19
-#define LBS_SUBCMD_MESH_GET_RREQ_DELAY 20
-#define LBS_SUBCMD_MESH_GET_ROUTE_EXP 21
-
-#define LBS_SETONEINT_GETNONE (SIOCIWFIRSTPRIV + 24)
-#define LBS_SUBCMD_SET_REGION 8
-#define LBS_SUBCMD_MESH_SET_TTL 18
-#define LBS_SUBCMD_BT_SET_INVERT 19
-#define LBS_SUBCMD_MESH_SET_BCAST_RATE 20
-#define LBS_SUBCMD_MESH_SET_RREQ_DELAY 21
-#define LBS_SUBCMD_MESH_SET_ROUTE_EXP 22
-
-#define LBS_SET128CHAR_GET128CHAR (SIOCIWFIRSTPRIV + 25)
-#define LBS_SUBCMD_BT_ADD 18
-#define LBS_SUBCMD_BT_DEL 19
-#define LBS_SUBCMD_BT_LIST 20
-#define LBS_SUBCMD_FWT_ADD 21
-#define LBS_SUBCMD_FWT_DEL 22
-#define LBS_SUBCMD_FWT_LOOKUP 23
-#define LBS_SUBCMD_FWT_LIST_NEIGHBOR 24
-#define LBS_SUBCMD_FWT_LIST 25
-#define LBS_SUBCMD_FWT_LIST_ROUTE 26
-#define LBS_SUBCMD_MESH_SET_LINK_COSTS 27
-#define LBS_SUBCMD_MESH_GET_LINK_COSTS 28
-
-#define LBS_SET_GET_SIXTEEN_INT (SIOCIWFIRSTPRIV + 29)
-#define LBS_LED_GPIO_CTRL 5
-#define LBS_BCN_CTRL 6
-#define LBS_LED_BEHAVIOR_CTRL 7
-
-int lbs_do_ioctl(struct net_device *dev, struct ifreq *req, int i);