projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
[openwrt.git]
/
package
/
madwifi
/
patches
/
411-autochannel_multi.patch
diff --git
a/package/madwifi/patches/411-autochannel_multi.patch
b/package/madwifi/patches/411-autochannel_multi.patch
index
1140a1e
..
d05c447
100644
(file)
--- a/
package/madwifi/patches/411-autochannel_multi.patch
+++ b/
package/madwifi/patches/411-autochannel_multi.patch
@@
-183,7
+183,7
@@
ieee80211_stop(vap->iv_dev);
--- a/net80211/ieee80211_input.c
+++ b/net80211/ieee80211_input.c
ieee80211_stop(vap->iv_dev);
--- a/net80211/ieee80211_input.c
+++ b/net80211/ieee80211_input.c
-@@ -277
2,6 +2772
,7 @@ static void
+@@ -277
5,6 +2775
,7 @@ static void
ieee80211_doth_switch_channel(struct ieee80211vap *vap)
{
struct ieee80211com *ic = vap->iv_ic;
ieee80211_doth_switch_channel(struct ieee80211vap *vap)
{
struct ieee80211com *ic = vap->iv_ic;
@@
-191,7
+191,7
@@
IEEE80211_DPRINTF(vap, IEEE80211_MSG_DOTH,
"%s: Channel switch to %3d (%4d MHz) NOW!\n",
IEEE80211_DPRINTF(vap, IEEE80211_MSG_DOTH,
"%s: Channel switch to %3d (%4d MHz) NOW!\n",
-@@ -279
4,6 +2795
,9 @@ ieee80211_doth_switch_channel(struct iee
+@@ -279
7,6 +2798
,9 @@ ieee80211_doth_switch_channel(struct iee
ic->ic_curchan = ic->ic_bsschan = vap->iv_csa_chan;
ic->ic_set_channel(ic);
ic->ic_curchan = ic->ic_bsschan = vap->iv_csa_chan;
ic->ic_set_channel(ic);
@@
-241,7
+241,7
@@
* the auto-select case; this should be redundant if the
--- a/net80211/ieee80211_proto.c
+++ b/net80211/ieee80211_proto.c
* the auto-select case; this should be redundant if the
--- a/net80211/ieee80211_proto.c
+++ b/net80211/ieee80211_proto.c
-@@ -12
25,6 +1225
,7 @@ ieee80211_dturbo_switch(struct ieee80211
+@@ -12
31,6 +1231
,7 @@ ieee80211_dturbo_switch(struct ieee80211
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
#endif
struct ieee80211_channel *chan;
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
#endif
struct ieee80211_channel *chan;
@@
-249,7
+249,7
@@
chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags);
if (chan == NULL) { /* XXX should not happen */
chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags);
if (chan == NULL) { /* XXX should not happen */
-@@ -124
3,6 +1244
,9 @@ ieee80211_dturbo_switch(struct ieee80211
+@@ -124
9,6 +1250
,9 @@ ieee80211_dturbo_switch(struct ieee80211
ic->ic_bsschan = chan;
ic->ic_curchan = chan;
ic->ic_set_channel(ic);
ic->ic_bsschan = chan;
ic->ic_curchan = chan;
ic->ic_set_channel(ic);
@@
-307,7
+307,7
@@
}
}
-@@ -575,6 +583,7 @@ ap_end(struct ieee80211_scan_state *ss,
+@@ -575,6 +583,7 @@ ap_end(struct ieee80211_scan_state *ss,
struct ap_state *as = ss->ss_priv;
struct ieee80211_channel *bestchan = NULL;
struct ieee80211com *ic = NULL;
struct ap_state *as = ss->ss_priv;
struct ieee80211_channel *bestchan = NULL;
struct ieee80211com *ic = NULL;
@@
-315,7
+315,7
@@
int res = 1;
SCAN_AP_LOCK_IRQ(as);
int res = 1;
SCAN_AP_LOCK_IRQ(as);
-@@ -586,8 +595,11 @@ ap_end(struct ieee80211_scan_state *ss,
+@@ -586,8 +595,11 @@ ap_end(struct ieee80211_scan_state *ss,
/* record stats for the channel that was scanned last */
ic->ic_set_channel(ic);
/* record stats for the channel that was scanned last */
ic->ic_set_channel(ic);
@@
-327,7
+327,7
@@
if (ss->ss_last > 0) {
/* no suitable channel, should not happen */
printk(KERN_ERR "%s: %s: no suitable channel! "
if (ss->ss_last > 0) {
/* no suitable channel, should not happen */
printk(KERN_ERR "%s: %s: no suitable channel! "
-@@ -606,6 +618,7 @@ ap_end(struct ieee80211_scan_state *ss,
+@@ -606,6 +618,7 @@ ap_end(struct ieee80211_scan_state *ss,
bestchan->ic_freq, bestchan->ic_flags &
~IEEE80211_CHAN_TURBO)) == NULL) {
/* should never happen ?? */
bestchan->ic_freq, bestchan->ic_flags &
~IEEE80211_CHAN_TURBO)) == NULL) {
/* should never happen ?? */
@@
-335,7
+335,7
@@
SCAN_AP_UNLOCK_IRQ_EARLY(as);
return 0;
}
SCAN_AP_UNLOCK_IRQ_EARLY(as);
return 0;
}
-@@ -618,6 +631,9 @@ ap_end(struct ieee80211_scan_state *ss,
+@@ -618,6 +631,9 @@ ap_end(struct ieee80211_scan_state *ss,
as->as_action = action;
as->as_selbss = se;
as->as_action = action;
as->as_selbss = se;
This page took
0.022798 seconds
and
4
git commands to generate.