1. 20 11月, 2014 1 次提交
  2. 17 11月, 2014 1 次提交
  3. 24 10月, 2014 10 次提交
  4. 08 10月, 2014 2 次提交
  5. 07 10月, 2014 2 次提交
  6. 18 9月, 2014 7 次提交
  7. 02 9月, 2014 1 次提交
  8. 27 8月, 2014 1 次提交
  9. 29 7月, 2014 2 次提交
  10. 25 7月, 2014 2 次提交
    • J
      ath10k: handle attention flags correctly when using A-MSDU · 0ccb7a34
      Janusz Dziedzic 提交于
      In case of A-MSDU RX we should check attention flags
      correctly to be sure we report correct FCS status for
      A-MSDU subframes. Without a patch we could report A-MSDU
      subframes with wrong FCS as a correct to the stack, next
      get a lot of DUP ACK TCP packets. Finally TP drop is seen
      and this drop depends on FCS errors ratio for A-MSDU frame.
      
      Example test case when TP drop is seen:
      - ath10k configured as an AP
      - used ath10k station
      - forced A-MSDU (7 frames) on STA
      - other traffic on channel (often FCS errors)
      - monitor iface added on AP
      - TCP STA -> AP traffic (iperf)
      
      a) Iperf logs for case without the patch:
      
      echo "1 64" > htt_max_amsdu_ampdu // disable A-MSDU
      [ ID] Interval       Transfer     Bandwidth
      [  3]  0.0- 5.0 sec  56.6 MBytes  95.0 Mbits/sec
      [  3]  5.0-10.0 sec  60.4 MBytes   101 Mbits/sec
      [  3] 10.0-15.0 sec  60.2 MBytes   101 Mbits/sec
      [  3] 15.0-20.0 sec  60.2 MBytes   101 Mbits/sec
      [  3] 20.0-25.0 sec  63.8 MBytes   107 Mbits/sec
      [  3] 25.0-30.0 sec  64.9 MBytes   109 Mbits/sec
      
      echo "7 64" > htt_max_amsdu_ampdu  // set 7 A-MSDU subframes
      [  3] 30.0-35.0 sec  40.0 MBytes  67.1 Mbits/sec
      [  3] 35.0-40.0 sec  35.9 MBytes  60.2 Mbits/sec
      [  3] 40.0-45.0 sec  36.9 MBytes  61.9 Mbits/sec
      [  3] 45.0-50.0 sec  37.9 MBytes  63.5 Mbits/sec
      [  3] 50.0-55.0 sec  34.5 MBytes  57.9 Mbits/sec
      [  3] 55.0-60.0 sec  25.4 MBytes  42.6 Mbits/sec
      [  3] 60.0-65.0 sec  48.2 MBytes  81.0 Mbits/sec
      [  3] 65.0-70.0 sec  28.8 MBytes  48.2 Mbits/sec
      [  3] 70.0-75.0 sec  29.2 MBytes  49.1 Mbits/sec
      [  3] 75.0-80.0 sec  22.9 MBytes  38.4 Mbits/sec
      [  3] 80.0-85.0 sec  26.4 MBytes  44.2 Mbits/sec
      [  3] 85.0-90.0 sec  31.5 MBytes  52.8 Mbits/sec
      
      b) Iperf logs for case with patch:
      
      echo "1 64" > htt_max_amsdu_ampdu // disable A-MSDU
      [  3] local 192.168.12.2 port 57512 connected with 192.168.12.1 port 5001
      [ ID] Interval       Transfer     Bandwidth
      [  3]  0.0- 5.0 sec  60.8 MBytes   102 Mbits/sec
      [  3]  5.0-10.0 sec  62.2 MBytes   104 Mbits/sec
      [  3] 10.0-15.0 sec  60.9 MBytes   102 Mbits/sec
      
      echo "7 64" > htt_max_amsdu_ampdu  // set 7 A-MSDU subframes
      [  3] 15.0-20.0 sec  68.1 MBytes   114 Mbits/sec
      [  3] 20.0-25.0 sec  80.5 MBytes   135 Mbits/sec
      [  3] 25.0-30.0 sec  83.0 MBytes   139 Mbits/sec
      [  3] 30.0-35.0 sec  79.1 MBytes   133 Mbits/sec
      [  3] 35.0-40.0 sec  77.1 MBytes   129 Mbits/sec
      [  3] 40.0-45.0 sec  77.4 MBytes   130 Mbits/sec
      Reported-by: NDenton Gentry <denton.gentry@gmail.com>
      Signed-off-by: NJanusz Dziedzic <janusz.dziedzic@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      0ccb7a34
    • M
      ath10k: fix Rx aggregation reordering · aa5b4fbc
      Michal Kazior 提交于
      Firmware doesn't perform Rx reordering so it is
      left to the host driver to do that.
      
      Use mac80211 to perform reordering instead of
      re-inventing the wheel.
      
      This fixes TCP throughput issues in some
      environments.
      Reported-by: NDenton Gentry <denton.gentry@gmail.com>
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      aa5b4fbc
  11. 22 7月, 2014 1 次提交
    • M
      ath10k: prevent some tx flushing failures · 708b9bde
      Michal Kazior 提交于
      Firmware could request inspection of some
      submitted tx requests. Since the callback wasn't
      implemented it was possible to bleed tx msdu_ids
      which could translate to tx flushing timeouts.
      
      There's nothing ath10k can do to help firmware
      with tx processing now so just report all tx
      frames as already inspected to prevent firmware
      from sending up inspection events and force it to
      report regular tx completion indications with
      discard status.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      708b9bde
  12. 03 6月, 2014 1 次提交
  13. 27 5月, 2014 1 次提交
  14. 26 5月, 2014 1 次提交
  15. 23 5月, 2014 1 次提交
  16. 14 5月, 2014 2 次提交
  17. 08 4月, 2014 1 次提交
    • M
      ath10k: refactor monitor code · 1bbc0975
      Michal Kazior 提交于
      It was possible to create/delete/start/stop
      monitor vdev from a few places that were not
      exclusively protected against each other. This
      resulted in monitor vdev being stopped/removed by
      one call origin while another one was expecting it
      to continue running.
      
      For example if CAC was started and interface's
      promiscuous mode was toggled monitor vdev was
      removed from the driver meaning no radar would be
      detected. In additional a warning would be printed
      upon CAC completion complaining it tried to stop
      non-running monitor vdev.
      
      The patch simplifies monitor code by removing
      IEEE80211_HW_WANT_MONITOR_VIF (which wasn't really
      ever needed) and improves state tracking. It also
      unifies prints.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      1bbc0975
  18. 25 3月, 2014 3 次提交