qcacld-3.0: Add support to send TDLS avail and no. connected peer
Add support to send whether currently TDLS is available or not. Vendor subcmd: QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_STATUS Vendor attr: QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_AVAILABLE Also add support to get the TDLS number of active sessions using below vendor attr. Vendor subcmd: QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_STATUS Vendor attr: QCA_WLAN_VENDOR_ATTR_TDLS_GET_STATUS_NUM_SESSIONS Change-Id: Ie9ad09de9593559c4d57599a9af58a95af99e60f CRs-Fixed: 3554429
This commit is contained in:

committed by
Rahul Choudhary

父節點
35e5e0117e
當前提交
167488b437
@@ -274,6 +274,14 @@ cfg_tdls_set_scan_enable(struct wlan_objmgr_psoc *psoc,
|
||||
* This function gets tdls max peer count
|
||||
*/
|
||||
uint16_t cfg_tdls_get_max_peer_count(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* cfg_tdls_get_connected_peer_count() - get tdls connected peer count
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* This function gets tdls connected peer count
|
||||
*/
|
||||
uint16_t cfg_tdls_get_connected_peer_count(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
cfg_tdls_get_support_enable(struct wlan_objmgr_psoc *psoc,
|
||||
@@ -450,5 +458,12 @@ cfg_tdls_get_max_peer_count(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline uint16_t
|
||||
cfg_tdls_get_connected_peer_count(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* FEATURE_WLAN_TDLS */
|
||||
#endif /* _WLAN_TDLS_CFG_API_H_ */
|
||||
|
@@ -459,6 +459,16 @@ uint16_t ucfg_get_tdls_conn_peer_count(struct wlan_objmgr_vdev *vdev);
|
||||
struct wlan_objmgr_vdev *ucfg_get_tdls_vdev(struct wlan_objmgr_psoc *psoc,
|
||||
wlan_objmgr_ref_dbgid dbg_id);
|
||||
|
||||
/**
|
||||
* ucfg_tdls_check_is_tdls_allowed() - Ucfg api to check is tdls allowed or not
|
||||
* @vdev: vdev object
|
||||
*
|
||||
* Function determines the whether TDLS allowed in the system
|
||||
*
|
||||
* Return: true or false
|
||||
*/
|
||||
bool ucfg_tdls_check_is_tdls_allowed(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
#else
|
||||
static inline
|
||||
bool ucfg_tdls_link_vdev_is_matching(struct wlan_objmgr_vdev *vdev)
|
||||
@@ -560,6 +570,12 @@ struct wlan_objmgr_vdev *ucfg_get_tdls_vdev(struct wlan_objmgr_psoc *psoc,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline
|
||||
bool ucfg_tdls_check_is_tdls_allowed(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
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