summaryrefslogtreecommitdiff
path: root/drivers/staging/cw1200/txrx.h
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-10-06 19:05:02 +0200
committerPhilippe LANGLAIS <philippe.langlais@stericsson.com>2011-10-13 10:23:49 +0200
commit847817a7ac38983d030d87d4c1b38e379a26fe8e (patch)
treeaf0b449b8359ed45a234a377c0a81bde69a36653 /drivers/staging/cw1200/txrx.h
parent5a3348f06558026c5c842112b83674e00903064c (diff)
cw1200: Accurate reporting of TX status.
* Accurate reporting of TX status is implemented (needed for UAPSD and PSPOLL). * Leaking of TX rate policies is fixed. * skb destructor is implemented. * Time to live for queued frames is implemented. * cw1200_tx is split by separate TX handlers (like in mac80211). * cw1200_skb_to_wsm is not existing anymore. * BT coex: null frames are prioritized as management frames. * Debug: added printing of rate policies in use. ST-Ericsson ID: 354950 ST-Ericsson ID: 360749 Change-Id: I920d398418df99c21b37a16ef16591e58a82151d Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33542 Reviewed-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com> Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'drivers/staging/cw1200/txrx.h')
-rw-r--r--drivers/staging/cw1200/txrx.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/staging/cw1200/txrx.h b/drivers/staging/cw1200/txrx.h
index 87dbdfa949c..9f4f40ea31c 100644
--- a/drivers/staging/cw1200/txrx.h
+++ b/drivers/staging/cw1200/txrx.h
@@ -17,6 +17,7 @@
/* extern */ struct ieee80211_hw;
/* extern */ struct sk_buff;
/* extern */ struct wsm_tx;
+/* extern */ struct wsm_rx;
/* extern */ struct wsm_tx_confirm;
/* extern */ struct cw1200_txpriv;
@@ -53,19 +54,16 @@ struct tx_policy_cache {
*/
void tx_policy_init(struct cw1200_common *priv);
void tx_policy_upload_work(struct work_struct *work);
-void tx_policy_put(struct cw1200_common *priv, int idx);
/* ******************************************************************** */
/* TX implementation */
u32 cw1200_rate_mask_to_wsm(struct cw1200_common *priv,
u32 rates);
-int cw1200_skb_to_wsm(struct cw1200_common *priv,
- struct sk_buff *skb, struct wsm_tx *wsm,
- struct cw1200_txpriv *txpriv);
void cw1200_tx(struct ieee80211_hw *dev, struct sk_buff *skb);
-void cw1200_notify_buffered_tx(struct cw1200_common *priv,
- struct sk_buff *skb, int link_id, int tid);
+void cw1200_skb_dtor(struct cw1200_common *priv,
+ struct sk_buff *skb,
+ const struct cw1200_txpriv *txpriv);
/* ******************************************************************** */
/* WSM callbacks */