qcacmn: Fix MCC WHUNT compilation issue

Fix WHUNT compilation issue.

Change-Id: Iaa8722a3fe2854a41dc21626ec61fceb93cad397
这个提交包含在:
Chaithanya Garrepalli
2021-11-24 10:31:53 +05:30
提交者 Madan Koyyalamudi
父节点 bd23cf7dcc
当前提交 823c259075
修改 2 个文件,包含 11 行新增9 行删除

查看文件

@@ -891,12 +891,12 @@ dp_rx_desc_pool_init_be_cc(struct dp_soc *soc,
dp_alert("insufficient secondary page tables");
qdf_assert_always(0);
}
/* put each RX Desc VA to SPT pages and
* get corresponding ID
*/
page_desc = &cc_ctx->page_desc_base[ppt_idx++];
}
/* put each RX Desc VA to SPT pages and
* get corresponding ID
*/
DP_CC_SPT_PAGE_UPDATE_VA(page_desc->page_v_addr,
avail_entry_index,
&rx_desc_elem->rx_desc);
@@ -947,12 +947,12 @@ dp_rx_desc_pool_init_be_cc(struct dp_soc *soc,
dp_alert("insufficient secondary page tables");
qdf_assert_always(0);
}
/* put each RX Desc VA to SPT pages and
* get corresponding ID
*/
page_desc = &cc_ctx->page_desc_base[ppt_idx++];
}
/* put each RX Desc VA to SPT pages and
* get corresponding ID
*/
DP_CC_SPT_PAGE_UPDATE_VA(page_desc->page_v_addr,
avail_entry_index,
&rx_desc_pool->array[i].rx_desc);

查看文件

@@ -470,17 +470,19 @@ QDF_STATUS dp_tx_desc_pool_init_be(struct dp_soc *soc,
cc_ctx = &be_soc->tx_cc_ctx[pool_id];
tx_desc = tx_desc_pool->freelist;
page_desc = &cc_ctx->page_desc_base[0];
while (tx_desc) {
if (avail_entry_index == 0) {
if (ppt_idx >= cc_ctx->total_page_num) {
dp_alert("insufficient secondary page tables");
qdf_assert_always(0);
}
/* put each TX Desc VA to SPT pages and
* get corresponding ID
*/
page_desc = &cc_ctx->page_desc_base[ppt_idx++];
}
/* put each TX Desc VA to SPT pages and
* get corresponding ID
*/
DP_CC_SPT_PAGE_UPDATE_VA(page_desc->page_v_addr,
avail_entry_index,
tx_desc);