1. 22 3月, 2019 1 次提交
    • J
      iwlwifi: mvm: fix TX crypto on 22560+ devices · 475c6bde
      Johannes Berg 提交于
      In the old days, we could transmit with HW crypto with an arbitrary
      key by filling it into TX_CMD. This was broken first with the advent
      of CCMP/GCMP-256 keys which don't fit there.
      
      This was broken *again* with the newer TX_CMD format on 22560+,
      where we simply cannot pass key material anymore. However, we forgot
      to update all the cases when we get a key from mac80211 and don't
      program it into the hardware but still return 0 for HW crypto on TX.
      
      In AP mode with WEP, we tried to fix this by programming the keys
      separately for each station later, but this ultimately turns out to
      be buggy, for example now it leaks memory when we have more than one
      WEP key.
      
      Fix this by simply using only SW crypto for WEP in newer devices by
      returning -EOPNOTSUPP instead of trying to program WEP keys later.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      475c6bde
  2. 21 2月, 2019 3 次提交
  3. 14 2月, 2019 6 次提交
  4. 04 2月, 2019 2 次提交
  5. 29 1月, 2019 9 次提交
  6. 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
  7. 20 12月, 2018 1 次提交
  8. 11 11月, 2018 3 次提交
  9. 08 10月, 2018 7 次提交
  10. 28 9月, 2018 2 次提交
  11. 31 8月, 2018 4 次提交