ソースを参照

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

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

Change-Id: I27744017c87a956927108c5b3b0f9220d7e42965
CRs-Fixed: 3185110
Surabhi Vishnoi 2 年 前
コミット
9c959bdc3a
3 ファイル変更7 行追加0 行削除
  1. 2 0
      Kbuild
  2. 4 0
      components/wmi/src/wmi_unified_roam_tlv.c
  3. 1 0
      configs/default_defconfig

+ 2 - 0
Kbuild

@@ -3786,6 +3786,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_EMULATION) += -DQCA_WIFI_EMULATION
 cppflags-$(CONFIG_SHADOW_V2) += -DCONFIG_SHADOW_V2
 cppflags-$(CONFIG_QCA6290_HEADERS_DEF) += -DQCA6290_HEADERS_DEF

+ 4 - 0
components/wmi/src/wmi_unified_roam_tlv.c

@@ -2259,6 +2259,7 @@ wmi_fill_roam_sync_buffer(struct wlan_objmgr_vdev *vdev,
 			  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 = NULL;
 	wmi_key_material *key;
 	wmi_key_material_ext *key_ft;
@@ -2283,6 +2284,9 @@ wmi_fill_roam_sync_buffer(struct wlan_objmgr_vdev *vdev,
 		  roam_sync_ind->rssi,
 		  roam_sync_ind->isBeacon);
 
+	cdp_update_roaming_peer_in_vdev(soc, synch_event->vdev_id,
+					roam_sync_ind->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

+ 1 - 0
configs/default_defconfig

@@ -1436,6 +1436,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