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>
This commit is contained in:

committed by
John W. Linville

parent
129321804e
commit
37a41b4aff
@@ -1249,7 +1249,8 @@ static int adm8211_hw_reset(struct ieee80211_hw *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u64 adm8211_get_tsft(struct ieee80211_hw *dev)
|
||||
static u64 adm8211_get_tsft(struct ieee80211_hw *dev,
|
||||
struct ieee80211_vif *vif)
|
||||
{
|
||||
struct adm8211_priv *priv = dev->priv;
|
||||
u32 tsftl;
|
||||
|
Reference in New Issue
Block a user