Browse Source

qcacld-3.0: Reduce minimum value for 11k offload cache timeout

Reduce the minimum value for the ini nr_offload_cache_timeout to
5 seconds.

This is done to give the user a shorter cache_timeout to trigger
neighbor report frames more frequently.

Change-Id: Ica5359b9e826dad382868de991dcbf204c10a096
CRs-Fixed: 2189034
Vignesh Viswanathan 7 years ago
parent
commit
0fcb4d3b6b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      core/hdd/inc/wlan_hdd_cfg.h

+ 4 - 4
core/hdd/inc/wlan_hdd_cfg.h

@@ -14199,7 +14199,7 @@ enum hdd_external_acs_freq_band {
  * nr_offload_time_offset - time interval in seconds after the
  * neighbor report offload command to send the first neighbor report request
  * frame
- * @Min: 30
+ * @Min: 0
  * @Max: 3600
  * @Default: 30
  *
@@ -14282,7 +14282,7 @@ enum hdd_external_acs_freq_band {
  * nr_offload_cache_timeout - time in seconds after which the
  * neighbor report cache is marked as timed out and any of the triggers would
  * cause a neighbor report request frame to be sent.
- * @Min: 300
+ * @Min: 5
  * @Max: 86400
  * @Default: 1200
  *
@@ -14294,7 +14294,7 @@ enum hdd_external_acs_freq_band {
  */
 #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_NAME \
 	"nr_offload_cache_timeout"
-#define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_MIN     (300)
+#define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_MIN     (5)
 #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_MAX     (86400)
 #define CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_DEFAULT (1200)
 
@@ -14304,7 +14304,7 @@ enum hdd_external_acs_freq_band {
  * report requests that can be sent to a connected peer in the current session.
  * This counter is reset once a successful roam happens or at cache timeout
  * @Min: 3
- * @Max: 10
+ * @Max: 300
  * @Default: 3
  *
  * Related : nr_offload_params_bitmask