qcacmn: Add apis to fetch btwt and rtwt ini values
Add apis to get rtwt and btwt ini values. Change-Id: I3f82dc93bce24f24ba2236c286b717dbb2d9b690 CRs-Fixed: 3449537
This commit is contained in:

committed by
Madan Koyyalamudi

parent
8019cce45c
commit
c8d254437d
@@ -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
|
||||
@@ -86,6 +86,26 @@ ucfg_twt_cfg_get_24ghz_enabled(struct wlan_objmgr_psoc *psoc, bool *val);
|
||||
QDF_STATUS
|
||||
ucfg_twt_cfg_get_bcast_requestor(struct wlan_objmgr_psoc *psoc, bool *val);
|
||||
|
||||
/**
|
||||
* ucfg_twt_cfg_get_bcast_responder() - Get TWT broadcast requestor
|
||||
* @psoc: Pointer to global psoc object
|
||||
* @val: pointer to output variable
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_twt_cfg_get_bcast_responder(struct wlan_objmgr_psoc *psoc, bool *val);
|
||||
|
||||
/**
|
||||
* ucfg_twt_cfg_get_rtwt_requestor() - Get restricted TWT requestor
|
||||
* @psoc: Pointer to global psoc object
|
||||
* @val: pointer to output variable
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_twt_cfg_get_rtwt_requestor(struct wlan_objmgr_psoc *psoc, bool *val);
|
||||
|
||||
/**
|
||||
* ucfg_twt_cfg_get_flex_sched() - Get TWT flex scheduling
|
||||
* @psoc: Pointer to global psoc object
|
||||
@@ -139,6 +159,20 @@ ucfg_twt_cfg_get_bcast_requestor(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
ucfg_twt_cfg_get_bcast_responder(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
{
|
||||
*val = false;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
ucfg_twt_cfg_get_rtwt_requestor(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
{
|
||||
*val = false;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
ucfg_twt_cfg_get_flex_sched(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
{
|
||||
|
Reference in New Issue
Block a user