qcacld-3.0: Set PS config per vdev
Currently the PS config received from kernel/userspace is set to mac_ctx globally. This causes PS config set for one vdev to override on the other vdev. To avoid this, set the PS config per vdev. Change-Id: I6a2e2a9d8fb67b94d9d5f1d4164077990bdaf4a5 CRs-Fixed: 3007060
This commit is contained in:

committed by
Madan Koyyalamudi

parent
9cce6d9b2d
commit
100c310363
@@ -3317,4 +3317,23 @@ wlan_mlme_set_last_delba_sent_time(struct wlan_objmgr_vdev *vdev,
|
||||
*/
|
||||
qdf_time_t
|
||||
wlan_mlme_get_last_delba_sent_time(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* mlme_set_user_ps() - Set the PS user config
|
||||
* @vdev: Vdev object pointer
|
||||
* @ps_enable: User PS enable
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS mlme_set_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
|
||||
bool ps_enable);
|
||||
|
||||
/**
|
||||
* mlme_get_user_ps() - Set the user ps flag
|
||||
* @psoc: Pointer to psoc object
|
||||
* @vdev_id: vdev id
|
||||
*
|
||||
* Return: True if user_ps flag is set
|
||||
*/
|
||||
bool mlme_get_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id);
|
||||
#endif /* _WLAN_MLME_API_H_ */
|
||||
|
Reference in New Issue
Block a user