projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iw: fix setting txpower (#10254)
[openwrt.git]
/
package
/
mac80211
/
patches
/
513-ath9k_channelbw_debugfs.patch
diff --git
a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
index
fedd17f
..
ebf5820
100644
(file)
--- a/
package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
+++ b/
package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
@@
-10,7
+10,7
@@
struct survey_info *cur_survey;
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
struct survey_info *cur_survey;
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1
378,6 +137
8,9 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1
718,6 +171
8,9 @@ int ath9k_init_debug(struct ath_hw *ah)
debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
&fops_eeprom);
debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
&fops_eeprom);
@@
-18,11
+18,11
@@
+ &sc->chan_bw);
+
sc->debug.regidx = 0;
+ &sc->chan_bw);
+
sc->debug.regidx = 0;
-
return 0
;
- }
+
memset(&sc->debug.bb_mac_samp, 0, sizeof(sc->debug.bb_mac_samp))
;
+ sc->debug.sampidx = 0;
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -16
54,9 +1654
,10 @@ static int ath9k_config(struct ieee80211
+@@ -16
49,9 +1649
,10 @@ static int ath9k_config(struct ieee80211
if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
struct ieee80211_channel *curchan = hw->conf.channel;
if (changed & IEEE80211_CONF_CHANGE_CHANNEL) {
struct ieee80211_channel *curchan = hw->conf.channel;
@@
-34,7
+34,7
@@
unsigned long flags;
if (ah->curchan)
unsigned long flags;
if (ah->curchan)
-@@ -170
9,7 +1710
,23 @@ static int ath9k_config(struct ieee80211
+@@ -170
4,7 +1705
,23 @@ static int ath9k_config(struct ieee80211
memset(&sc->survey[pos], 0, sizeof(struct survey_info));
}
memset(&sc->survey[pos], 0, sizeof(struct survey_info));
}
@@
-61,9
+61,9
@@
return -EINVAL;
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
return -EINVAL;
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -15
04,6 +1504
,10 @@ int ath9k_hw_reset(struct ath_hw *ah, st
- }
-
ah->noise = ath9k_hw_getchan_noise(ah, chan)
;
+@@ -15
48,6 +1548
,10 @@ int ath9k_hw_reset(struct ath_hw *ah, st
+ caldata->rtt_hist.num_readings)
+
allow_fbs = true
;
+ if (!ah->curchan || ((ah->curchan->channelFlags ^ chan->channelFlags) &
+ (CHANNEL_HALF | CHANNEL_QUARTER)))
+ if (!ah->curchan || ((ah->curchan->channelFlags ^ chan->channelFlags) &
+ (CHANNEL_HALF | CHANNEL_QUARTER)))
This page took
0.038006 seconds
and
4
git commands to generate.