qcacld-3.0: Send TWT teardown if power save mode is disabled
When power save mode is disabled, TWT is also disabled. All existing TWT sessions must be removed. Change-Id: I7c1ceb7abbfea0205e65a038fdf8d574b797685e CRs-Fixed: 3147231
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0c515a99a8
commit
a26ed5042c
@@ -90,6 +90,18 @@ int osif_twt_send_responder_disable_cmd(struct wlan_objmgr_psoc *psoc,
|
||||
*/
|
||||
void osif_twt_concurrency_update_handler(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* osif_twt_teardown_in_ps_disable() - Send TWT teardown if power save
|
||||
* mode is disabled
|
||||
*
|
||||
* @psoc: pointer to global psoc structure
|
||||
* @mac_addr: Peer MAC Address
|
||||
* @vdev_id: vdev_id
|
||||
*/
|
||||
void osif_twt_teardown_in_ps_disable(struct wlan_objmgr_psoc *psoc,
|
||||
struct qdf_mac_addr *mac_addr,
|
||||
uint8_t vdev_id);
|
||||
#else
|
||||
static inline
|
||||
int osif_twt_send_requestor_disable_cmd(struct wlan_objmgr_psoc *psoc,
|
||||
@@ -117,6 +129,12 @@ void osif_twt_concurrency_update_handler(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
}
|
||||
static inline
|
||||
void osif_twt_teardown_in_ps_disable(struct wlan_objmgr_psoc *psoc,
|
||||
struct qdf_mac_addr *mac_addr,
|
||||
uint8_t vdev_id)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif /* _OSIF_TWT_INTERNAL_H_ */
|
||||
|
||||
|
Reference in New Issue
Block a user