qcacld-3.0: Allow TDLS connection on 6GHz only if fw supports
Allow TDLS connection on 6GHz only if FW supports TDLS on 6GHz. Change-Id: I663bd6d73235664c21029d8956f465da5a5b39c6 CRs-Fixed: 3223677
This commit is contained in:

committed by
Madan Koyyalamudi

parent
6fac8201a3
commit
5b8626946b
@@ -87,6 +87,17 @@ QDF_STATUS ucfg_tdls_update_config(struct wlan_objmgr_psoc *psoc,
|
||||
void ucfg_tdls_update_fw_11ax_capability(struct wlan_objmgr_psoc *psoc,
|
||||
bool is_fw_tdls_11ax_capable);
|
||||
|
||||
/**
|
||||
* ucfg_tdls_update_fw_6g_support() - Update FW TDLS 6g capability in TLDS
|
||||
* Component
|
||||
* @psoc: psoc object
|
||||
* @is_fw_tdls_6g_capable: set to true if firmware supports TDLS on 6G band
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void ucfg_update_fw_tdls_6g_capability(struct wlan_objmgr_psoc *psoc,
|
||||
bool is_fw_tdls_6g_capable);
|
||||
|
||||
/**
|
||||
* ucfg_tdls_is_fw_11ax_supported() - Get FW TDLS 11ax capability from TLDS
|
||||
* component.
|
||||
@@ -96,6 +107,15 @@ void ucfg_tdls_update_fw_11ax_capability(struct wlan_objmgr_psoc *psoc,
|
||||
*/
|
||||
bool ucfg_tdls_is_fw_11ax_capable(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_tdls_is_fw_6g_capable() - Get FW TDLS 6g capability from TLDS
|
||||
* component.
|
||||
* @psoc: psoc object
|
||||
*
|
||||
* Return: true if fw supports tdls on 6ghz band
|
||||
*/
|
||||
bool ucfg_tdls_is_fw_6g_capable(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
#else
|
||||
static inline
|
||||
void ucfg_tdls_update_fw_11ax_capability(struct wlan_objmgr_psoc *psoc,
|
||||
@@ -108,6 +128,18 @@ bool ucfg_tdls_is_fw_11ax_capable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
void ucfg_update_fw_tdls_6g_capability(struct wlan_objmgr_psoc *psoc,
|
||||
bool is_fw_tdls_6g_capable)
|
||||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
bool ucfg_tdls_is_fw_6g_capable(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user