qcacld-3.0: Add SAR version to struct wma_tgt_cfg
HDD needs to know the SAR version running in firmware so add that information to struct wma_tgt_cfg. Change-Id: Idcb79921cb417a923ced8b6cfed2672bee03eaf1 CRs-Fixed: 2282071
这个提交包含在:
@@ -114,11 +114,6 @@
|
||||
#define MAX_NUM_HW_MODE 0xff
|
||||
#define MAX_NUM_PHY 0xff
|
||||
|
||||
enum sar_version {
|
||||
SAR_VERSION_1,
|
||||
SAR_VERSION_2
|
||||
};
|
||||
|
||||
/**
|
||||
* struct index_data_rate_type - non vht data rate type
|
||||
* @mcs_index: mcs rate index
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#ifndef WMA_TGT_CFG_H
|
||||
#define WMA_TGT_CFG_H
|
||||
|
||||
#include "wma_sar_public_structs.h"
|
||||
|
||||
/**
|
||||
* struct wma_tgt_services - target services
|
||||
* @sta_power_save: sta power save
|
||||
@@ -178,6 +180,7 @@ struct board_info {
|
||||
* @rcpi_enabled: for checking rcpi support
|
||||
* @obss_detection_offloaded: obss detection offloaded to firmware
|
||||
* @obss_color_collision_offloaded: obss color collision offloaded to firmware
|
||||
* @sar_version: Version of SAR supported by firmware
|
||||
*/
|
||||
struct wma_tgt_cfg {
|
||||
uint32_t target_fw_version;
|
||||
@@ -218,5 +221,6 @@ struct wma_tgt_cfg {
|
||||
bool obss_color_collision_offloaded;
|
||||
uint32_t hw_bd_id;
|
||||
struct board_info hw_bd_info;
|
||||
enum sar_version sar_version;
|
||||
};
|
||||
#endif /* WMA_TGT_CFG_H */
|
||||
|
在新工单中引用
屏蔽一个用户