summaryrefslogtreecommitdiff
path: root/target_if
diff options
context:
space:
mode:
authorArunk Khandavalli <akhandav@codeaurora.org>2018-02-05 15:42:31 +0530
committersnandini <snandini@codeaurora.org>2018-02-08 07:55:50 -0800
commite460c52c3fd0151fd31c2025d0340e712cd81197 (patch)
tree03c144c19c4c6fbe64a85ea887b83728ecacd977 /target_if
parent37995ac19603fcd4f1b64dfda6939b8fac67edd1 (diff)
downloadqca-wfi-host-cmn-e460c52c3fd0151fd31c2025d0340e712cd81197.tar.gz
qcacmn: update the pcl info from the converged structures
Update the pcl information from the converged strutures. CRs-Fixed: 2179012 Change-Id: Id9269e85728409645266e1edc17d03237144a9cc
Diffstat (limited to 'target_if')
-rw-r--r--target_if/init_deinit/inc/service_ready_param.h2
-rw-r--r--target_if/init_deinit/src/service_ready_util.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/target_if/init_deinit/inc/service_ready_param.h b/target_if/init_deinit/inc/service_ready_param.h
index bffc1af15..09cc66795 100644
--- a/target_if/init_deinit/inc/service_ready_param.h
+++ b/target_if/init_deinit/inc/service_ready_param.h
@@ -116,6 +116,7 @@ struct wlan_psoc_host_ppe_threshold {
* by hw_mode_id.
* @pdev_id: pdev_id starts with 1. pdev_id 1 => phy_id 0, pdev_id 2 => phy_id 1
* @phy_id: Starts with 0
+ * @hw_mode_config_type: holds the enum wmi_hw_mode_config_type
* @bitmap of supported modulations
* @supported_bands: supported bands, enum WLAN_BAND_CAPABILITY
* @ampdu_density: ampdu density 0 for no restriction, 1 for 1/4 us,
@@ -159,6 +160,7 @@ struct wlan_psoc_host_mac_phy_caps {
uint32_t hw_mode_id;
uint32_t pdev_id;
uint32_t phy_id;
+ int hw_mode_config_type;
uint32_t supports_11b:1,
supports_11g:1,
supports_11a:1,
diff --git a/target_if/init_deinit/src/service_ready_util.c b/target_if/init_deinit/src/service_ready_util.c
index 64fb26fcd..e572b97fa 100644
--- a/target_if/init_deinit/src/service_ready_util.c
+++ b/target_if/init_deinit/src/service_ready_util.c
@@ -171,7 +171,8 @@ int init_deinit_populate_mac_phy_capability(void *handle, uint8_t *evt,
target_if_err("failed to parse mac phy capability");
return qdf_status_to_os_return(status);
}
-
+ info->mac_phy_cap[info->total_mac_phy_cnt].hw_mode_config_type
+ = hw_cap->hw_mode_config_type;
info->total_mac_phy_cnt++;
phy_bit_map &= (phy_bit_map - 1);
mac_phy_id++;