qcacld-3.0: Add the ini gTDLSDiscoveryWakeTimeout

Add the support for the ini gTDLSDiscoveryWakeTimeout.
with this ini gTDLSDiscoveryWakeTimeout, FW will be awake
for configured value after sending the discovery request.

Change-Id: I194e5c99972968bbaa46ffb6b8e83604bff15a0a
CRs-Fixed: 2546515
Šī revīzija ir iekļauta:
Bala Venkatesh
2019-11-04 12:41:06 +05:30
revīziju iesūtīja nshrivas
vecāks e5fe7adfe4
revīzija ff86f89448
4 mainīti faili ar 39 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -625,6 +625,33 @@
96, \
CFG_VALUE_OR_DEFAULT, \
"TDLS peer kick out threshold to firmware")
/*
* <ini>
* gTDLSDiscoveryWakeTimeout - TDLS discovery WAKE timeout in ms.
* @Min: 10
* @Max: 5000
* @Default: 96
*
* DUT will wake until this timeout to receive TDLS discovery response
* from peer. If tdls_discovery_wake_timeout is 0x0, the DUT will
* choose autonomously what wake timeout value to use.
*
*
* Related: gEnableTDLSSupport.
*
* Supported Feature: TDLS
*
* Usage: External
*
* </ini>
*/
#define CFG_TDLS_DISCOVERY_WAKE_TIMEOUT CFG_INI_UINT( \
"gTDLSDiscoveryWakeTimeout", \
0, \
2000, \
200, \
CFG_VALUE_OR_DEFAULT, \
"TDLS peer kick out threshold to firmware")
/*
* <ini>
@@ -676,6 +703,7 @@
CFG(CFG_TDLS_WMM_MODE_ENABLE) \
CFG(CFG_TDLS_SCAN_ENABLE) \
CFG(CFG_TDLS_PEER_KICKOUT_THRESHOLD) \
CFG(CFG_TDLS_DISCOVERY_WAKE_TIMEOUT) \
CFG(CFG_TDLS_ENABLE_DEFER_TIMER)
#endif

Parādīt failu

@@ -455,6 +455,7 @@ enum tdls_feature_bit {
* @tdls_pre_off_chan_num: tdls off channel number
* @tdls_pre_off_chan_bw: tdls off channel bandwidth
* @tdls_peer_kickout_threshold: sta kickout threshold for tdls peer
* @tdls_discovery_wake_timeout: tdls discovery wake timeout
* @delayed_trig_framint: delayed trigger frame interval
* @tdls_vdev_nss_2g: tdls NSS setting for 2G band
* @tdls_vdev_nss_5g: tdls NSS setting for 5G band
@@ -485,6 +486,7 @@ struct tdls_user_config {
uint32_t tdls_pre_off_chan_num;
uint32_t tdls_pre_off_chan_bw;
uint32_t tdls_peer_kickout_threshold;
uint32_t tdls_discovery_wake_timeout;
uint32_t delayed_trig_framint;
uint8_t tdls_vdev_nss_2g;
uint8_t tdls_vdev_nss_5g;
@@ -826,6 +828,7 @@ struct tdls_oper_config_force_peer_request {
* @teardown_notification_ms: tdls teardown notification interval
* @tdls_peer_kickout_threshold: tdls packets threshold
* for peer kickout operation
* @tdls_discovery_wake_timeout: tdls discovery wake timeout
*/
struct tdls_info {
uint32_t vdev_id;
@@ -843,6 +846,7 @@ struct tdls_info {
uint32_t puapsd_rx_frame_threshold;
uint32_t teardown_notification_ms;
uint32_t tdls_peer_kickout_threshold;
uint32_t tdls_discovery_wake_timeout;
};
/**