diff options
author | Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> | 2011-06-04 14:55:21 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-05 12:16:11 +0200 |
commit | 7450c4048a63e76b343c2cb5743d67fd3d2c3a31 (patch) | |
tree | c40770f3093f0e9d388d9b23b6f671aadbe731ae /drivers/staging/cw1200/debug.h | |
parent | 2f59fa01494e8227e6ba8c4286221960c9c35b83 (diff) |
cw1200: Multi-tx confirmation is implemented.
Multi-tx offloads SDIO interface by reducing number of TX confirm messages.
Multiple PDUs are acknowledged by a single multi-tx confirm message.
Change-Id: Ie152a2dc9fc3ca18e2a8042965f626a6c2ec6409
Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24478
Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com>
Tested-by: Robert MARKLUND <robert.marklund@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25618
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'drivers/staging/cw1200/debug.h')
-rw-r--r-- | drivers/staging/cw1200/debug.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/staging/cw1200/debug.h b/drivers/staging/cw1200/debug.h index c813c54f86b..0c9ef1252c4 100644 --- a/drivers/staging/cw1200/debug.h +++ b/drivers/staging/cw1200/debug.h @@ -12,6 +12,8 @@ struct cw1200_debug_priv { int tx_more; int rx; int rx_agg; + int tx_multi; + int tx_multi_frames; }; int cw1200_debug_init(struct cw1200_common *priv); @@ -32,6 +34,13 @@ static inline void cw1200_debug_txed_more(struct cw1200_common *priv) ++priv->debug->tx_more; } +static inline void cw1200_debug_txed_multi(struct cw1200_common *priv, + int count) +{ + ++priv->debug->tx_multi; + priv->debug->tx_multi_frames += count; +} + static inline void cw1200_debug_rxed(struct cw1200_common *priv) { ++priv->debug->rx; @@ -65,6 +74,11 @@ static inline void cw1200_debug_txed_more(struct cw1200_common *priv) { } +static inline void cw1200_debug_txed_multi(struct cw1200_common *priv, + int count) +{ +} + static inline void cw1200_debug_rxed(struct cw1200_common *priv) { } |