qcacld-3.0: Only send VHT TX_BF if FW supports it
Only send the VHT TX beamforming capability if firmware has set the support bit. This helps ensure backward compatibility for older products. Change-Id: Ia5830c9f378e3f0ddc83c8019d5168a270ad6f69 CRs-fixed: 2933687
Tento commit je obsažen v:

odevzdal
Madan Koyyalamudi

rodič
be2645057f
revize
f3ce32ef59
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021 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
|
||||
@@ -207,6 +207,14 @@ bool wlan_nan_get_sap_conc_support(struct wlan_objmgr_psoc *psoc);
|
||||
* Return: Cleanup NAN state upon NAN disable
|
||||
*/
|
||||
QDF_STATUS nan_disable_cleanup(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* wlan_nan_is_beamforming_supported- Get support for beamforing
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: True if beamforming is supported, false if not.
|
||||
*/
|
||||
bool wlan_nan_is_beamforming_supported(struct wlan_objmgr_psoc *psoc);
|
||||
#else /* WLAN_FEATURE_NAN */
|
||||
static inline QDF_STATUS nan_init(void)
|
||||
{
|
||||
@@ -252,5 +260,11 @@ QDF_STATUS nan_disable_cleanup(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
static inline
|
||||
bool wlan_nan_is_beamforming_supported(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif /* WLAN_FEATURE_NAN */
|
||||
#endif /* _WLAN_NAN_API_H_ */
|
||||
|
@@ -1399,3 +1399,8 @@ bool wlan_nan_get_sap_conc_support(struct wlan_objmgr_psoc *psoc)
|
||||
return (psoc_nan_obj->nan_caps.nan_sap_supported &&
|
||||
ucfg_is_nan_conc_control_supported(psoc));
|
||||
}
|
||||
|
||||
bool wlan_nan_is_beamforming_supported(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return ucfg_nan_is_beamforming_supported(psoc);
|
||||
}
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele