aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-09-21 07:06:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-27 14:27:48 -0400
commit37a41b4affa33bb237d3692bf51f1b5ebcaf29d8 (patch)
tree0201e166912d12bd8270b2117b11717756cfd5db /drivers/net/wireless/b43/main.c
parent129321804e36721e71fadcab5b475bd37bf53044 (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 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 56fa3a3648c4..559bcd6688ec 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -3599,7 +3599,7 @@ static int b43_op_get_stats(struct ieee80211_hw *hw,
3599 return 0; 3599 return 0;
3600} 3600}
3601 3601
3602static u64 b43_op_get_tsf(struct ieee80211_hw *hw) 3602static u64 b43_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
3603{ 3603{
3604 struct b43_wl *wl = hw_to_b43_wl(hw); 3604 struct b43_wl *wl = hw_to_b43_wl(hw);
3605 struct b43_wldev *dev; 3605 struct b43_wldev *dev;
@@ -3618,7 +3618,8 @@ static u64 b43_op_get_tsf(struct ieee80211_hw *hw)
3618 return tsf; 3618 return tsf;
3619} 3619}
3620 3620
3621static void b43_op_set_tsf(struct ieee80211_hw *hw, u64 tsf) 3621static void b43_op_set_tsf(struct ieee80211_hw *hw,
3622 struct ieee80211_vif *vif, u64 tsf)
3622{ 3623{
3623 struct b43_wl *wl = hw_to_b43_wl(hw); 3624 struct b43_wl *wl = hw_to_b43_wl(hw);
3624 struct b43_wldev *dev; 3625 struct b43_wldev *dev;