projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adm5120: use netdev_ops on kernels >= 2.6.30 (based on a patch by Alexandros C. Coulo...
[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
8697322
..
753cd01
100644
(file)
--- a/
package/madwifi/patches/414-txpower.patch
+++ b/
package/madwifi/patches/414-txpower.patch
@@
-129,7
+129,7
@@
ic->ic_flags &= ~IEEE80211_F_TXPOW_FIXED;
}
done:
ic->ic_flags &= ~IEEE80211_F_TXPOW_FIXED;
}
done:
-@@ -1588,9 +1574,2
2
@@ ieee80211_ioctl_giwtxpow(struct net_devi
+@@ -1588,9 +1574,2
3
@@ ieee80211_ioctl_giwtxpow(struct net_devi
{
struct ieee80211vap *vap = dev->priv;
struct ieee80211com *ic = vap->iv_ic;
{
struct ieee80211vap *vap = dev->priv;
struct ieee80211com *ic = vap->iv_ic;
@@
-142,7
+142,8
@@
+
+ if (ic->ic_bsschan && (ic->ic_bsschan != IEEE80211_CHAN_ANYC)) {
+ txp = min(txp, (u16) ic->ic_bsschan->ic_maxpower);
+
+ if (ic->ic_bsschan && (ic->ic_bsschan != IEEE80211_CHAN_ANYC)) {
+ txp = min(txp, (u16) ic->ic_bsschan->ic_maxpower);
-+ } else if (ic->ic_cur_txpower > 0) {
++ }
++ if (ic->ic_cur_txpower > 0) {
+ txp = min(txp, ic->ic_cur_txpower);
+ }
+ if (ic->ic_flags & IEEE80211_F_TXPOW_FIXED) {
+ txp = min(txp, ic->ic_cur_txpower);
+ }
+ if (ic->ic_flags & IEEE80211_F_TXPOW_FIXED) {
@@
-174,7
+175,7
@@
hdrlen = ieee80211_anyhdrsize(wh);
pktlen = skb->len + IEEE80211_CRC_LEN;
hdrlen = ieee80211_anyhdrsize(wh);
pktlen = skb->len + IEEE80211_CRC_LEN;
-@@ -839
0,7 +8389
,7 @@ ath_tx_start(struct net_device *dev, str
+@@ -839
4,7 +8393
,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
+184,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 */
-@@ -1038
3,59 +10382
,16 @@ ath_get_clamped_maxtxpower(struct ath_so
+@@ -1038
7,59 +10386
,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.030376 seconds
and
4
git commands to generate.