Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2004)

Unified Diff: src/wifi/model/dca-txop.h

Issue 4664057: Netdevice queue feedback support
Patch Set: Netdevice queue support Created 12 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/wifi/model/dca-txop.h
===================================================================
--- a/src/wifi/model/dca-txop.h
+++ b/src/wifi/model/dca-txop.h
@@ -90,6 +90,10 @@
*/
void SetTxFailedCallback (TxFailed callback);
+ void SetTxQueueStartCallback (Callback<void,uint32_t> queueStart);
+ void SetTxQueueStopCallback (Callback<void,uint32_t> queueStop);
+ bool IsQueueStopped (void) { return m_queueStopped; };
+
Ptr<WifiMacQueue > GetQueue () const;
virtual void SetMinCw (uint32_t minCw);
virtual void SetMaxCw (uint32_t maxCw);
@@ -156,6 +160,9 @@
DcfManager *m_manager;
TxOk m_txOkCallback;
TxFailed m_txFailedCallback;
+ Callback<void,uint32_t> m_queueStart;
+ Callback<void,uint32_t> m_queueStop;
+ bool m_queueStopped;
Ptr<WifiMacQueue> m_queue;
MacTxMiddle *m_txMiddle;
Ptr <MacLow> m_low;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b