Merge remote-tracking branch 'net-next/master' into mac80211-next
authorJohannes Berg <johannes.berg@intel.com>
Thu, 2 Jan 2020 13:50:09 +0000 (14:50 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 2 Jan 2020 13:50:58 +0000 (14:50 +0100)
Merging to get the mac80211 updates that have since propagated
into net-next.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1  2 
net/mac80211/debugfs_sta.c
net/mac80211/tx.c

@@@ -989,11 -1025,17 +1025,15 @@@ void ieee80211_sta_debugfs_add(struct s
        DEBUGFS_ADD_COUNTER(rx_fragments, rx_stats.fragments);
        DEBUGFS_ADD_COUNTER(tx_filtered, status_stats.filtered);
  
 -      if (local->ops->wake_tx_queue)
 +      if (local->ops->wake_tx_queue) {
                DEBUGFS_ADD(aqm);
 -
 -      if (wiphy_ext_feature_isset(local->hw.wiphy,
 -                                  NL80211_EXT_FEATURE_AIRTIME_FAIRNESS))
                DEBUGFS_ADD(airtime);
 +      }
  
+       if (wiphy_ext_feature_isset(local->hw.wiphy,
+                                   NL80211_EXT_FEATURE_AQL))
+               DEBUGFS_ADD(aql);
        debugfs_create_xul("driver_buffered_tids", 0400, sta->debugfs_dir,
                           &sta->driver_buffered_tids);
  
@@@ -3670,10 -3675,9 +3679,10 @@@ begin
                break;
        }
  
 +encap_out:
        IEEE80211_SKB_CB(skb)->control.vif = vif;
  
-       if (local->airtime_flags & AIRTIME_USE_AQL) {
+       if (wiphy_ext_feature_isset(local->hw.wiphy, NL80211_EXT_FEATURE_AQL)) {
                u32 airtime;
  
                airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta,