diff mbox series

[RFC,v1,130/256] cl8k: add phy/phy_common_lut.h

Message ID 20210617160223.160998-131-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, 4 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>
---
 .../wireless/celeno/cl8k/phy/phy_common_lut.h | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 drivers/net/wireless/celeno/cl8k/phy/phy_common_lut.h

--
2.30.0
diff mbox series

Patch

diff --git a/drivers/net/wireless/celeno/cl8k/phy/phy_common_lut.h b/drivers/net/wireless/celeno/cl8k/phy/phy_common_lut.h
new file mode 100644
index 000000000000..7ff17cb81ca3
--- /dev/null
+++ b/drivers/net/wireless/celeno/cl8k/phy/phy_common_lut.h
@@ -0,0 +1,21 @@ 
+/* SPDX-License-Identifier: MIT */
+/* Copyright(c) 2019-2021, Celeno Communications Ltd. */
+
+#ifndef CL_PHY_COMMON_LUT_H
+#define CL_PHY_COMMON_LUT_H
+
+#include <linux/types.h>
+#include "fw/fw_msg.h"
+
+struct common_lut_line {
+       u16 frequency_q2;
+       u8 vcocalsel;
+       u8 nint;
+       u32 nfrac;
+       u32 freqmeastarg;
+};
+
+void cl_phy_oly_lut_update(u8 nl_band, u16 freq,
+                          struct mm_mac_api_lut_line *api_lut_line);
+
+#endif /* CL_PHY_COMMON_LUT_H */