wil6210: add support for enhanced DMA RX data flows
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: Gidon Studinski <gidons@codeaurora.org> Signed-off-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
9202d7b674
commit
7be13fc3e6
@@ -632,6 +632,7 @@ int wil_priv_init(struct wil6210_priv *wil)
|
||||
/* edma configuration can be updated via debugfs before allocation */
|
||||
wil->num_rx_status_rings = WIL_DEFAULT_NUM_RX_STATUS_RINGS;
|
||||
wil->use_compressed_rx_status = true;
|
||||
wil->use_rx_hw_reordering = true;
|
||||
wil->tx_status_ring_order = WIL_TX_SRING_SIZE_ORDER_DEFAULT;
|
||||
|
||||
/* Rx status ring size should be bigger than the number of RX buffers
|
||||
@@ -645,6 +646,8 @@ int wil_priv_init(struct wil6210_priv *wil)
|
||||
*/
|
||||
wil->rx_buff_id_count = WIL_RX_BUFF_ARR_SIZE_DEFAULT;
|
||||
|
||||
wil->amsdu_en = 1;
|
||||
|
||||
return 0;
|
||||
|
||||
out_wmi_wq:
|
||||
|
Reference in New Issue
Block a user