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

@@ -604,6 +604,22 @@
CFG_INI_BOOL("LROEnable", WLAN_LRO_ENABLE, \
"DP LRO Enable")
/*
* <ini>
* CFG_DP_SG - Enable the SG feature standalonely
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini entry is used to enable/disable SG feature standalonely.
* Also does Rome support SG on TX, lithium does not.
* For example the lithium does not support SG on UDP frames.
* Which is able to handle SG only for TSO frames(in case TSO is enabled).
*
* Usage: External
*
* </ini>
*/
#define CFG_DP_SG \
CFG_INI_BOOL("dp_sg_support", false, \
"DP SG Enable")