|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "hal_ext_if.h"#include "hal_device.h"#include "fe_rf_customize.h"#include "fe_hal_rf_reg_if.h"#include "fe_rf_customize_rx_insert_loss.h"#include "fe_rf_dev.h"

结构体 | |
| struct | hh503_cali_chn_idx_stru |
| struct | hal_rf |
| #define CHANNEL_NUM10_IDX 9 |
| #define CHANNEL_NUM5_IDX 4 |
| #define HH503_CALI_CHN_INDEX_2422 0 |
| #define HH503_CALI_CHN_INDEX_2447 1 |
| #define HH503_CALI_CHN_INDEX_2472 2 |
| #define HH503_CALI_CHN_INDEX_4950 0 |
| #define HH503_CALI_CHN_INDEX_5210 1 |
| #define HH503_CALI_CHN_INDEX_5290 2 |
| #define HH503_CALI_CHN_INDEX_5530 3 |
| #define HH503_CALI_CHN_INDEX_5610 4 |
| #define HH503_CALI_CHN_INDEX_5690 5 |
| #define HH503_CALI_CHN_INDEX_5775 6 |
| #define HH503_RF_2G_CHANNEL_NUM 13 |
| #define HH503_RF_5G_CHANNEL_NUM 7 |
| #define HH503_RF_DAC_GAIN_DEFAULT_VAL 0x24 |
| #define HH503_RF_FREQ_2_CHANNEL_NUM 14 /* 2g支持信道数目 */ |
| #define HH503_RF_FREQ_5_CHANNEL_NUM 29 /* 5g支持信道数目 */ |
| #define HH503_RF_LPF_GAIN_DEFAULT_VAL 0x4688 |
| #define HH503_RF_TCXO_25MHZ 1 |
| #define HH503_RF_TCXO_384MHZ 3 |
| #define HH503_RF_TCXO_40MHZ 2 |
| #define HH503_RF_TEMP_INVALID (-100) /* 温度非法值 */ |
| #define HH503_RF_TEMP_STS_RSV 0x7 |
| #define HH503_SOC_BUCK_RO 0x400032B4 |
| #define HH503_TEMPERATURE_THRESH 50 |
| #define RF_CALI_DATA_BUF_LEN (0x6cd8) |
| #define RF_SINGLE_CHAN_CALI_DATA_BUF_LEN (RF_CALI_DATA_BUF_LEN >> 1) |
| #define THIS_FILE_ID OAM_FILE_ID_HAL_RF_H |
| typedef osal_void(* hh503_cali_send_func_cb) (hal_to_dmac_device_stru *hal_device, osal_u8 *cali_data, osal_u16 frame_len, osal_u16 remain) |
| typedef osal_void(* hh503_dpd_cfr_set_11b_cb) (hal_to_dmac_device_stru *hal_device, osal_u8 is_11b) |
| typedef osal_void(* hh503_initialize_rf_sys_cb) (hal_to_dmac_device_stru *hal_device) |
| typedef osal_void(* hh503_pow_set_rf_regctl_enable_cb) (hal_to_dmac_device_stru *hal_device, oal_bool_enum_uint8 rf_linectl) |
| typedef osal_u8 hh503_rf_bandwidth_enum_uint8 |
| typedef osal_u8(* hh503_rf_get_subband_idx_cb) (wlan_channel_band_enum_uint8 band, osal_u8 channel_idx) |
| typedef osal_void(* hh503_rf_set_trx_type_cb) (hal_rf_trx_type_enum trx_type) |
| typedef osal_void(* hh503_set_rf_bw_cb) (wlan_bw_cap_enum_uint8 bw) |
| typedef osal_void(* hh503_set_rf_custom_reg_cb) (hal_to_dmac_device_stru *hal_device) |
| typedef osal_u8 rf_off_flag_enum_uint8 |
| enum rf_off_flag_enum |
| osal_void hh503_cali_send_func_ext | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 * | cali_data, | ||
| osal_u16 | frame_len, | ||
| osal_u16 | remain | ||
| ) |
| osal_void hh503_dpd_cfr_set_11b_ext | ( | const hal_to_dmac_device_stru * | hal_device, |
| osal_u8 | is_11b | ||
| ) |
| osal_void hh503_initialize_rf_sys_ext | ( | hal_to_dmac_device_stru * | hal_device | ) |
| osal_void hh503_pow_set_rf_regctl_enable_ext | ( | const hal_to_dmac_device_stru * | hal_device, |
| oal_bool_enum_uint8 | rf_linectl | ||
| ) |
| osal_void hh503_rf_set_trx_type_ext | ( | hal_rf_trx_type_enum | trx_type | ) |
| osal_void hh503_set_rf_bw | ( | wlan_bw_cap_enum_uint8 | bw | ) |
| osal_void hh503_set_rf_custom_reg_ext | ( | const hal_to_dmac_device_stru * | hal_device | ) |