Forráskód Böngészése

qcacmn: Add iface changes to enable/disable FT-IM in FW

With specific AP(s), FW needs to perform FT initial mobility
association instead of FT roaming for deauth roam trigger.

Add iface changes to configure "FT initial mobility roaming
for deauth roam trigger" behavior from the HOST.

Change-Id: I695a36b66a7a53e8d08526c065a9530196646184
CRs-fixed: 2665885
Abhinav Kumar 5 éve
szülő
commit
395336f2f9
2 módosított fájl, 6 hozzáadás és 0 törlés
  1. 3 0
      wmi/inc/wmi_unified_param.h
  2. 3 0
      wmi/src/wmi_unified_roam_tlv.c

+ 3 - 0
wmi/inc/wmi_unified_param.h

@@ -1691,6 +1691,8 @@ struct roam_fils_params {
  * device is considered to be inactive
  * @is_sae_same_pmk: Flag to indicate fw whether WLAN_SAE_SINGLE_PMK feature is
  * enable or not
+ * @enable_ft_im_roaming: Flag to enable/disable FT-IM roaming upon receiving
+ * deauth
  * @roam_inactive_data_packet_count: Maximum allowed data packets count during
  * roam_scan_inactivity_time.
  * @roam_scan_period_after_inactivity: Roam scan period in ms after device is
@@ -1720,6 +1722,7 @@ struct roam_offload_scan_params {
 	uint32_t rct_validity_timer;
 	bool is_adaptive_11r;
 	bool is_sae_same_pmk;
+	bool enable_ft_im_roaming;
 #endif
 	uint32_t min_delay_btw_roam_scans;
 	uint32_t roam_trigger_reason_bitmask;

+ 3 - 0
wmi/src/wmi_unified_roam_tlv.c

@@ -1311,6 +1311,9 @@ send_roam_scan_offload_mode_cmd_tlv(wmi_unified_t wmi_handle,
 					roam_req->mdid.mobility_domain;
 				roam_offload_11r->adaptive_11r =
 					roam_req->is_adaptive_11r;
+				roam_offload_11r->ft_im_for_deauth =
+					roam_req->enable_ft_im_roaming;
+
 				if (auth_mode == WMI_AUTH_OPEN) {
 					/* If FT-Open ensure pmk length
 					   and r0khid len are zero */