qcacmn: Add cfg_dp_sg_enable to get ini key dp_sg_support

Add cfg_dp_sg_enable to get ini key dp_sg_support by cdp_cfg_get.
And add some comments for CFG_DP_SG to clarify more.

Change-Id: I34de242eacbdcf55398afe64b91f5534f205fa22
CRs-Fixed: 2822536
This commit is contained in:
Tiger Yu
2020-11-20 11:15:29 +08:00
committed by snandini
parent 1a0bc1efc4
commit 9fc47f763e
4 changed files with 21 additions and 0 deletions

View File

@@ -10728,6 +10728,9 @@ static uint32_t dp_get_cfg(struct cdp_soc_t *soc, enum cdp_dp_cfg cfg)
case cfg_dp_gro_enable:
value = dpsoc->wlan_cfg_ctx->gro_enabled;
break;
case cfg_dp_sg_enable:
value = dpsoc->wlan_cfg_ctx->sg_enabled;
break;
case cfg_dp_tx_flow_start_queue_offset:
value = dpsoc->wlan_cfg_ctx->tx_flow_start_queue_offset;
break;