qcacmn: Add function declaration to a T2LM API
- To invoke the API wlan_send_tid_to_link_mapping from other files, change its static definition and add a function declaration. - Remove repetitive logging of T2LM params in wlan_mlo_parse_t2lm_info API. - HMT STA host needs to send T2LM mapping info to FW only on one peer instead of both peers in case of WKK. Thus, add new API under MCC flag to address this issue. The original changes will remain under else case. Change-Id: I2495fddca7dc5da253a6d10ab41b70cf7f627156 CRs-Fixed: 3373326
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d7593bcef6
commit
880ee4dd1a
@@ -594,6 +594,17 @@ QDF_STATUS wlan_process_bcn_prbrsp_t2lm_ie(struct wlan_objmgr_vdev *vdev,
|
||||
struct wlan_t2lm_context *rx_t2lm_ie,
|
||||
uint64_t tsf);
|
||||
|
||||
/**
|
||||
* wlan_send_tid_to_link_mapping() - API to send T2LM info received from beacon,
|
||||
* probe response or action frame to FW.
|
||||
*
|
||||
* @vdev: Pointer to vdev
|
||||
* @t2lm: T2LM info
|
||||
*
|
||||
* Return QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS wlan_send_tid_to_link_mapping(struct wlan_objmgr_vdev *vdev,
|
||||
struct wlan_t2lm_info *t2lm);
|
||||
#else
|
||||
static inline QDF_STATUS wlan_mlo_parse_t2lm_ie(
|
||||
struct wlan_t2lm_onging_negotiation_info *t2lm, uint8_t *ie)
|
||||
@@ -709,5 +720,12 @@ static inline QDF_STATUS wlan_mlo_dev_t2lm_notify_link_update(
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS wlan_send_tid_to_link_mapping(struct wlan_objmgr_vdev *vdev,
|
||||
struct wlan_t2lm_info *t2lm)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif /* WLAN_FEATURE_11BE */
|
||||
#endif /* _WLAN_MLO_T2LM_H_ */
|
||||
|
Reference in New Issue
Block a user