qcacmn: Initialize command/credit ring for qca8074 & qcn9000
Initialize command/credit ring for qca8074 & qcn9000. Change-Id: I28087dd4d8f4afddd954c764c2e85da43eaf78f1 CRs-fixed: 2562649
Esse commit está contido em:
@@ -1412,6 +1412,7 @@ struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
hal_tx_comp_get_release_reason_generic,
|
||||
hal_get_wbm_internal_error_generic,
|
||||
hal_tx_desc_set_mesh_en_9000,
|
||||
hal_tx_init_cmd_credit_ring_9000,
|
||||
|
||||
/* rx */
|
||||
hal_rx_msdu_start_nss_get_9000,
|
||||
@@ -1622,11 +1623,12 @@ struct hal_hw_srng_config hw_srng_table_9000[] = {
|
||||
HWIO_TCL_R0_SW2TCL1_RING_BASE_MSB_RING_SIZE_BMSK >>
|
||||
HWIO_TCL_R0_SW2TCL1_RING_BASE_MSB_RING_SIZE_SHFT,
|
||||
},
|
||||
{ /* TCL_CMD */
|
||||
{ /* TCL_CMD/CREDIT */
|
||||
/* qca8074v2 and qcn9000 uses this ring for data commands */
|
||||
.start_ring_id = HAL_SRNG_SW2TCL_CMD,
|
||||
.max_rings = 1,
|
||||
.entry_size = (sizeof(struct tlv_32_hdr) +
|
||||
sizeof(struct tcl_gse_cmd)) >> 2,
|
||||
sizeof(struct tcl_data_cmd)) >> 2,
|
||||
.lmac_ring = FALSE,
|
||||
.ring_dir = HAL_SRNG_SRC_RING,
|
||||
.reg_start = {
|
||||
|
Referência em uma nova issue
Block a user