1 diff -ruN wpa_supplicant-0.4.5-old/driver_madwifi.c wpa_supplicant-0.4.5-new/driver_madwifi.c
2 --- wpa_supplicant-0.4.5-old/driver_madwifi.c 2005-09-17 07:36:33.000000000 +0200
3 +++ wpa_supplicant-0.4.5-new/driver_madwifi.c 2005-10-23 14:08:45.000000000 +0200
5 #include "wpa_supplicant.h"
8 +#include <sys/types.h>
9 +#include <sys/socket.h>
10 +#include <linux/types.h>
11 +#include <linux/socket.h>
12 +#include <linux/if.h>
14 +#include <linux/if_packet.h>
15 +#include <linux/netlink.h>
16 +#include <linux/rtnetlink.h>
18 #include <include/compat.h>
19 #include <net80211/ieee80211.h>
21 -/* Assume this is built against BSD branch of madwifi driver. */
23 #include <net80211/_ieee80211.h>
24 #endif /* WME_NUM_AC */
25 #include <net80211/ieee80211_crypto.h>
27 "ioctl[IEEE80211_IOCTL_SETKEY]",
28 "ioctl[IEEE80211_IOCTL_GETKEY]",
29 "ioctl[IEEE80211_IOCTL_DELKEY]",
31 + "ioctl[IEEE80211_IOCTL_SETWMMPARAMS]",
32 "ioctl[IEEE80211_IOCTL_SETMLME]",
34 + "ioctl[IEEE80211_IOCTL_GETCHANINFO]",
35 "ioctl[IEEE80211_IOCTL_SETOPTIE]",
36 "ioctl[IEEE80211_IOCTL_GETOPTIE]",
37 "ioctl[IEEE80211_IOCTL_ADDMAC]",
39 "ioctl[IEEE80211_IOCTL_DELMAC]",
41 - "ioctl[IEEE80211_IOCTL_CHANLIST]",
42 + "ioctl[IEEE80211_IOCTL_GETCHANLIST]",
43 + "ioctl[IEEE80211_IOCTL_SETCHANLIST]",
45 if (IEEE80211_IOCTL_SETPARAM <= op &&
46 - op <= IEEE80211_IOCTL_CHANLIST)
47 + op <= IEEE80211_IOCTL_SETCHANLIST)
48 perror(opnames[op - SIOCIWFIRSTPRIV]);
50 perror("ioctl[unknown???]");