qcacmn: Add non-tlv implementation in common wmi layer( part 2)
Add non-tlv fixes for issues observed during L1 validation in WIN platform. Change-Id: I20efe25021258137a97dc408b93c9fdc3714f367 Acked-by: Sathish Kumar <ksathis@qti.qualcomm.com> CRs-Fixed: 1005778
This commit is contained in:

committed by
Akash Patel

parent
c10bde875f
commit
41da3152b2
@@ -1185,7 +1185,7 @@ QDF_STATUS wmi_extract_composite_phyerr(void *wmi_hdl, void *evt_buf,
|
|||||||
QDF_STATUS wmi_extract_profile_ctx(void *wmi_hdl, void *evt_buf,
|
QDF_STATUS wmi_extract_profile_ctx(void *wmi_hdl, void *evt_buf,
|
||||||
wmi_host_wlan_profile_ctx_t *profile_ctx);
|
wmi_host_wlan_profile_ctx_t *profile_ctx);
|
||||||
|
|
||||||
QDF_STATUS wmi_extract_profile_data(void *wmi_hdl, void *evt_buf,
|
QDF_STATUS wmi_extract_profile_data(void *wmi_hdl, void *evt_buf, uint8_t idx,
|
||||||
wmi_host_wlan_profile_t *profile_data);
|
wmi_host_wlan_profile_t *profile_data);
|
||||||
|
|
||||||
QDF_STATUS wmi_extract_chan_info_event(void *wmi_hdl, void *evt_buf,
|
QDF_STATUS wmi_extract_chan_info_event(void *wmi_hdl, void *evt_buf,
|
||||||
|
@@ -118,6 +118,7 @@
|
|||||||
#define RTT_TIMEOUT_MS 180
|
#define RTT_TIMEOUT_MS 180
|
||||||
#define MAX_SUPPORTED_RATES 128
|
#define MAX_SUPPORTED_RATES 128
|
||||||
#define WMI_HOST_MAX_BUFFER_SIZE 1712
|
#define WMI_HOST_MAX_BUFFER_SIZE 1712
|
||||||
|
#define WMI_HAL_MAX_SANTENNA 4
|
||||||
|
|
||||||
#define WMI_HOST_F_MS(_v, _f) \
|
#define WMI_HOST_F_MS(_v, _f) \
|
||||||
(((_v) & (_f)) >> (_f##_S))
|
(((_v) & (_f)) >> (_f##_S))
|
||||||
@@ -3244,13 +3245,15 @@ struct thermal_mitigation_params {
|
|||||||
* @enable: Enable/Disable
|
* @enable: Enable/Disable
|
||||||
* @mode: SA mode
|
* @mode: SA mode
|
||||||
* @rx_antenna: RX antenna config
|
* @rx_antenna: RX antenna config
|
||||||
* @is_ar900b: Is target ar900b
|
* @gpio_pin : GPIO pin config
|
||||||
|
* @gpio_func : GPIO function config
|
||||||
*/
|
*/
|
||||||
struct smart_ant_enable_params {
|
struct smart_ant_enable_params {
|
||||||
uint32_t enable;
|
uint32_t enable;
|
||||||
uint32_t mode;
|
uint32_t mode;
|
||||||
uint32_t rx_antenna;
|
uint32_t rx_antenna;
|
||||||
bool is_ar900b;
|
uint32_t gpio_pin[WMI_HAL_MAX_SANTENNA];
|
||||||
|
uint32_t gpio_func[WMI_HAL_MAX_SANTENNA];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -6177,16 +6180,6 @@ typedef struct {
|
|||||||
uint32_t bin_count;
|
uint32_t bin_count;
|
||||||
} wmi_host_wlan_profile_ctx_t;
|
} wmi_host_wlan_profile_ctx_t;
|
||||||
|
|
||||||
/**
|
|
||||||
* struct wmi_host_profile_stats_event - Profile stats event
|
|
||||||
* @profile_ctx: wmi_host_wlan_profile_ctx_t
|
|
||||||
* @profile_data: wmi_host_wlan_profile_t
|
|
||||||
*/
|
|
||||||
typedef struct {
|
|
||||||
wmi_host_wlan_profile_ctx_t profile_ctx;
|
|
||||||
wmi_host_wlan_profile_t profile_data[WMI_HOST_MAX_PROFILE];
|
|
||||||
} wmi_host_profile_stats_event;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct wmi_host_chan_info_event - Channel info WMI event
|
* struct wmi_host_chan_info_event - Channel info WMI event
|
||||||
* @err_code: Error code
|
* @err_code: Error code
|
||||||
|
@@ -999,7 +999,8 @@ QDF_STATUS (*extract_profile_ctx)(wmi_unified_t wmi_handle, void *evt_buf,
|
|||||||
wmi_host_wlan_profile_ctx_t *profile_ctx);
|
wmi_host_wlan_profile_ctx_t *profile_ctx);
|
||||||
|
|
||||||
QDF_STATUS (*extract_profile_data)(wmi_unified_t wmi_handle, void *evt_buf,
|
QDF_STATUS (*extract_profile_data)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||||
wmi_host_wlan_profile_t *profile_data);
|
uint8_t idx,
|
||||||
|
wmi_host_wlan_profile_t *profile_data);
|
||||||
|
|
||||||
QDF_STATUS (*extract_chan_info_event)(wmi_unified_t wmi_handle, void *evt_buf,
|
QDF_STATUS (*extract_chan_info_event)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||||
wmi_host_chan_info_event *chan_info);
|
wmi_host_chan_info_event *chan_info);
|
||||||
|
Reference in New Issue
Block a user