From d3ce582a3d300d24ae6f7cc9e219dfdfa3a5ec46 Mon Sep 17 00:00:00 2001 From: Xianjun Jiao Date: Mon, 28 Mar 2022 14:16:57 +0200 Subject: [PATCH] Add the missing sdrctl reg category --- driver/sdr.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/driver/sdr.h b/driver/sdr.h index 6458221..b4ff570 100644 --- a/driver/sdr.h +++ b/driver/sdr.h @@ -72,6 +72,20 @@ union u16_byte2 { #define MAX_NUM_LED 4 #define OPENWIFI_LED_MAX_NAME_LEN 32 +// -------------sdrctl reg category----------------- +enum sdrctl_reg_cat { + SDRCTL_REG_CAT_NO_USE = 0, + SDRCTL_REG_CAT_RF, + SDRCTL_REG_CAT_RX_INTF, + SDRCTL_REG_CAT_TX_INTF, + SDRCTL_REG_CAT_RX, + SDRCTL_REG_CAT_TX, + SDRCTL_REG_CAT_XPU, + SDRCTL_REG_CAT_DRV_RX, + SDRCTL_REG_CAT_DRV_TX, + SDRCTL_REG_CAT_DRV_XPU, +}; + // ------------ software reg definition ------------ #define MAX_NUM_DRV_REG 8 #define DRV_TX_REG_IDX_RATE 0