diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index d2c000e221..9859fbd31c 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -5162,6 +5162,7 @@ struct wmi_host_fw_abi_ver { * @max_bssid_indicator: max number of MBSS VAPs * @three_way_coex_config_legacy_en: enable three way coex legacy feature * @max_num_group_keys: max number of group keys supported for VLAN + * @re_ul_resp: enable 11ax UL response feature (UL-OFDMA) for repeater */ typedef struct { uint32_t num_vdevs; @@ -5247,6 +5248,7 @@ typedef struct { bool tstamp64_en; bool three_way_coex_config_legacy_en; uint32_t max_num_group_keys; + uint32_t re_ul_resp; } target_resource_config; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index c73d4ffab4..e51e1115d2 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2020 The Linux Foundation. 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 @@ -6750,6 +6750,10 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, resource_cfg->peer_map_unmap_v2_support = tgt_res_cfg->peer_map_unmap_v2; resource_cfg->smart_ant_cap = tgt_res_cfg->smart_ant_cap; + if (tgt_res_cfg->re_ul_resp) + WMI_SET_BITS(resource_cfg->flags2, 0, 4, + tgt_res_cfg->re_ul_resp); + } /* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd