aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlina Friedrichsen <x-alina@gmx.net>2009-01-24 01:09:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:01:46 -0500
commit3b5d665b51cda73ef1a774b515afd879a38e3674 (patch)
tree68d71f6ac09f638b65ca1e256a17dfdb6c5b12b4 /include
parent3978e5bce63484789891c67413372da3915bcbd6 (diff)
mac80211: Generic TSF debugging
This patch enables low-level driver independent debugging of the TSF and remove the driver specific things of ath5k and ath9k from the debugfs. Signed-off-by: Alina Friedrichsen <x-alina@gmx.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 8e65adf0a64c..e2144f0e8728 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1359,7 +1359,11 @@ enum ieee80211_ampdu_mlme_action {
1359 * hw->ampdu_queues items. 1359 * hw->ampdu_queues items.
1360 * 1360 *
1361 * @get_tsf: Get the current TSF timer value from firmware/hardware. Currently, 1361 * @get_tsf: Get the current TSF timer value from firmware/hardware. Currently,
1362 * this is only used for IBSS mode debugging and, as such, is not a 1362 * this is only used for IBSS mode BSSID merging and debugging. Is not a
1363 * required function. Must be atomic.
1364 *
1365 * @set_tsf: Set the TSF timer to the specified value in the firmware/hardware.
1366 * Currently, this is only used for IBSS mode debugging. Is not a
1363 * required function. Must be atomic. 1367 * required function. Must be atomic.
1364 * 1368 *
1365 * @reset_tsf: Reset the TSF timer and allow firmware/hardware to synchronize 1369 * @reset_tsf: Reset the TSF timer and allow firmware/hardware to synchronize
@@ -1421,6 +1425,7 @@ struct ieee80211_ops {
1421 int (*get_tx_stats)(struct ieee80211_hw *hw, 1425 int (*get_tx_stats)(struct ieee80211_hw *hw,
1422 struct ieee80211_tx_queue_stats *stats); 1426 struct ieee80211_tx_queue_stats *stats);
1423 u64 (*get_tsf)(struct ieee80211_hw *hw); 1427 u64 (*get_tsf)(struct ieee80211_hw *hw);
1428 void (*set_tsf)(struct ieee80211_hw *hw, u64 tsf);
1424 void (*reset_tsf)(struct ieee80211_hw *hw); 1429 void (*reset_tsf)(struct ieee80211_hw *hw);
1425 int (*tx_last_beacon)(struct ieee80211_hw *hw); 1430 int (*tx_last_beacon)(struct ieee80211_hw *hw);
1426 int (*ampdu_action)(struct ieee80211_hw *hw, 1431 int (*ampdu_action)(struct ieee80211_hw *hw,