qcacmn: Send re_ul_resp configuration through WMI resource config

Send configuration option to configure enable/disable of re_ul_resp..

Change-Id: I045e48bb1597c37805d792bdc34bcb34bcc0534c
Цей коміт міститься в:
Rathees kumar Chinannan
2020-01-06 17:47:22 +05:30
зафіксовано Nitesh Shrivastav
джерело 2729e6d5d9
коміт e6d621740b
2 змінених файлів з 7 додано та 1 видалено

Переглянути файл

@@ -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;
/**

Переглянути файл

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