qcacmn: Get Spectral bin scaling params
Extended service ready event has a tlv containing the spectral bin scaling parameters. Populate the spectral capabilities using this info. CRs-Fixed: 2379652 Change-Id: I0b4648302e7170b5965cf1aec68638e70cd36e73
This commit is contained in:

committed by
nshrivas

parent
27fba324b4
commit
ac0ddecb36
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2019 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
|
||||
@@ -172,6 +172,7 @@ struct target_supported_modes {
|
||||
* @service_ext_param: ext service params
|
||||
* @mac_phy_cap: phy caps array
|
||||
* @reg_cap: regulatory caps array
|
||||
* @scaling_params: Spectral bin scaling parameters
|
||||
* @num_mem_chunks: number of mem chunks allocated
|
||||
* @hw_mode_caps: HW mode caps of preferred mode
|
||||
* @mem_chunks: allocated memory blocks for FW
|
||||
@@ -196,6 +197,7 @@ struct tgt_info {
|
||||
struct wlan_psoc_host_mac_phy_caps
|
||||
mac_phy_cap[PSOC_MAX_MAC_PHY_CAP];
|
||||
struct wlan_psoc_host_dbr_ring_caps *dbr_ring_cap;
|
||||
struct wlan_psoc_host_spectral_scaling_params *scaling_params;
|
||||
uint32_t num_mem_chunks;
|
||||
struct wmi_host_mem_chunk mem_chunks[MAX_MEM_CHUNKS];
|
||||
struct wlan_psoc_host_hw_mode_caps hw_mode_cap;
|
||||
|
@@ -552,6 +552,7 @@ QDF_STATUS target_if_free_psoc_tgt_info(struct wlan_objmgr_psoc *psoc)
|
||||
}
|
||||
init_deinit_chainmask_table_free(ext_param);
|
||||
init_deinit_dbr_ring_cap_free(tgt_psoc_info);
|
||||
init_deinit_spectral_scaling_params_free(tgt_psoc_info);
|
||||
|
||||
qdf_event_destroy(&tgt_psoc_info->info.event);
|
||||
|
||||
|
Reference in New Issue
Block a user