qcacld-3.0: Add ini to support twt in 11n mode

Currently TWT works only in 11ax. Add enable_twt_in_11n
ini to support TWT in 11n mode.
False: DO not support TWT in 11n mode
True: Support TWT in 11n mode

Change-Id: If1011c9a24b9c285199d7b0e60e5614d6c1f8786
CRs-Fixed: 3185100
This commit is contained in:
Jyoti Kumari
2022-03-19 23:44:39 +05:30
committed by Madan Koyyalamudi
부모 090783be72
커밋 abf8be9f56
6개의 변경된 파일81개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@@ -193,13 +193,37 @@
0, \
"HE Flex Twt Sched")
/*
* <ini>
* enable_twt_in_11n - Enable TWT support in 11n mode
* @MIN: 0
* @MAX: 1
* @Default: 0
*
* This ini is used to enable/disable TWT support 11n mode.
* Generally by default TWT support present from HE capable
* devices but if this ini is enabled then it will support
* partially from 11n mode itself.
*
* Related: NA
*
* Usage: External
*
* </ini>
*/
#define CFG_TWT_ENABLE_IN_11N CFG_INI_BOOL( \
"enable_twt_in_11n", \
false, \
"enable twt support in 11n mode")
#define CFG_TWT_ALL \
CFG(CFG_ENABLE_TWT) \
CFG(CFG_TWT_REQUESTOR) \
CFG(CFG_TWT_RESPONDER) \
CFG(CFG_TWT_CONGESTION_TIMEOUT) \
CFG(CFG_BCAST_TWT_REQ_RESP) \
CFG(CFG_ENABLE_TWT_24GHZ)
CFG(CFG_ENABLE_TWT_24GHZ) \
CFG(CFG_TWT_ENABLE_IN_11N)
#elif !defined(WLAN_SUPPORT_TWT) && !defined(WLAN_TWT_CONV_SUPPORTED)
#define CFG_TWT_ALL
#endif