aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-02 04:15:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-10-03 15:22:41 -0400
commit8a3a3c85e44d58f5af0adac74a0b866ba89a1978 (patch)
treee64861307d417743de6992122debc99fab744124 /include/net
parent3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33 (diff)
mac80211: pass vif param to conf_tx() callback
tx params should be configured per interface. add ieee80211_vif param to the conf_tx callback, and change all the drivers that use this callback. The following spatch was used: @rule1@ struct ieee80211_ops ops; identifier conf_tx_op; @@ ops.conf_tx = conf_tx_op; @rule2@ identifier rule1.conf_tx_op; identifier hw, queue, params; @@ conf_tx_op ( - struct ieee80211_hw *hw, + struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) {...} Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 135e897b61c..cd108dfa195 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2152,7 +2152,8 @@ struct ieee80211_ops {
2152 struct ieee80211_sta *sta); 2152 struct ieee80211_sta *sta);
2153 void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 2153 void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
2154 enum sta_notify_cmd, struct ieee80211_sta *sta); 2154 enum sta_notify_cmd, struct ieee80211_sta *sta);
2155 int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, 2155 int (*conf_tx)(struct ieee80211_hw *hw,
2156 struct ieee80211_vif *vif, u16 queue,
2156 const struct ieee80211_tx_queue_params *params); 2157 const struct ieee80211_tx_queue_params *params);
2157 u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); 2158 u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
2158 void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 2159 void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,