qcacld-3.0: Converge gDataInactivityTimeout default values

There is a desire to remove unnecessary items from the default version
of WCNSS_qcom_cfg.ini that is shipped to customers. Currently the
default WCNSS_qcom_cfg.ini contains the following entry:
    gDataInactivityTimeout=200

The associated default value within the driver is:
    #define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT (20)

These are obviously divergent and should be converged.

Note that this flag is used to change the value of the MAC CFG item
WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT, and this currently has the
following default value:
    #define WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STADEF 20

Since all recent testing has used the default WCNSS_qcom_cfg.ini,
converge on the value defined there, 200, in all locations.

Change-Id: I7895911708d5d17f73971254865da2cc177a3c5a
CRs-Fixed: 1063037
This commit is contained in:
Jeff Johnson 2016-09-02 14:02:31 -07:00
commit 9c9be7126c
2 changed files with 2 additions and 2 deletions

View file

@ -572,7 +572,7 @@ typedef enum {
#define CFG_DATA_INACTIVITY_TIMEOUT_NAME "gDataInactivityTimeout"
#define CFG_DATA_INACTIVITY_TIMEOUT_MIN (1)
#define CFG_DATA_INACTIVITY_TIMEOUT_MAX (255)
#define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT (20)
#define CFG_DATA_INACTIVITY_TIMEOUT_DEFAULT (200)
#define CFG_RF_SETTLING_TIME_CLK_NAME "rfSettlingTimeUs"
#define CFG_RF_SETTLING_TIME_CLK_MIN (0)

View file

@ -408,7 +408,7 @@ enum {
#define WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STAMIN 1
#define WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STAMAX 255
#define WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STADEF 20
#define WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STADEF 200
#define WNI_CFG_RF_SETTLING_TIME_CLK_STAMIN 0
#define WNI_CFG_RF_SETTLING_TIME_CLK_STAMAX 60000