qcacld-3.0: Replace obsolete TWT function

Obsolete TWT functions are still called in driver. As part of
removal, Remove these functions and use component function.

Change-Id: I9f8b4186753ec9d446399be9e1cfc03a63a17391
CRs-Fixed: 3294868
This commit is contained in:
David Oladunjoye
2022-09-09 14:53:16 -07:00
committed by Madan Koyyalamudi
父節點 10141185b3
當前提交 73687ef87e
共有 2 個文件被更改,包括 9 次插入7 次删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 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
@@ -18,7 +18,6 @@
#include <wlan_twt_cfg_ext_api.h>
#include "twt/core/src/wlan_twt_cfg.h"
#include "wlan_mlme_api.h"
#include "wlan_mlme_twt_api.h"
QDF_STATUS
wlan_twt_cfg_get_req_flag(struct wlan_objmgr_psoc *psoc, bool *val)
@@ -60,7 +59,7 @@ wlan_twt_cfg_get_support_requestor(struct wlan_objmgr_psoc *psoc, bool *val)
void wlan_twt_get_feature_info(struct wlan_objmgr_psoc *psoc,
struct wlan_twt_features *twt_feature_set)
{
twt_feature_set->enable_twt = mlme_is_twt_enabled(psoc);
twt_feature_set->enable_twt = wlan_twt_cfg_is_twt_enabled(psoc);
if (twt_feature_set->enable_twt) {
wlan_twt_cfg_get_bcast_requestor(
psoc,
@@ -68,8 +67,6 @@ void wlan_twt_get_feature_info(struct wlan_objmgr_psoc *psoc,
wlan_twt_cfg_get_requestor(
psoc,
&twt_feature_set->enable_twt_requester);
twt_feature_set->enable_twt_flexible =
mlme_is_flexible_twt_enabled(psoc);
}
}
#endif