1. 03 4月, 2019 2 次提交
  2. 22 3月, 2019 1 次提交
  3. 21 2月, 2019 2 次提交
  4. 14 2月, 2019 1 次提交
  5. 04 2月, 2019 3 次提交
  6. 29 1月, 2019 3 次提交
  7. 26 1月, 2019 3 次提交
  8. 14 12月, 2018 1 次提交
  9. 23 11月, 2018 3 次提交
  10. 11 11月, 2018 1 次提交
  11. 06 10月, 2018 1 次提交
  12. 28 9月, 2018 1 次提交
  13. 31 8月, 2018 2 次提交
  14. 26 7月, 2018 2 次提交
  15. 16 2月, 2018 1 次提交
  16. 25 11月, 2017 1 次提交
  17. 10 8月, 2017 1 次提交
  18. 01 8月, 2017 4 次提交
  19. 30 6月, 2017 1 次提交
    • J
      iwlwifi: mvm: fix mac80211's hw_queue in DQA mode · 32026e8f
      Johannes Berg 提交于
      When in non-DQA mode, mac80211 actually gets a pretty much perfect
      idea (in vif->hw_queue/cab_queue) of which queues we're using. But
      in DQA mode, this isn't true - nonetheless, we were adding all the
      queues, even the ones stations are using, to the queue allocation
      bitmap.
      
      Fix this, we should only add the queues we really are using in DQA
      mode:
       * IWL_MVM_OFFCHANNEL_QUEUE, as we use this in both modes
       * mvm->aux_queue, as we use this in both modes - mac80211
         never really knows about it but we use it as a cookie
         internally, so can't reuse it
       * possibly the GCAST queue (cab_queue)
       * all the "queues" we told mac80211 about we were using on each
         interface (vif->hw_queue), these are entirely virtual in this
         mode
      
      Also add back the failure now when we can't allocate any more of
      these - now virtual - queues; this was skipped in DQA mode and
      would lead to having multiple ACs or even interfaces use the same
      queue number in mac80211 (10, since that's the limit), which would
      stop far too many queues if stopped.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      32026e8f
  20. 23 6月, 2017 2 次提交
  21. 16 6月, 2017 1 次提交
    • J
      networking: introduce and use skb_put_data() · 59ae1d12
      Johannes Berg 提交于
      A common pattern with skb_put() is to just want to memcpy()
      some data into the new space, introduce skb_put_data() for
      this.
      
      An spatch similar to the one for skb_put_zero() converts many
      of the places using it:
      
          @@
          identifier p, p2;
          expression len, skb, data;
          type t, t2;
          @@
          (
          -p = skb_put(skb, len);
          +p = skb_put_data(skb, data, len);
          |
          -p = (t)skb_put(skb, len);
          +p = skb_put_data(skb, data, len);
          )
          (
          p2 = (t2)p;
          -memcpy(p2, data, len);
          |
          -memcpy(p, data, len);
          )
      
          @@
          type t, t2;
          identifier p, p2;
          expression skb, data;
          @@
          t *p;
          ...
          (
          -p = skb_put(skb, sizeof(t));
          +p = skb_put_data(skb, data, sizeof(t));
          |
          -p = (t *)skb_put(skb, sizeof(t));
          +p = skb_put_data(skb, data, sizeof(t));
          )
          (
          p2 = (t2)p;
          -memcpy(p2, data, sizeof(*p));
          |
          -memcpy(p, data, sizeof(*p));
          )
      
          @@
          expression skb, len, data;
          @@
          -memcpy(skb_put(skb, len), data, len);
          +skb_put_data(skb, data, len);
      
      (again, manually post-processed to retain some comments)
      Reviewed-by: NStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      59ae1d12
  22. 06 6月, 2017 2 次提交
  23. 26 4月, 2017 1 次提交
    • S
      iwlwifi: mvm: support station type API · ced19f26
      Sara Sharon 提交于
      Support change to ADD_STA API to support station types.
      Each station is assigned its type.
      This simplifies FW handling of the broadcast and multicast
      stations:
      * broadcast station is identified by its type and not the mac
        address.
      * multicast queue is no longer treated differently. The opening
        and closing of it is done by referring to its station.
        There is no need to specify it in the MAC command.
      * When disabling TX to all station driver can disable the traffic
        on multicast station, so FW doesn't have to do it.
      Change is backward compatible.
      Change the order of adding and removing the stations according to
      FW requirements.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      ced19f26