From d47d3c47236b2e68df0602ca1fc22e6d2a7fbbab Mon Sep 17 00:00:00 2001 From: aloksing Date: Fri, 27 Jan 2023 15:23:58 +0530 Subject: [PATCH] qcacmn: Update vht flag values per user Update vht flag values per user when vht flag is set CRs-Fixed: 3387851 Change-Id: Ibc0f729f39539a796d4deb0ddae35460c27ce9a8 --- hal/wifi3.0/be/hal_be_api_mon.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/hal/wifi3.0/be/hal_be_api_mon.h b/hal/wifi3.0/be/hal_be_api_mon.h index 6aa1058b3e..acd077e86a 100644 --- a/hal/wifi3.0/be/hal_be_api_mon.h +++ b/hal/wifi3.0/be/hal_be_api_mon.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2021, The Linux Foundation. All rights reserved. - * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -550,6 +550,19 @@ hal_rx_populate_mu_user_info(void *rx_tlv, void *ppduinfo, uint32_t user_id, mon_rx_user_status->ht_flags = ppdu_info->rx_status.ht_flags; mon_rx_user_status->rtap_flags = ppdu_info->rx_status.rtap_flags; mon_rx_user_status->vht_flags = ppdu_info->rx_status.vht_flags; + if (mon_rx_user_status->vht_flags) { + mon_rx_user_status->vht_flag_values2 = + ppdu_info->rx_status.vht_flag_values2; + qdf_mem_copy(mon_rx_user_status->vht_flag_values3, + ppdu_info->rx_status.vht_flag_values3, + sizeof(mon_rx_user_status->vht_flag_values3)); + mon_rx_user_status->vht_flag_values4 = + ppdu_info->rx_status.vht_flag_values4; + mon_rx_user_status->vht_flag_values5 = + ppdu_info->rx_status.vht_flag_values5; + mon_rx_user_status->vht_flag_values6 = + ppdu_info->rx_status.vht_flag_values6; + } mon_rx_user_status->he_flags = ppdu_info->rx_status.he_flags; mon_rx_user_status->rs_flags = ppdu_info->rx_status.rs_flags;