diff mbox series

[RFC,v1,031/256] cl8k: add cap.h

Message ID 20210617160223.160998-32-viktor.barna@celeno.com (mailing list archive)
State RFC
Delegated to: Kalle Valo
Headers show
Series wireless: cl8k driver for Celeno IEEE 802.11ax devices | expand

Commit Message

Viktor Barna June 17, 2021, 3:58 p.m. UTC
From: Viktor Barna <viktor.barna@celeno.com>

(Part of the split. Please, take a look at the cover letter for more
details).

Signed-off-by: Viktor Barna <viktor.barna@celeno.com>
---
 drivers/net/wireless/celeno/cl8k/cap.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 drivers/net/wireless/celeno/cl8k/cap.h

--
2.30.0
diff mbox series

Patch

diff --git a/drivers/net/wireless/celeno/cl8k/cap.h b/drivers/net/wireless/celeno/cl8k/cap.h
new file mode 100644
index 000000000000..5bbbccf3daaa
--- /dev/null
+++ b/drivers/net/wireless/celeno/cl8k/cap.h
@@ -0,0 +1,21 @@ 
+/* SPDX-License-Identifier: MIT */
+/* Copyright(c) 2019-2021, Celeno Communications Ltd. */
+
+#ifndef CL_CAP_H
+#define CL_CAP_H
+
+#include "hw.h"
+
+/**
+ * Capabilities indication to the cfg80211/mac80211 layer
+ */
+
+#define PPE_0US 0
+#define PPE_8US 1
+#define PPE_16US 2
+
+void cl_cap_dyn_params(struct cl_hw *cl_hw);
+void cl_cap_ppe_duration(struct cl_hw *cl_hw, struct ieee80211_sta *sta,
+                        u8 pe_dur[CHNL_BW_MAX][WRS_MCS_MAX_HE]);
+
+#endif /* CL_CAP_H */