Skip to contentSkip to conversation

Core of the new API

PATCH Jean Tourrilhes 1 participant 1 message Dec 14, 2001

Subsystems (4)
lore
Share & tools
lore
#0 lore raw
	Hi,

	This is the core of the new API. This patch is pretty legible ;-)

	Jean
drivers/net/wireless/todo.txt renamed from drivers/net/wireless-w12/todo.txt +3 -3
diff -u -p linux/drivers/net/wireless-w12/todo.txt linux/drivers/net/wireless/todo.txt
@@ -9,7 +9,7 @@
 	 o wavelan_cs.c		-> old Wavelan Pcmcia driver
 	 o netwave_cs.c		-> Netwave Pcmcia driver
 	Drivers likely to go :
-	 o ray_cs.c		-> Raytheon/Aviator driver (maintainer MIA)
+	 o ray_cs.c		-> Raytheon/Aviator driver (need to ask Thomas)
 	Drivers I have absolutely no control over :
 	 o arlan.c		-> old Aironet Arlan 655 (need to ask Elmer)
 	 o aironet4500_xxx.c	-> Elmer's Aironet driver (need to ask Elmer)
@@ -22,8 +22,8 @@
 
 3) Misc
 	o Mark wavelan, wavelan_cs, netwave_cs drivers as obsolete
-	o Maybe arlan.c, ray_cs.c and strip.c also deserve to be obsolete
+	o Maybe arlan.c and strip.c also deserve to be obsolete
 	o Use new Probe/module stuff in wavelan.c
-	o New Wireless Extension API (pending)
+	o Convert more drivers to the new Wireless Extension driver API
 
 	Jean II
include/linux/netdevice.h renamed from include/linux-w12/netdevice.h +4 -0
diff -u -p -r --new-file linux/include/linux-w12/netdevice.h linux/include/linux/netdevice.h
@@ -278,6 +278,10 @@ struct net_device
 	struct net_device_stats* (*get_stats)(struct net_device *dev);
 	struct iw_statistics*	(*get_wireless_stats)(struct net_device *dev);
 
+	/* List of functions to handle Wireless Extensions (instead of ioctl).
+	 * See <net/iw_handler.h> for details. Jean II */
+	struct iw_handler_def *	wireless_handlers;
+
 	/*
 	 * This marks the end of the "visible" part of the structure. All
 	 * fields hereafter are internal to the system, and may change at
include/linux/wireless.h renamed from include/linux-w12/wireless.h +73 -44

180 lines not on this page · raw message

include/net/iw_handler.h renamed from include/net-w12/iw_handler.h +241 -0

241 lines not on this page · raw message

net/core/Makefile renamed from net/core-w12/Makefile +3 -0
diff -u -p -r --new-file linux/net/core-w12/Makefile linux/net/core/Makefile
@@ -26,5 +26,8 @@ obj-$(CONFIG_NET) += dev.o dev_mcast.o d
 obj-$(CONFIG_NETFILTER) += netfilter.o
 obj-$(CONFIG_NET_DIVERT) += dv.o
 obj-$(CONFIG_NET_PROFILE) += profile.o
+obj-$(CONFIG_NET_RADIO) += wireless.o
+# Ugly. I wish all wireless drivers were moved in drivers/net/wireless
+obj-$(CONFIG_NET_PCMCIA_RADIO) += wireless.o
 
 include $(TOPDIR)/Rules.make
net/core/dev.c renamed from net/core-w12/dev.c +4 -133

173 lines not on this page · raw message

net/core/wireless.c renamed from net/core-w12/wireless.c +733 -0

733 lines not on this page · raw message