Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8b9f78d authored by Surabhi Vishnoi's avatar Surabhi Vishnoi Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Update auth_status and mac addr of roamed peer to dp

This change updates the auth_status and mac address of roaming
peer received in roam_sync_indication from FW to dp.

Change-Id: I27744017c87a956927108c5b3b0f9220d7e42965
CRs-Fixed: 3185110
parent 585077c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3272,6 +3272,8 @@ cppflags-$(CONFIG_WLAN_FEATURE_PKT_CAPTURE) += -DWLAN_FEATURE_PKT_CAPTURE

cppflags-$(CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2) += -DWLAN_FEATURE_PKT_CAPTURE_V2

cppflags-$(CONFIG_DP_RX_UDP_OVER_PEER_ROAM) += -DDP_RX_UDP_OVER_PEER_ROAM

cppflags-$(CONFIG_QCA_WIFI_NAPIER_EMULATION) += -DQCA_WIFI_NAPIER_EMULATION
cppflags-$(CONFIG_SHADOW_V2) += -DCONFIG_SHADOW_V2
cppflags-$(CONFIG_QCA6290_HEADERS_DEF) += -DQCA6290_HEADERS_DEF
+1 −0
Original line number Diff line number Diff line
@@ -1203,6 +1203,7 @@ ifeq ($(CONFIG_CNSS_QCA6490), y)
ifeq ($(CONFIG_ARCH_LAHAINA), y)
CONFIG_WLAN_FEATURE_PKT_CAPTURE := y
CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2 := y
CONFIG_DP_RX_UDP_OVER_PEER_ROAM := y
endif
endif

+4 −0
Original line number Diff line number Diff line
@@ -825,6 +825,7 @@ static int wma_fill_roam_synch_buffer(tp_wma_handle wma,
				WMI_ROAM_SYNCH_EVENTID_param_tlvs *param_buf)
{
	wmi_roam_synch_event_fixed_param *synch_event;
	void *soc = cds_get_context(QDF_MODULE_ID_SOC);
	wmi_channel *chan;
	wmi_key_material *key;
	wmi_key_material_ext *key_ft;
@@ -856,6 +857,9 @@ static int wma_fill_roam_synch_buffer(tp_wma_handle wma,
		return status;
	}

	cdp_update_roaming_peer_in_vdev(soc, synch_event->vdev_id,
					roam_synch_ind_ptr->bssid.bytes,
					synch_event->auth_status);
	/*
	 * If lengths of bcn_probe_rsp, reassoc_req and reassoc_rsp are zero in
	 * synch_event driver would have received bcn_probe_rsp, reassoc_req