qcacld-3.0: Add support for g_sap_ps_with_twt_enable ini
As part of new requirement of 'SAP PS with TWT enabled', add ini 'g_sap_ps_with_twt_enable' support in host to enabled/disabled SAP power save with TWT enable. Change-Id: Iea76f9cdef6f0753a6dfcebedc2aeab17d121faf CRs-Fixed: 3421610
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
2bdfffdc18
incheckning
28632436e5
@@ -6747,3 +6747,15 @@ uint8_t *wlan_mlme_get_src_addr_from_frame(struct element_info *frame)
|
||||
|
||||
return hdr->i_addr2;
|
||||
}
|
||||
|
||||
bool
|
||||
wlan_mlme_get_sap_ps_with_twt(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
if (!mlme_obj)
|
||||
return cfg_default(CFG_SAP_PS_WITH_TWT);
|
||||
|
||||
return mlme_obj->cfg.sap_cfg.sap_ps_with_twt_enable;
|
||||
}
|
||||
|
Referens i nytt ärende
Block a user