qcacmn: Add an ini control to disable Dynamic GRO feature

Dynamic GRO feature is enabled by default and aimed for specific
customers. Add an ini control to allow other customers to config
this feature enable/disable.

Change-Id: I7f505599327ac131b3cdac9b4d9e038861b1aeb6
CRs-Fixed: 3074689
This commit is contained in:
Yu Tian
2021-11-11 19:26:50 +08:00
committed by Madan Koyyalamudi
parent 465d1dfb24
commit ac2110769b
6 changed files with 43 additions and 3 deletions

View File

@@ -11202,6 +11202,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_force_gro_enable:
value = dpsoc->wlan_cfg_ctx->force_gro_enabled;
break;
case cfg_dp_sg_enable:
value = dpsoc->wlan_cfg_ctx->sg_enabled;
break;