1. 21 11月, 2019 1 次提交
  2. 31 7月, 2018 4 次提交
  3. 02 7月, 2018 3 次提交
    • G
      wil6210: add support for enhanced DMA RX data flows · 7be13fc3
      Gidon Studinski 提交于
      Enhanced DMA RX data path is handled using a single
      RX descriptor ring for all VIFs.
      Multiple RX status rings are supported, to allow RSS
      and multi MSI support.
      The driver gets the RX completions via the RX status rings.
      The RX status message includes the completed RX buffer ID,
      which points to the allocated SKB.
      
      The enhanced DMA RX data flow supports RX chaining, where
      multiple SKBs are merged into a single packet.
      
      Enhanced DMA HW supports RX HW reorder offload, enabled by
      default for Talyn-MB.
      
      amsdu_en debugfs entry was added to allow control MSDU aggregation.
      Use the following command to disable AMSDU (enabled by default):
      echo 0 > amsdu_en
      Signed-off-by: NGidon Studinski <gidons@codeaurora.org>
      Signed-off-by: NMaya Erez <merez@codeaurora.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      7be13fc3
    • G
      wil6210: initialize TX and RX enhanced DMA rings · 96c93589
      Gidon Studinski 提交于
      Enhanced DMA design includes the following rings:
      - Single RX descriptor ring is used for all VIFs
      - Multiple RX status rings are supported, to allow RSS
      - TX descriptor ring is allocated per connection
      - A single TX status ring is used for all TX descriptor rings
      
      This patch initializes and frees the above descriptor and
      status rings.
      
      The RX SKBs are handled by a new entity of RX buffers manager,
      which handles RX buffers, each one points to an allocated SKB.
      During Rx completion processing, the driver extracts a buffer
      ID which is used as an index to the buffers array.
      After the SKB is freed the buffer is moved from the 'active'
      list to the 'free' list, indicating it can be used for another
      descriptor. During Rx refill, SKBs are allocated and attached
      to 'free' buffers. Those buffers are attached to new descriptors
      and moved to the 'active' list.
      
      New debugfs entries were added to allow edma configuration:
      
      Run the following command to configure the number of status rings:
      echo NUM_OF_STATUS_RINGS > num_rx_status_rings
      
      Run the following command to use extended RX status message for
      additional debug fields from HW:
      echo 0 > compressed_rx_status
      
      Run the following command to control the size of the TX status ring:
      echo TX_STATUS_RING_ORDER > tx_status_ring_order
      The status ring size will be 1 << tx_status_ring_order
      
      Run the following command to control the size of the RX status ring:
      echo RX_STATUS_RING_ORDER > rx_status_ring_order
      Due to HW constrains RX sring order should be bigger than RX ring order
      The status ring size will be 1 << rx_status_ring_order
      
      Run the following command to change the number of RX buffer IDs:
      echo RX_BUFF_ID_COUNT > rx_buff_id_count
      Signed-off-by: NGidon Studinski <gidons@codeaurora.org>
      Signed-off-by: NMaya Erez <merez@codeaurora.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      96c93589
    • M
      wil6210: add support for Talyn-MB (Talyn ver 2.0) device · 485790d0
      Maya Erez 提交于
      Add changes to support initialization of Talyn-MB wil6210
      device:
      - Add definition for Talyn-MB new JTAG id
      - Define talyn_mb_fw_mapping array
      - Add Talyn-MB reset sequence
      Signed-off-by: NMaya Erez <merez@codeaurora.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      485790d0
  4. 28 2月, 2018 4 次提交
  5. 25 1月, 2018 6 次提交
  6. 09 1月, 2018 2 次提交
  7. 27 12月, 2017 1 次提交
    • A
      wil6210: fix build warnings without CONFIG_PM · 203dab83
      Arnd Bergmann 提交于
      The #ifdef checks are hard to get right, in this case some functions
      should have been left inside a CONFIG_PM_SLEEP check as seen by this
      message:
      
      drivers/net/wireless/ath/wil6210/pcie_bus.c:489:12: error: 'wil6210_pm_resume' defined but not used [-Werror=unused-function]
      drivers/net/wireless/ath/wil6210/pcie_bus.c:484:12: error: 'wil6210_pm_suspend' defined but not used [-Werror=unused-function]
      
      Using an __maybe_unused is easier here, so I'm replacing all the
      other #ifdef in this file as well for consistency.
      
      Fixes: 94162666 ("wil6210: run-time PM when interface down")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      203dab83
  8. 02 12月, 2017 4 次提交
  9. 09 8月, 2017 1 次提交
  10. 21 6月, 2017 2 次提交
  11. 23 5月, 2017 2 次提交
  12. 09 3月, 2017 1 次提交
  13. 28 1月, 2017 4 次提交
  14. 31 8月, 2016 1 次提交
  15. 19 8月, 2016 1 次提交
  16. 28 5月, 2016 1 次提交
  17. 07 3月, 2016 1 次提交
    • L
      wil6210: P2P_DEVICE virtual interface support · 4332cac1
      Lior David 提交于
      Added support for the P2P_DEVICE virtual interface. This interface
      is intended for P2P management operations such as discovery and
      GO negotiation. Normally it is implemented by drivers to allow
      a separate interface for P2P management with its own MAC address,
      but for 11ad drivers it is needed to support P2P search, since it
      cannot otherwise be separated from normal scan.
      
      Since we only support a single interface/MAC address, we can't
      easily separate between primary and P2P_DEVICE interfaces.
      For example when a management packet arrives we can't tell for
      which interface it is intended. To work around this, we store
      a pointer to the interface where the last "radio operation" was
      triggered such as scan or remain on channel, and we forward
      management packets and scan results to this interface.
      Signed-off-by: NLior David <qca_liord@qca.qualcomm.com>
      Signed-off-by: NMaya Erez <qca_merez@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      4332cac1
  18. 07 1月, 2016 1 次提交