Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
c68dfd4d
Commit
c68dfd4d
authored
17 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
napi polling fix
SVN-Revision: 10507
parent
caed2f7f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/madwifi/patches/329-new_napi.patch
+21
-13
21 additions, 13 deletions
package/madwifi/patches/329-new_napi.patch
with
21 additions
and
13 deletions
package/madwifi/patches/329-new_napi.patch
+
21
−
13
View file @
c68dfd4d
Index: madwifi-trunk-r3314/ath/if_ath.c
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-0
1-31 04:25:11.617671781
+0100
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-0
1-31 05:06:04.60625414
8 +0100
--- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-0
2-11 19:10:30.010051203
+0100
+++ madwifi-trunk-r3314/ath/if_ath.c 2008-0
2-11 19:18:00.61572975
8 +0100
@@ -184,7 +184,11 @@
struct sk_buff *, int, int, u_int64_t);
static void ath_setdefantenna(struct ath_softc *, u_int);
...
...
@@ -60,7 +60,15 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
}
}
if (status & HAL_INT_TX) {
@@ -2557,6 +2577,9 @@
@@ -2517,6 +2537,7 @@
if (sc->sc_tx99 != NULL)
sc->sc_tx99->start(sc->sc_tx99);
#endif
+ ath_poll_enable(dev);
done:
ATH_UNLOCK(sc);
@@ -2557,6 +2578,9 @@
if (sc->sc_tx99 != NULL)
sc->sc_tx99->stop(sc->sc_tx99);
#endif
...
...
@@ -70,7 +78,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
netif_stop_queue(dev); /* XXX re-enabled by ath_newstate */
dev->flags &= ~IFF_RUNNING; /* NB: avoid recursion */
ieee80211_stop_running(ic); /* stop all VAPs */
@@ -4015,6 +403
8
,39 @@
@@ -4015,6 +403
9
,39 @@
return ath_keyset(sc, k, mac, vap->iv_bss);
}
...
...
@@ -110,7 +118,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
/*
* Block/unblock tx+rx processing while a key change is done.
* We assume the caller serializes key management operations
@@ -4032,13 +408
8
,8 @@
@@ -4032,13 +408
9
,8 @@
* When called from the rx tasklet we cannot use
* tasklet_disable because it will block waiting
* for us to complete execution.
...
...
@@ -125,7 +133,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
netif_stop_queue(dev);
}
@@ -4050,8 +410
1
,7 @@
@@ -4050,8 +410
2
,7 @@
DPRINTF(sc, ATH_DEBUG_KEYCACHE, "End\n");
netif_wake_queue(dev);
...
...
@@ -135,7 +143,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
}
/*
@@ -6359,24 +640
9
,34 @@
@@ -6359,24 +64
1
0,34 @@
}
static int
...
...
@@ -172,7 +180,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
u_int mic_fail = 0;
DPRINTF(sc, ATH_DEBUG_RX_PROC, "invoked\n");
@@ -6405,7 +646
5
,9 @@
@@ -6405,7 +646
6
,9 @@
break;
}
...
...
@@ -182,7 +190,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
if (rx_limit-- < 0) {
early_stop = 1;
break;
@@ -6675,8 +673
7
,6 @@
@@ -6675,8 +673
8
,6 @@
goto process_rx_again;
}
#endif
...
...
@@ -191,7 +199,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
#ifndef ATH_PRECISE_TSF
sc->sc_imask |= HAL_INT_RX;
ath_hal_intrset(ah, sc->sc_imask);
@@ -6684,11 +674
4
,17 @@
@@ -6684,11 +674
5
,17 @@
#endif
}
...
...
@@ -209,7 +217,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
return early_stop;
#undef PA2DESC
}
@@ -103
95
,9 +104
61
,9 @@
@@ -103
78
,9 +104
45
,9 @@
dev->mtu = mtu;
if ((dev->flags & IFF_RUNNING) && !sc->sc_invalid) {
/* NB: the rx buffers may need to be reallocated */
...
...
@@ -223,8 +231,8 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
Index: madwifi-trunk-r3314/ath/if_athvar.h
===================================================================
--- madwifi-trunk-r3314.orig/ath/if_athvar.h 2008-0
1-31 04:25:14.001807644
+0100
+++ madwifi-trunk-r3314/ath/if_athvar.h 2008-0
1-31 04:32:31.858759693
+0100
--- madwifi-trunk-r3314.orig/ath/if_athvar.h 2008-0
2-11 19:10:29.758036841
+0100
+++ madwifi-trunk-r3314/ath/if_athvar.h 2008-0
2-11 19:17:35.042272406
+0100
@@ -620,6 +620,9 @@
struct ath_softc {
struct ieee80211com sc_ic; /* NB: must be first */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment