qcacmn: Save quiet status to sta context of MLO mgr

Save quiet status of indicated link to sta contect of MLO mgr. Any link
should check quiet status of MLO connection, then decide whether it
can trigger inactivity to FW or not.

Change-Id: Ic294bbe6452030b6cae495ca0dd3e504416e2c9e
CRs-Fixed: 3117825
This commit is contained in:
Bing Sun
2022-01-26 11:28:46 +08:00
committato da Madan Koyyalamudi
parent ab4cfe87b0
commit 7ee4663048
12 ha cambiato i file con 461 aggiunte e 7 eliminazioni

Vedi File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. 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
@@ -177,4 +177,19 @@ struct multi_vdev_restart_resp {
qdf_bitmap(vdev_id_bmap, WLAN_UMAC_PSOC_MAX_VDEVS);
};
#ifdef WLAN_FEATURE_11BE_MLO
/**
* struct vdev_sta_quiet_event - mlo sta quiet offload structure
* @mld_mac: AP mld mac address
* @link_mac: AP link mac address
* @link_id: Link id associated with AP
* @quiet_status: WMI_QUIET_EVENT_FLAG: quiet start or stop
*/
struct vdev_sta_quiet_event {
struct qdf_mac_addr mld_mac;
struct qdf_mac_addr link_mac;
uint8_t link_id;
bool quiet_status;
};
#endif
#endif /* __WLAN_VDEV_MGR_TGT_IF_RX_DEFS_H__ */

Vedi File

@@ -168,4 +168,17 @@ int wlan_util_vdev_mgr_get_cac_timeout_for_vdev(struct wlan_objmgr_vdev *vdev);
void wlan_util_vdev_mgr_set_cac_timeout_for_vdev(struct wlan_objmgr_vdev *vdev,
uint32_t new_chan_cac_ms);
#endif /* MOBILE_DFS_SUPPORT */
#ifdef WLAN_FEATURE_11BE_MLO
/**
* wlan_util_vdev_mgr_quiet_offload() - set quiet status for given link
* @psoc: pointer to psoc
* @quiet_event: pointer to struct vdev_sta_quiet_event
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_util_vdev_mgr_quiet_offload(
struct wlan_objmgr_psoc *psoc,
struct vdev_sta_quiet_event *quiet_event);
#endif /* WLAN_FEATURE_11BE_MLO */
#endif /* __WLAN_VDEV_MGR_UTILS_API_H__ */