mac80211: Add api to support configuring TID specific configuration
[openwrt/staging/blogic.git] / include / net / mac80211.h
index ce80773dfeb280532b32ee1e92f2b0ecf256216e..5ef34a2ba3c7b20e1c045b06e3c03f2217ae2149 100644 (file)
@@ -3776,6 +3776,9 @@ enum ieee80211_reconfig_type {
  *
  * @start_pmsr: start peer measurement (e.g. FTM) (this call can sleep)
  * @abort_pmsr: abort peer measurement (this call can sleep)
+ * @set_tid_config: Apply TID specific configurations. This callback may sleep.
+ * @reset_tid_config: Reset TID specific configuration for the peer.
+ *     This callback may sleep.
  */
 struct ieee80211_ops {
        void (*tx)(struct ieee80211_hw *hw,
@@ -4080,6 +4083,13 @@ struct ieee80211_ops {
                          struct cfg80211_pmsr_request *request);
        void (*abort_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
                           struct cfg80211_pmsr_request *request);
+       int (*set_tid_config)(struct ieee80211_hw *hw,
+                             struct ieee80211_vif *vif,
+                             struct ieee80211_sta *sta,
+                             struct cfg80211_tid_config *tid_conf);
+       int (*reset_tid_config)(struct ieee80211_hw *hw,
+                               struct ieee80211_vif *vif,
+                               struct ieee80211_sta *sta, u8 tids);
 };
 
 /**