From fa902124b5875ef27fe31747e22774bbf90eeaa0 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 31 May 2009 02:25:32 +0000 Subject: madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16224 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/414-txpower.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/madwifi/patches/414-txpower.patch') diff --git a/package/madwifi/patches/414-txpower.patch b/package/madwifi/patches/414-txpower.patch index 68e7942d48..662afe7d93 100644 --- a/package/madwifi/patches/414-txpower.patch +++ b/package/madwifi/patches/414-txpower.patch @@ -165,7 +165,7 @@ static void ath_poll_disable(struct net_device *dev); static void ath_poll_enable(struct net_device *dev); -@@ -3167,7 +3166,7 @@ ath_tx_startraw(struct net_device *dev, +@@ -3168,7 +3167,7 @@ ath_tx_startraw(struct net_device *dev, try0 = ph->try0; rt = sc->sc_currates; txrate = dot11_to_ratecode(sc, rt, ph->rate0); @@ -174,7 +174,7 @@ hdrlen = ieee80211_anyhdrsize(wh); pktlen = skb->len + IEEE80211_CRC_LEN; -@@ -8389,7 +8388,7 @@ ath_tx_start(struct net_device *dev, str +@@ -8390,7 +8389,7 @@ ath_tx_start(struct net_device *dev, str pktlen, /* packet length */ hdrlen, /* header length */ atype, /* Atheros packet type */ @@ -183,7 +183,7 @@ txrate, try0, /* series 0 rate/tries */ keyix, /* key cache index */ antenna, /* antenna mode */ -@@ -10380,59 +10379,16 @@ ath_get_clamped_maxtxpower(struct ath_so +@@ -10383,59 +10382,16 @@ ath_get_clamped_maxtxpower(struct ath_so /* XXX: this function needs some locking to avoid being called * twice/interrupted */ -- cgit v1.2.3