projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the imagebuilder generation (does not mean it works with the recent changes)
[openwrt.git]
/
package
/
bcm43xx-mac80211
/
src
/
bcm43xx
/
bcm43xx_dma.h
diff --git
a/package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_dma.h
b/package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_dma.h
index
94fac2a
..
3d109b1
100644
(file)
--- a/
package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_dma.h
+++ b/
package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_dma.h
@@
-252,10
+252,14
@@
struct bcm43xx_dmaring {
u8 dma64;
/* Boolean. Is this ring stopped at ieee80211 level? */
u8 stopped;
u8 dma64;
/* Boolean. Is this ring stopped at ieee80211 level? */
u8 stopped;
+ /* Lock, only used for TX. */
+ spinlock_t lock;
struct bcm43xx_wldev *dev;
#ifdef CONFIG_BCM43XX_MAC80211_DEBUG
/* Maximum number of used slots. */
int max_used_slots;
struct bcm43xx_wldev *dev;
#ifdef CONFIG_BCM43XX_MAC80211_DEBUG
/* Maximum number of used slots. */
int max_used_slots;
+ /* Last time we injected a ring overflow. */
+ unsigned long last_injected_overflow;
#endif /* CONFIG_BCM43XX_MAC80211_DEBUG*/
};
#endif /* CONFIG_BCM43XX_MAC80211_DEBUG*/
};
@@
-287,8
+291,8
@@
int bcm43xx_dmacontroller_tx_reset(struct bcm43xx_wldev *dev,
u16 bcm43xx_dmacontroller_base(int dma64bit, int dmacontroller_idx);
u16 bcm43xx_dmacontroller_base(int dma64bit, int dmacontroller_idx);
-void bcm43xx_dma_tx_suspend(struct bcm43xx_
dmaring *ring
);
-void bcm43xx_dma_tx_resume(struct bcm43xx_
dmaring *ring
);
+void bcm43xx_dma_tx_suspend(struct bcm43xx_
wldev *dev
);
+void bcm43xx_dma_tx_resume(struct bcm43xx_
wldev *dev
);
void bcm43xx_dma_get_tx_stats(struct bcm43xx_wldev *dev,
struct ieee80211_tx_queue_stats *stats);
void bcm43xx_dma_get_tx_stats(struct bcm43xx_wldev *dev,
struct ieee80211_tx_queue_stats *stats);
@@
-349,11
+353,11
@@
void bcm43xx_dma_rx(struct bcm43xx_dmaring *ring)
{
}
static inline
{
}
static inline
-void bcm43xx_dma_tx_suspend(struct bcm43xx_
dmaring *ring
)
+void bcm43xx_dma_tx_suspend(struct bcm43xx_
wldev *dev
)
{
}
static inline
{
}
static inline
-void bcm43xx_dma_tx_resume(struct bcm43xx_
dmaring *ring
)
+void bcm43xx_dma_tx_resume(struct bcm43xx_
wldev *dev
)
{
}
{
}
This page took
0.026613 seconds
and
4
git commands to generate.