1. 29 6月, 2019 1 次提交
  2. 01 6月, 2019 2 次提交
  3. 03 4月, 2019 2 次提交
  4. 22 3月, 2019 5 次提交
  5. 21 2月, 2019 3 次提交
  6. 14 2月, 2019 6 次提交
  7. 04 2月, 2019 2 次提交
  8. 29 1月, 2019 9 次提交
  9. 26 1月, 2019 2 次提交
    • S
      iwlwifi: mvm: support mac80211 AMSDU · 438af969
      Sara Sharon 提交于
      Support getting mac80211 building AMSDUs for us. Remove GSO
      support from mvm - we don't need it anymore.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      438af969
    • S
      iwlwifi: mvm: support mac80211 TXQs model · cfbc6c4c
      Sara Sharon 提交于
      Move to use the new mac80211 TXQs implementation. This has
      quite a few benefits for us. We can get rid of the awkward
      mapping of DQA to mac80211 queues. We can stop buffering
      traffic while waiting for the queue to be allocated. We can
      also use mac80211 AMSDUs instead of building it ourselves.
      
      The usage is pretty simple:
      Each ieee80211_txq contains iwl_mvm_txq. There is such a
      queue for each TID, and one for management frames. We keep
      having static AP queues for probes and non-bufferable MMPDUs,
      along with broadcast and multicast queues. Those are being
      used from the "old" TX invocation path - iwl_mvm_mac_tx.
      
      When there is a new frame in a TXQ, iwl_mvm_mac_wake_tx is
      being called, and either invokes the TX path, or allocates
      the queue if it does not exist.
      
      Most of the TX path is left untouched, although we can consider
      cleaning it up some more, for example get rid of the duplication
      of txq_id in both iwl_mvm_txq and iwl_mvm_dqa_txq_info.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      cfbc6c4c
  10. 20 12月, 2018 1 次提交
  11. 11 11月, 2018 3 次提交
  12. 08 10月, 2018 4 次提交
    • J
      iwlwifi: mvm: kill INACTIVE queue state · 724fe771
      Johannes Berg 提交于
      We don't really need this state: instead of having an inactive
      state where we can awaken zombie queues again if needed, just
      keep them in their normal state unless a new queue is actually
      needed and there's no other way of getting one.
      
      We do this here by making the inactivity check not free queues
      unless instructed that we now really need to allocate one to a
      specific station, and in that case it'll just free the queue
      immediately, without doing any inactivity step inbetween.
      
      The only downside is a little bit more processing in this case,
      but the code complexity is lower.
      
      Additionally, this fixes a corner case: due to the way the code
      worked, we could only ever reuse an inactive queue if it was
      the reserved queue for a station, as iwl_mvm_find_free_queue()
      would never consider returning an inactive queue.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      724fe771
    • J
      iwlwifi: mvm: remove RECONFIGURING queue state · 90d2d94c
      Johannes Berg 提交于
      We set the queue to this state, only to pretty much immediately
      move it out of it again. However, we can't even hit any of the
      code that checks if the queue is reconfiguring, because all of
      this happens under mvm->mutex and we hold the all the way from
      marking the queue as RECONFIGURING to marking it as READY again.
      
      Additionally, the queue that became RECONFIGURING would've been
      in SHARED state before, and it can safely stay in that state. In
      case of errors, it previously would have stayed in RECONFIGURING
      which it could never have left again.
      
      Remove the state entirely and just track the queues that need to
      be reconfigured in a separate, local, bitmap.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      90d2d94c
    • J
      iwlwifi: mvm: remove per-queue hw refcount · 1c14089e
      Johannes Berg 提交于
      There's no need to have a hw refcount if we just mark the
      command queue with a (fake) TID; at that point, the refcount
      becomes equivalent to the hweight() of the TID bitmap.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      1c14089e
    • J
      iwlwifi: mvm: move queue management into sta.c · 99448a8c
      Johannes Berg 提交于
      None of these functions really need to be separate, they're all
      only used in sta.c, move them there and make them static.
      
      Fix a small typo in related code while at it.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      99448a8c