Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[deliverable/linux.git] / net / mac80211 / driver-ops.h
index 18b0d65baff000156c8015f76b9ce527a938e95a..184473c257eb9aeca282134e4fd7ba715b074a19 100644 (file)
@@ -1,3 +1,8 @@
+/*
+* Portions of this file
+* Copyright(c) 2016 Intel Deutschland GmbH
+*/
+
 #ifndef __MAC80211_DRIVER_OPS
 #define __MAC80211_DRIVER_OPS
 
@@ -29,6 +34,16 @@ static inline void drv_tx(struct ieee80211_local *local,
        local->ops->tx(&local->hw, control, skb);
 }
 
+static inline void drv_sync_rx_queues(struct ieee80211_local *local,
+                                     struct sta_info *sta)
+{
+       if (local->ops->sync_rx_queues) {
+               trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta);
+               local->ops->sync_rx_queues(&local->hw);
+               trace_drv_return_void(local);
+       }
+}
+
 static inline void drv_get_et_strings(struct ieee80211_sub_if_data *sdata,
                                      u32 sset, u8 *data)
 {
This page took 0.023802 seconds and 5 git commands to generate.