qcacld-3.0: Add support to Dynamic TDLS enable
Add support to dynamic enabling the TDLS. Vendor subcmd: QCA_NL80211_VENDOR_SUBCMD_TDLS_ENABLE Change-Id: I3b9164ba04a4d9c23d7f580020966c222f8bd359 CRs-Fixed: 3562148
This commit is contained in:

committed by
Rahul Choudhary

父節點
ea029e0c45
當前提交
bbece0a981
@@ -469,6 +469,17 @@ struct wlan_objmgr_vdev *ucfg_get_tdls_vdev(struct wlan_objmgr_psoc *psoc,
|
||||
*/
|
||||
bool ucfg_tdls_check_is_tdls_allowed(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* ucfg_tdls_set_user_tdls_enable() - ucfg api to set tdls is enable or not
|
||||
* from userspace
|
||||
* @vdev: vdev object
|
||||
* @is_user_tdls_enable: true if tdls is enabled from userspace
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void ucfg_tdls_set_user_tdls_enable(struct wlan_objmgr_vdev *vdev,
|
||||
bool is_user_tdls_enable);
|
||||
|
||||
#else
|
||||
static inline
|
||||
bool ucfg_tdls_link_vdev_is_matching(struct wlan_objmgr_vdev *vdev)
|
||||
@@ -576,6 +587,12 @@ bool ucfg_tdls_check_is_tdls_allowed(struct wlan_objmgr_vdev *vdev)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
void ucfg_tdls_set_user_tdls_enable(struct wlan_objmgr_vdev *vdev,
|
||||
bool is_user_tdls_enable)
|
||||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
void ucfg_tdls_update_fw_11ax_capability(struct wlan_objmgr_psoc *psoc,
|
||||
bool is_fw_tdls_11ax_capable)
|
||||
|
Reference in New Issue
Block a user