diff --git a/hif/src/ce/ce_assignment.h b/hif/src/ce/ce_assignment.h index cd153bc1de8c..f49ae1ba59cf 100644 --- a/hif/src/ce/ce_assignment.h +++ b/hif/src/ce/ce_assignment.h @@ -110,8 +110,8 @@ static struct CE_attr host_ce_config_wlan[] = { { /* CE9 */ CE_ATTR_FLAGS, 0, 0, 2048, 512, NULL,}, /* target->host HTT */ { /* CE10 */ CE_ATTR_FLAGS, 0, 0, 2048, 512, NULL,}, - /*The following CEs are not being used yet */ - { /* CE11 */ CE_ATTR_FLAGS, 0, 0, 0, 0, NULL,}, + /* target -> host PKTLOG */ + { /* CE11 */ CE_ATTR_FLAGS, 0, 0, 2048, 512, NULL,}, }; static struct CE_pipe_config target_ce_config_wlan[] = { @@ -141,8 +141,8 @@ static struct CE_pipe_config target_ce_config_wlan[] = { { /* CE9 */ 9, PIPEDIR_IN, 32, 2048, CE_ATTR_FLAGS, 0,}, /* CE10 target->host HTT */ { /* CE10 */ 10, PIPEDIR_IN, 32, 2048, CE_ATTR_FLAGS, 0,}, - /*The following CEs are not being used yet*/ - { /* CE11 */ 11, PIPEDIR_IN, 0, 0, CE_ATTR_FLAGS, 0,}, + /* Target -> host PKTLOG */ + { /* CE11 */ 11, PIPEDIR_IN, 32, 2048, CE_ATTR_FLAGS, 0,}, }; static struct CE_attr host_ce_config_wlan_epping_poll[] = { diff --git a/hif/src/ce/ce_main.c b/hif/src/ce/ce_main.c index d34a084dd729..90a2613f2585 100644 --- a/hif/src/ce/ce_main.c +++ b/hif/src/ce/ce_main.c @@ -123,6 +123,7 @@ static struct shadow_reg_cfg target_shadow_reg_cfg_map[] = { #ifdef QCA_WIFI_3_0_ADRASTEA { 9, ADRASTEA_DST_WR_INDEX_OFFSET}, { 10, ADRASTEA_DST_WR_INDEX_OFFSET}, + { 11, ADRASTEA_DST_WR_INDEX_OFFSET}, #endif }; @@ -306,6 +307,11 @@ static struct service_to_pipe target_service_to_ce_map_wlan[] = { PIPEDIR_IN, /* in = DL = target -> host */ 10, }, + { + PACKET_LOG_SVC, + PIPEDIR_IN, /* in = DL = target -> host */ + 11, + }, #endif /* (Additions here) */ @@ -2352,6 +2358,9 @@ u32 shadow_dst_wr_ind_addr(struct hif_softc *scn, u32 ctrl_addr) case 10: addr = SHADOW_VALUE22; break; + case 11: + addr = SHADOW_VALUE23; + break; default: HIF_ERROR("invalid CE ctrl_addr (CE=%d)", ce); QDF_ASSERT(0);