diff options
author | Eliad Peller <eliad@wizery.com> | 2011-09-21 07:06:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-27 14:27:48 -0400 |
commit | 37a41b4affa33bb237d3692bf51f1b5ebcaf29d8 (patch) | |
tree | 0201e166912d12bd8270b2117b11717756cfd5db /include/net/mac80211.h | |
parent | 129321804e36721e71fadcab5b475bd37bf53044 (diff) |
mac80211: add ieee80211_vif param to tsf functions
TSF can be kept per vif.
Add ieee80211_vif param to set/get/reset_tsf, and move
the debugfs entries to the per-vif directory.
Update all the drivers that implement these callbacks.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index c0f63fd0c52b..90dfcc99b466 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -2000,9 +2000,10 @@ struct ieee80211_ops { | |||
2000 | enum sta_notify_cmd, struct ieee80211_sta *sta); | 2000 | enum sta_notify_cmd, struct ieee80211_sta *sta); |
2001 | int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, | 2001 | int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, |
2002 | const struct ieee80211_tx_queue_params *params); | 2002 | const struct ieee80211_tx_queue_params *params); |
2003 | u64 (*get_tsf)(struct ieee80211_hw *hw); | 2003 | u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); |
2004 | void (*set_tsf)(struct ieee80211_hw *hw, u64 tsf); | 2004 | void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
2005 | void (*reset_tsf)(struct ieee80211_hw *hw); | 2005 | u64 tsf); |
2006 | void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); | ||
2006 | int (*tx_last_beacon)(struct ieee80211_hw *hw); | 2007 | int (*tx_last_beacon)(struct ieee80211_hw *hw); |
2007 | int (*ampdu_action)(struct ieee80211_hw *hw, | 2008 | int (*ampdu_action)(struct ieee80211_hw *hw, |
2008 | struct ieee80211_vif *vif, | 2009 | struct ieee80211_vif *vif, |