mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Use different copy engine for packetlog
Create new endpoint and use CE11 for packetlog messages from target to host. CRs-Fixed: 995628 Change-Id: I0df597468b0b7399dc545b5a4d4fd1a4c04a1df0
This commit is contained in:
parent
c64364e6a9
commit
75cc5c83eb
2 changed files with 13 additions and 4 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue