qcacld-3.0: Fix issue uapsd AC is 0 when set enable_twt 0
After WLAN_TWT_CONV_SUPPORTED enabled, TWT variables are moved from COMP_MLME to COMP_TWT, APIs are updated too, hdd_update_tgt_twt_cap just intersects enable_twt and twt_requestor of COMP_TWT instead of COMP_MLME, legacy variable mlme_cfg->he_caps.dot11_he_cap.twt_request isn't controlled by ini enable_twt now. Change-Id: I71bb09704fd96591f37019ebbb77733cff04af25 CRs-Fixed: 3229121
This commit is contained in:

zatwierdzone przez
Madan Koyyalamudi

rodzic
c2c41ee7b3
commit
ab5022192c
@@ -52,6 +52,17 @@ wlan_twt_cfg_get_res_flag(struct wlan_objmgr_psoc *psoc, bool *val);
|
||||
QDF_STATUS
|
||||
wlan_twt_cfg_get_support_in_11n(struct wlan_objmgr_psoc *psoc,
|
||||
bool *val);
|
||||
|
||||
/**
|
||||
* wlan_twt_cfg_get_support_requestor() - Get TWT support of requestor
|
||||
* @psoc: Pointer to global psoc object
|
||||
* @val: pointer to output variable
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_twt_cfg_get_support_requestor(struct wlan_objmgr_psoc *psoc,
|
||||
bool *val);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
wlan_twt_cfg_get_res_flag(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
@@ -71,6 +82,12 @@ wlan_twt_cfg_get_support_in_11n(struct wlan_objmgr_psoc *psoc,
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline QDF_STATUS
|
||||
wlan_twt_cfg_get_support_requestor(struct wlan_objmgr_psoc *psoc,
|
||||
bool *val)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@@ -35,3 +35,9 @@ wlan_twt_cfg_get_support_in_11n(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
{
|
||||
return wlan_twt_cfg_get_support_in_11n_mode(psoc, val);
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_twt_cfg_get_support_requestor(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
{
|
||||
return wlan_twt_cfg_get_requestor(psoc, val);
|
||||
}
|
||||
|
Reference in New Issue
Block a user