New Wireless Extension API - part2
Subsystems (2)
PATCH 1/1 New Wireless Extension API - part2
Hi Marcelo,
Here is the second part of the new driver API for Wireless
Extensions. Few facts :
o complement first part that went in 2.4.19-pre5
o fix two simple bugs in the first part
o add wireless scanning and wireless events
o ok'ed by Alan and Jeff
o in 2.5.X since 2.5.16 (few months)
o needed by the new airo driver in 2.4.20-pre1
o needed by few other wireless drivers outside kernel tree
Tested intensively on 2.4.19, rediff'ed for 2.4.20-pre1 and
tested quickly with the new airo driver in 2.4.20-pre1.
Patch below... Have fun... Jean
--------------------------------------------------------------------------
include/linux/rtnetlink.h renamed from include/linux-w13/rtnetlink.h +4 -2
@@ -440,12 +440,14 @@ enum#define IFLA_COST IFLA_COST IFLA_PRIORITY,#define IFLA_PRIORITY IFLA_PRIORITY - IFLA_MASTER + IFLA_MASTER,#define IFLA_MASTER IFLA_MASTER + IFLA_WIRELESS, /* Wireless Extension event - see wireless.h */ +#define IFLA_WIRELESS IFLA_WIRELESS }; -#define IFLA_MAX IFLA_MASTER +#define IFLA_MAX IFLA_WIRELESS#define IFLA_RTA (r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))#define IFLA_PAYLOAD (n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
include/linux/wireless.h renamed from include/linux-w13/wireless.h +74 -4
142 lines not on this page · raw message
include/net/iw_handler.h renamed from include/net-w13/iw_handler.h +102 -26
170 lines not on this page · raw message
net/netsyms.c Tue Aug 6 10:31:14 2002 renamed from net/netsyms-w13.c Tue Aug 6 10:30:54 2002 +6 -0
@@ -591,4 +591,10 @@ EXPORT_SYMBOL(register_gifconf); EXPORT_SYMBOL(net_call_rx_atomic); EXPORT_SYMBOL(softnet_data); +#if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO) +/* Don't include the whole header mess for a single function */ +extern void wireless_send_event(struct net_device *dev, unsigned int cmd, union iwreq_data *wrqu, char *extra); +EXPORT_SYMBOL(wireless_send_event); +#endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */ + #endif /* CONFIG_NET */
net/core/wireless.c renamed from net/core/wireless-w13.c +281 -28
447 lines not on this page · raw message
Quoted 3 lines
Here is the second part of the new driver API for Wireless
Extensions. Few facts :
o needed by the new airo driver in 2.4.20-pre1
Does this mean the Aironet driver in 2.4.20-pre1 doesn't work currently?
T.
Quoted 7 lines · Tomas Szepe
Quoted 3 lines
Here is the second part of the new driver API for Wireless
Extensions. Few facts :
o needed by the new airo driver in 2.4.20-pre1Does this mean the Aironet driver in 2.4.20-pre1 doesn't work currently?
T.
No, I would have put "required". And Javier would never had
done something that stupid.
The Aironet driver in 2.4.20-pre1 has some new features that
depend on WE-14 (such as wireless scanning and wireless events), but they are not *critical* features. On the other hand, I would invite you to try those new features...
Have fun... Jean