summaryrefslogtreecommitdiff
path: root/openwrt/package/wpa_supplicant/patches
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-23 12:22:13 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-23 12:22:13 +0000
commit17104f2b8f06714dd958f1277b7454f23ac23f82 (patch)
treef555b4920f7a0c624b260312d44cf49dbe6d03b8 /openwrt/package/wpa_supplicant/patches
parentecfaaecd2db736eba28d08ae406e53fd228161cc (diff)
downloadmtk-20170518-17104f2b8f06714dd958f1277b7454f23ac23f82.zip
mtk-20170518-17104f2b8f06714dd958f1277b7454f23ac23f82.tar.gz
mtk-20170518-17104f2b8f06714dd958f1277b7454f23ac23f82.tar.bz2
update wpa_supplicant to latest development release (v0.4.5), add drivers for hostap, madwifi and generic wext.
SVN-Revision: 2275
Diffstat (limited to 'openwrt/package/wpa_supplicant/patches')
-rw-r--r--openwrt/package/wpa_supplicant/patches/101-ldflags.patch (renamed from openwrt/package/wpa_supplicant/patches/ldflags.patch)0
-rw-r--r--openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch (renamed from openwrt/package/wpa_supplicant/patches/opt_cflags.patch)0
-rw-r--r--openwrt/package/wpa_supplicant/patches/103-madwifi.patch50
3 files changed, 50 insertions, 0 deletions
diff --git a/openwrt/package/wpa_supplicant/patches/ldflags.patch b/openwrt/package/wpa_supplicant/patches/101-ldflags.patch
index b8b6f66..b8b6f66 100644
--- a/openwrt/package/wpa_supplicant/patches/ldflags.patch
+++ b/openwrt/package/wpa_supplicant/patches/101-ldflags.patch
diff --git a/openwrt/package/wpa_supplicant/patches/opt_cflags.patch b/openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch
index ec38b73..ec38b73 100644
--- a/openwrt/package/wpa_supplicant/patches/opt_cflags.patch
+++ b/openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch
diff --git a/openwrt/package/wpa_supplicant/patches/103-madwifi.patch b/openwrt/package/wpa_supplicant/patches/103-madwifi.patch
new file mode 100644
index 0000000..3a3119f
--- /dev/null
+++ b/openwrt/package/wpa_supplicant/patches/103-madwifi.patch
@@ -0,0 +1,50 @@
+diff -ruN wpa_supplicant-0.4.5-old/driver_madwifi.c wpa_supplicant-0.4.5-new/driver_madwifi.c
+--- wpa_supplicant-0.4.5-old/driver_madwifi.c 2005-09-17 07:36:33.000000000 +0200
++++ wpa_supplicant-0.4.5-new/driver_madwifi.c 2005-10-23 14:08:45.000000000 +0200
+@@ -27,11 +27,19 @@
+ #include "wpa_supplicant.h"
+ #include "wpa.h"
+
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <linux/types.h>
++#include <linux/socket.h>
++#include <linux/if.h>
++#include <stdint.h>
++#include <linux/if_packet.h>
++#include <linux/netlink.h>
++#include <linux/rtnetlink.h>
++
+ #include <include/compat.h>
+ #include <net80211/ieee80211.h>
+ #ifdef WME_NUM_AC
+-/* Assume this is built against BSD branch of madwifi driver. */
+-#define MADWIFI_BSD
+ #include <net80211/_ieee80211.h>
+ #endif /* WME_NUM_AC */
+ #include <net80211/ieee80211_crypto.h>
+@@ -78,19 +86,19 @@
+ "ioctl[IEEE80211_IOCTL_SETKEY]",
+ "ioctl[IEEE80211_IOCTL_GETKEY]",
+ "ioctl[IEEE80211_IOCTL_DELKEY]",
+- NULL,
++ "ioctl[IEEE80211_IOCTL_SETWMMPARAMS]",
+ "ioctl[IEEE80211_IOCTL_SETMLME]",
+- NULL,
++ "ioctl[IEEE80211_IOCTL_GETCHANINFO]",
+ "ioctl[IEEE80211_IOCTL_SETOPTIE]",
+ "ioctl[IEEE80211_IOCTL_GETOPTIE]",
+ "ioctl[IEEE80211_IOCTL_ADDMAC]",
+ NULL,
+ "ioctl[IEEE80211_IOCTL_DELMAC]",
+- NULL,
+- "ioctl[IEEE80211_IOCTL_CHANLIST]",
++ "ioctl[IEEE80211_IOCTL_GETCHANLIST]",
++ "ioctl[IEEE80211_IOCTL_SETCHANLIST]",
+ };
+ if (IEEE80211_IOCTL_SETPARAM <= op &&
+- op <= IEEE80211_IOCTL_CHANLIST)
++ op <= IEEE80211_IOCTL_SETCHANLIST)
+ perror(opnames[op - SIOCIWFIRSTPRIV]);
+ else
+ perror("ioctl[unknown???]");