1. 28 6月, 2018 1 次提交
  2. 19 4月, 2018 1 次提交
  3. 27 12月, 2017 1 次提交
  4. 04 5月, 2017 5 次提交
  5. 05 4月, 2017 2 次提交
  6. 12 1月, 2017 2 次提交
  7. 02 9月, 2016 1 次提交
  8. 16 10月, 2015 5 次提交
  9. 26 8月, 2015 1 次提交
  10. 09 4月, 2015 1 次提交
  11. 02 4月, 2015 1 次提交
  12. 19 3月, 2015 1 次提交
    • M
      ath10k: protect driver from unsolicited htc ep0 events · 5dc0f1db
      Michal Kazior 提交于
      Some firmware revisions (tested with qca6174
      rm2.0-00088) deliver unsolicited unknown (kind of
      garbled) HTC ep0 event to host in some cases.
      
      This issue was mainly observed with both qca988x
      and qca6174 being installed on a single host
      system. During driver probing if qca6174 booting
      sequences were somehow deferred (e.g. by qca988x
      implicitly making some resources busy presumably)
      the unsolicited event would came around 1s after
      ATH10K_HTC_MSG_READY_ID was delivered to host for
      qca6174.
      
      The unsolicited event would confuse driver and
      cause HTT initialization (and subsequently
      driver probing) to fail.
      
      Make the ep0 event processing more robust. The
      event will still be caught but instead will
      only generate a warning now.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      5dc0f1db
  13. 13 1月, 2015 1 次提交
  14. 01 12月, 2014 2 次提交
  15. 18 9月, 2014 2 次提交
    • K
      ath10k: miscellaneous checkpatch fixes · 8cc7f26c
      Kalle Valo 提交于
      Fixes checkpatch warnings:
      
      ath10k/htc.c:49: WARNING: Possible unnecessary 'out of memory' message
      ath10k/htc.c:810: WARNING: Possible unnecessary 'out of memory' message
      ath10k/htt.h:1034: CHECK: Please use a blank line after function/struct/union/enum declarations
      ath10k/htt_rx.c:135: CHECK: Unnecessary parentheses around htt->rx_ring.alloc_idx.vaddr
      ath10k/htt_rx.c:173: CHECK: Unnecessary parentheses around htt->rx_ring.alloc_idx.vaddr
      ath10k/pci.c:633: WARNING: macros should not use a trailing semicolon
      ath10k/wmi.c:3594: WARNING: quoted string split across lines
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      8cc7f26c
    • K
      ath10k: fix checkpatch warnings about parenthesis alignment · 5b07e07f
      Kalle Valo 提交于
      CHECK: Alignment should match open parenthesis
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      5b07e07f
  16. 27 8月, 2014 1 次提交
  17. 12 8月, 2014 1 次提交
  18. 22 7月, 2014 1 次提交
  19. 23 5月, 2014 1 次提交
  20. 11 4月, 2014 1 次提交
  21. 28 2月, 2014 3 次提交
    • M
      ath10k: bypass htc for htt tx path · a16942e6
      Michal Kazior 提交于
      Going through full htc tx path for htt tx is a
      waste of resources. By skipping it it's possible
      to easily submit scatter-gather to the pci hif for
      reduced host cpu load and improved performance.
      
      The new approach uses dma pool to store the
      following metadata for each tx request:
       * msdu fragment list
       * htc header
       * htt tx command
      
      The htt tx command contains a msdu prefetch.
      Instead of copying it original mapped msdu address
      is used to submit a second scatter-gather item to
      hif to make a complete htt tx command.
      
      The htt tx command itself hands over dma mapped
      pointers to msdus and completion of the command
      itself doesn't mean the frame has been sent and
      can be unmapped/freed. This is why htc tx
      completion is skipped for htt tx as all tx related
      resources are freed upon htt tx completion
      indication event (which also implicitly means htt
      tx command itself was completed).
      
      Since now each htt tx request effectively consists
      of 2 copy engine items CE_HTT_H2T_MSG_SRC_NENTRIES
      is updated to allow maximum of
      TARGET_10X_NUM_MSDU_DESC msdus being queued. This
      keeps the tx path resource management simple.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      a16942e6
    • M
      ath10k: replace send_head() with tx_sg() · 726346fc
      Michal Kazior 提交于
      PCI is capable of handling scatter-gather lists.
      This can be used to avoid copying memory.
      
      Change the name of the callback while at to
      reflect its purpose.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      726346fc
    • M
      ath10k: remove DMA mapping wrappers · 767d34fc
      Michal Kazior 提交于
      There's no real benefit from using them. DMA-API
      already provides debugging. Some skbuffs are
      already mapped directly with DMA-API since wrapper
      arguments were insufficient and extending them
      would be pointless.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      767d34fc
  22. 15 11月, 2013 1 次提交
  23. 13 11月, 2013 2 次提交
  24. 20 9月, 2013 1 次提交
  25. 17 9月, 2013 1 次提交
    • M
      ath10k: simplify HTC command submitting · 12acbc43
      Michal Kazior 提交于
      The patch removes HTC endpoint tx workers in
      favour of direct command submission. This makes a
      lot more sense for data path.
      
      mac80211 queues are effectively stopped/woken up
      in a more timely fashion preventing build up of
      frames. It's possible to push more traffic than
      the device/system is able to handle and have no
      hiccups or performance degradation with UDP
      traffic.
      
      WMI commands will now report errors properly and
      possibly block as they actively can wait for tx
      credits to become available.
      Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      12acbc43