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
This commit is contained in:
Surabhi Vishnoi 2022-04-22 16:16:00 +05:30 committed by Madan Koyyalamudi
parent 585077c30e
commit e8b9f78d07
3 changed files with 7 additions and 0 deletions

2
Kbuild
View File

@ -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

View File

@ -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

View File

@ -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