projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] switch to 2.6.30
[openwrt.git]
/
package
/
madwifi
/
patches
/
414-txpower.patch
diff --git
a/package/madwifi/patches/414-txpower.patch
b/package/madwifi/patches/414-txpower.patch
index
5300de9
..
8697322
100644
(file)
--- a/
package/madwifi/patches/414-txpower.patch
+++ b/
package/madwifi/patches/414-txpower.patch
@@
-12,7
+12,7
@@
KASSERT(c->ic_ieee < IEEE80211_CHAN_MAX,
("channel with bogus ieee number %u", c->ic_ieee));
setbit(ic->ic_chan_avail, c->ic_ieee);
KASSERT(c->ic_ieee < IEEE80211_CHAN_MAX,
("channel with bogus ieee number %u", c->ic_ieee));
setbit(ic->ic_chan_avail, c->ic_ieee);
-+ ic->ic_max_txpower = max(ic->ic_max_txpower, (u16)
c->ic_maxpower * 2
);
++ ic->ic_max_txpower = max(ic->ic_max_txpower, (u16)
(c->ic_maxpower * 2)
);
if (c->ic_scanflags & IEEE80211_NOSCAN_DEFAULT)
c->ic_scanflags |= IEEE80211_NOSCAN_SET;
if (c->ic_scanflags & IEEE80211_NOSCAN_DEFAULT)
c->ic_scanflags |= IEEE80211_NOSCAN_SET;
@@
-165,7
+165,7
@@
static void ath_poll_disable(struct net_device *dev);
static void ath_poll_enable(struct net_device *dev);
static void ath_poll_disable(struct net_device *dev);
static void ath_poll_enable(struct net_device *dev);
-@@ -31
59,7 +3158
,7 @@ ath_tx_startraw(struct net_device *dev,
+@@ -31
68,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);
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;
hdrlen = ieee80211_anyhdrsize(wh);
pktlen = skb->len + IEEE80211_CRC_LEN;
-@@ -83
81,7 +8380
,7 @@ ath_tx_start(struct net_device *dev, str
+@@ -83
90,7 +8389
,7 @@ ath_tx_start(struct net_device *dev, str
pktlen, /* packet length */
hdrlen, /* header length */
atype, /* Atheros packet type */
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 */
txrate, try0, /* series 0 rate/tries */
keyix, /* key cache index */
antenna, /* antenna mode */
-@@ -103
64,59 +10363
,16 @@ ath_get_clamped_maxtxpower(struct ath_so
+@@ -103
83,59 +10382
,16 @@ ath_get_clamped_maxtxpower(struct ath_so
/* XXX: this function needs some locking to avoid being called
* twice/interrupted */
/* XXX: this function needs some locking to avoid being called
* twice/interrupted */
This page took
0.02268 seconds
and
4
git commands to generate.