|
@@ -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
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* 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
|
|
QDF_STATUS
|
|
ucfg_twt_cfg_get_bcast_requestor(struct wlan_objmgr_psoc *psoc, bool *val);
|
|
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
|
|
* ucfg_twt_cfg_get_flex_sched() - Get TWT flex scheduling
|
|
* @psoc: Pointer to global psoc object
|
|
* @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;
|
|
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
|
|
static inline QDF_STATUS
|
|
ucfg_twt_cfg_get_flex_sched(struct wlan_objmgr_psoc *psoc, bool *val)
|
|
ucfg_twt_cfg_get_flex_sched(struct wlan_objmgr_psoc *psoc, bool *val)
|
|
{
|
|
{
|