diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-11 01:33:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-11 01:33:09 +0000 |
commit | b8f710a69a8417793819b011c8202124c1c432d6 (patch) | |
tree | 46d33e0d5efd332b85fff0a07b46b23b11e52e94 /package/mac80211/patches/411-mac80211-remove-wiphy-to-hw.patch | |
parent | 71c8fa813537012ec912415f3a1c52b27428ae86 (diff) | |
download | upstream-b8f710a69a8417793819b011c8202124c1c432d6.tar.gz upstream-b8f710a69a8417793819b011c8202124c1c432d6.tar.bz2 upstream-b8f710a69a8417793819b011c8202124c1c432d6.zip |
mac80211: add rate control rewrite and enhance the performance of the minstrel algorithm for non-mrr configurations
SVN-Revision: 12948
Diffstat (limited to 'package/mac80211/patches/411-mac80211-remove-wiphy-to-hw.patch')
-rw-r--r-- | package/mac80211/patches/411-mac80211-remove-wiphy-to-hw.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/package/mac80211/patches/411-mac80211-remove-wiphy-to-hw.patch b/package/mac80211/patches/411-mac80211-remove-wiphy-to-hw.patch new file mode 100644 index 0000000000..c8a1a225b6 --- /dev/null +++ b/package/mac80211/patches/411-mac80211-remove-wiphy-to-hw.patch @@ -0,0 +1,38 @@ +Subject: mac80211: remove wiphy_to_hw + +This isn't used by anyone, if we ever need it we can add +it back, until then it's useless. + +Signed-off-by: Johannes Berg <johannes@sipsolutions.net> +--- + include/net/mac80211.h | 2 -- + net/mac80211/cfg.c | 7 ------- + 2 files changed, 9 deletions(-) + +--- everything.orig/include/net/mac80211.h 2008-10-07 20:05:49.000000000 +0200 ++++ everything/include/net/mac80211.h 2008-10-07 20:06:42.000000000 +0200 +@@ -867,8 +867,6 @@ struct ieee80211_hw { + u8 max_altrate_tries; + }; + +-struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy); +- + /** + * SET_IEEE80211_DEV - set device for 802.11 hardware + * +--- everything.orig/net/mac80211/cfg.c 2008-10-07 20:06:37.000000000 +0200 ++++ everything/net/mac80211/cfg.c 2008-10-07 20:06:42.000000000 +0200 +@@ -17,13 +17,6 @@ + #include "rate.h" + #include "mesh.h" + +-struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy) +-{ +- struct ieee80211_local *local = wiphy_priv(wiphy); +- return &local->hw; +-} +-EXPORT_SYMBOL(wiphy_to_hw); +- + static bool nl80211_type_check(enum nl80211_iftype type) + { + switch (type) { |