qcacmn: Add support for NSS DBTC mode
Add dbtc support for NSS offload mode. Change-Id: I3673c0a42071f7d7767e086618c0171658e8a6f0 CRs-Fixed: 2330655
This commit is contained in:

committed by
nshrivas

vanhempi
0a5f71bca1
commit
c34164e97e
@@ -223,4 +223,15 @@ void *lmac_get_pdev_feature_ptr(struct wlan_objmgr_pdev *pdev);
|
||||
*/
|
||||
uint32_t lmac_get_num_radios(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* lmac_get_preferred_hw_mode() - get preferred hw mode
|
||||
* @psoc: pointer to psoc
|
||||
*
|
||||
* API to get the preferred hw mode
|
||||
*
|
||||
* Return: preferred how mode
|
||||
*/
|
||||
enum wmi_host_hw_mode_config_type lmac_get_preferred_hw_mode(
|
||||
struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
#endif /* _INIT_DEINIT_LMAC_H_ */
|
||||
|
@@ -353,3 +353,23 @@ void *lmac_get_pdev_feature_ptr(struct wlan_objmgr_pdev *pdev)
|
||||
return target_pdev_get_feature_ptr(tgt_hdl);
|
||||
}
|
||||
qdf_export_symbol(lmac_get_pdev_feature_ptr);
|
||||
|
||||
enum wmi_host_hw_mode_config_type lmac_get_preferred_hw_mode(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct target_psoc_info *tgt_hdl;
|
||||
|
||||
if (!psoc) {
|
||||
target_if_err("psoc is null");
|
||||
return WMI_HOST_HW_MODE_MAX;
|
||||
}
|
||||
tgt_hdl = wlan_psoc_get_tgt_if_handle(psoc);
|
||||
if (!tgt_hdl) {
|
||||
target_if_err("target_psoc_info is null");
|
||||
return WMI_HOST_HW_MODE_MAX;
|
||||
}
|
||||
|
||||
return target_psoc_get_preferred_hw_mode(tgt_hdl);
|
||||
}
|
||||
|
||||
qdf_export_symbol(lmac_get_preferred_hw_mode);
|
||||
|
Viittaa uudesa ongelmassa
Block a user