diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-31 02:25:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-31 02:25:32 +0000 |
commit | 26099a3c2345d6fc4abbcbc08f58db15ea04577d (patch) | |
tree | a5b51ee707244e5675ccbab468024e45801eb33e /package/madwifi/patches/414-txpower.patch | |
parent | d0b60d14ea3ced4a60015cc4d6443369c749d342 (diff) | |
download | upstream-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.gz upstream-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.bz2 upstream-26099a3c2345d6fc4abbcbc08f58db15ea04577d.zip |
madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom
SVN-Revision: 16224
Diffstat (limited to 'package/madwifi/patches/414-txpower.patch')
-rw-r--r-- | package/madwifi/patches/414-txpower.patch | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |