Эх сурвалжийг харах

qcacmn: Add new ini to set min delay btw scan and reason bit-mask

Add ini "min_delay_btw_scans" to set minimum duration allowed between
two consecutive roam scans. Fw should not allow roam scan if duration
between two consecutive roam scan is less than min_delay_btw_scan.

Add ini "roam_trigger_reason_bitmask" to set default value of
bit-mask containing roam_trigger_reasons for which
min_delay_btw_scans constraints should be apply.

Pass value of min_delay_btw_scans and roam_trigger_reason_bitmask
to fw.

Change-Id: I2397467a13a720e763d1181d8cd50c571f861366
CRs-Fixed: 2221785
Abhinav Kumar 7 жил өмнө
parent
commit
e59492a72b
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      wmi_unified_param.h

+ 4 - 0
wmi_unified_param.h

@@ -1931,6 +1931,8 @@ struct roam_fils_params {
  * @is_ese_assoc: flag to determine ese assoc
  * @mdid: mobility domain info
  * @roam_offload_params: roam offload tlv params
+ * @min_delay_btw_roam_scans: Delay btw two scans
+ * @roam_trigger_reason_bitmask: Roam reason bitmark
  * @assoc_ie_length: Assoc IE length
  * @assoc_ie: Assoc IE buffer
  * @add_fils_tlv: add FILS TLV boolean
@@ -1957,6 +1959,8 @@ struct roam_offload_scan_params {
 	bool fw_okc;
 	bool fw_pmksa_cache;
 #endif
+	uint32_t min_delay_btw_roam_scans;
+	uint32_t roam_trigger_reason_bitmask;
 	bool is_ese_assoc;
 	bool is_11r_assoc;
 	struct mobility_domain_info mdid;