2021-06-17 16:20:29

by Viktor Barna

[permalink] [raw]
Subject: [RFC v1 012/256] cl8k: add ate.h

From: Viktor Barna <[email protected]>

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

Signed-off-by: Viktor Barna <[email protected]>
---
drivers/net/wireless/celeno/cl8k/ate.h | 90 ++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
create mode 100644 drivers/net/wireless/celeno/cl8k/ate.h

diff --git a/drivers/net/wireless/celeno/cl8k/ate.h b/drivers/net/wireless/celeno/cl8k/ate.h
new file mode 100644
index 000000000000..ae9ea58b1a01
--- /dev/null
+++ b/drivers/net/wireless/celeno/cl8k/ate.h
@@ -0,0 +1,90 @@
+/* SPDX-License-Identifier: MIT */
+/* Copyright(c) 2019-2021, Celeno Communications Ltd. */
+
+#ifndef CL_ATE_H
+#define CL_ATE_H
+
+#include "hw.h"
+
+/**
+ * DOC: ATE (=Automatic Test Equipment)
+ *
+ * Routines, that may be helpful in pre/post production stages to verify
+ * validity of the chip behavior.
+ */
+
+int cl_ate_reset(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_mode(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_bw(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_mcs(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_nss(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_gi(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_ltf(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_ldpc(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_channel(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_ant(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_multi_ant(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_packet_len(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_vector(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_vector_reset(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_freq_offset(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_stat(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_stat_reset(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_power(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_power_offset(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_tx_start(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_tx_continuous(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_stop(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+int cl_ate_help(struct wiphy *wiphy, struct wireless_dev *wdev,
+ const void *data, int data_len);
+
+enum cl_ate_cmd {
+ CL_ATE_RESET,
+ CL_ATE_MODE,
+ CL_ATE_BW,
+ CL_ATE_MCS,
+ CL_ATE_NSS,
+ CL_ATE_GI,
+ CL_ATE_LTF,
+ CL_ATE_LDPC,
+ CL_ATE_CHANNEL,
+ CL_ATE_ANT,
+ CL_ATE_MULTI_ANT,
+ CL_ATE_PACKET_LEN,
+ CL_ATE_VECTOR_RESET,
+ CL_ATE_VECTOR,
+ CL_ATE_FREQ_OFFSET,
+ CL_ATE_STAT_RESET,
+ CL_ATE_STAT,
+ CL_ATE_POWER,
+ CL_ATE_POWER_OFFSET,
+ CL_ATE_TX_START,
+ CL_ATE_TX_CONTINUOUS,
+ CL_ATE_STOP,
+
+ CL_ATE_MAX
+};
+
+#endif /* CL_ATE_H */
--
2.30.0

________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any retransmission, dissemination, copying or other use of, or taking of any action in reliance upon this information is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Nothing contained herein shall be deemed as a representation, warranty or a commitment by Celeno. No warranties are expressed or implied, including, but not limited to, any implied warranties of non-infringement, merchantability and fitness for a particular purpose.
________________________________