From 199049f281b36b1dccb8c70a9a70d2f8aa2824d9 Mon Sep 17 00:00:00 2001 From: Rathees kumar Chinannan Date: Wed, 8 Jul 2020 13:07:56 +0530 Subject: [PATCH] qcacmn: Add new param on peer assoc command Add new param on peer assoc command to pass sta type for bsscolor. Change-Id: I83f78c07f9079b23629c2f7f42d67ae9630c2d6c CRs-fixed: 2727001 --- wmi/inc/wmi_unified_param.h | 1 + wmi/src/wmi_unified_tlv.c | 1 + 2 files changed, 2 insertions(+) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index b0bebf400b..1e1fab2ee3 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -1085,6 +1085,7 @@ struct peer_assoc_params { uint32_t peer_he_rx_mcs_set[WMI_HOST_MAX_HE_RATE_SET]; uint32_t peer_he_tx_mcs_set[WMI_HOST_MAX_HE_RATE_SET]; struct wmi_host_ppe_threshold peer_ppet; + u_int8_t peer_bsscolor_rept_info; }; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 5215200075..bcb06d6491 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -2694,6 +2694,7 @@ static QDF_STATUS send_peer_assoc_cmd_tlv(wmi_unified_t wmi_handle, (param->peer_he_mcs_count * sizeof(wmi_he_rate_set))); buf_ptr += WMI_TLV_HDR_SIZE; + WMI_PEER_STA_TYPE_SET(cmd->sta_type, param->peer_bsscolor_rept_info); /* Loop through the HE rate set */ for (i = 0; i < param->peer_he_mcs_count; i++) { he_mcs = (wmi_he_rate_set *) buf_ptr;