WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_rf.h 文件参考
#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"
hal_rf.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  hh503_cali_chn_idx_stru
 
struct  hal_rf
 

宏定义

#define THIS_FILE_ID   OAM_FILE_ID_HAL_RF_H
 
#define HH503_SOC_BUCK_RO   0x400032B4
 
#define RF_CALI_DATA_BUF_LEN   (0x6cd8)
 
#define RF_SINGLE_CHAN_CALI_DATA_BUF_LEN   (RF_CALI_DATA_BUF_LEN >> 1)
 
#define HH503_TEMPERATURE_THRESH   50
 
#define HH503_RF_TCXO_25MHZ   1
 
#define HH503_RF_TCXO_40MHZ   2
 
#define HH503_RF_TCXO_384MHZ   3
 
#define HH503_RF_LPF_GAIN_DEFAULT_VAL   0x4688
 
#define HH503_RF_DAC_GAIN_DEFAULT_VAL   0x24
 
#define HH503_RF_2G_CHANNEL_NUM   13
 
#define HH503_RF_5G_CHANNEL_NUM   7
 
#define HH503_RF_FREQ_2_CHANNEL_NUM   14 /* 2g支持信道数目 */
 
#define HH503_RF_FREQ_5_CHANNEL_NUM   29 /* 5g支持信道数目 */
 
#define HH503_CALI_CHN_INDEX_2422   0
 
#define HH503_CALI_CHN_INDEX_2447   1
 
#define HH503_CALI_CHN_INDEX_2472   2
 
#define CHANNEL_NUM5_IDX   4
 
#define CHANNEL_NUM10_IDX   9
 
#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_TEMP_STS_RSV   0x7
 
#define HH503_RF_TEMP_INVALID   (-100) /* 温度非法值 */
 

类型定义

typedef osal_u8 hh503_rf_bandwidth_enum_uint8
 
typedef osal_u8 rf_off_flag_enum_uint8
 
typedef osal_u8(* hh503_get_rx_chain_cb) (osal_void)
 
typedef osal_void(* hh503_set_rf_bw_cb) (wlan_bw_cap_enum_uint8 bw)
 
typedef osal_void(* hh503_rf_set_trx_type_cb) (hal_rf_trx_type_enum trx_type)
 
typedef osal_void(* hh503_dpd_cfr_set_11b_cb) (hal_to_dmac_device_stru *hal_device, osal_u8 is_11b)
 
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_u32(* hh503_config_custom_rf_cb) (const osal_u8 *param)
 
typedef osal_void(* hh503_config_rssi_for_loss_cb) (osal_u8 channel_num, osal_s8 *rssi)
 
typedef osal_void(* hh503_set_rf_custom_reg_cb) (hal_to_dmac_device_stru *hal_device)
 
typedef osal_void(* hh503_initialize_rf_sys_cb) (hal_to_dmac_device_stru *hal_device)
 
typedef osal_void(* hh503_adjust_tx_power_cb) (osal_u8 ch, osal_s8 power)
 
typedef osal_void(* hh503_restore_tx_power_cb) (osal_u8 ch)
 
typedef osal_u8(* hh503_rf_get_subband_idx_cb) (wlan_channel_band_enum_uint8 band, osal_u8 channel_idx)
 
typedef osal_void(* hh503_pow_set_rf_regctl_enable_cb) (hal_to_dmac_device_stru *hal_device, oal_bool_enum_uint8 rf_linectl)
 

枚举

enum  hh503_rf_bandwidth_enum {
  HH503_RF_BAND_CTRL_10M , HH503_RF_BAND_CTRL_20M , HH503_RF_BAND_CTRL_40M , HH503_RF_BAND_CTRL_80M ,
  HH503_RF_BAND_CTRL_BUTT
}
 
enum  rf_off_flag_enum { RFLDO_EN_OFF , RF_EN_OFF , RF_OFF_BUTT }
 

函数

osal_void hh503_set_rf_bw (wlan_bw_cap_enum_uint8 bw)
 
osal_void hh503_rf_set_trx_type_ext (hal_rf_trx_type_enum trx_type)
 
osal_void hh503_dpd_cfr_set_11b_ext (const hal_to_dmac_device_stru *hal_device, osal_u8 is_11b)
 
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_u32 hh503_config_custom_rf_ext (const osal_u8 *param)
 
osal_void hh503_config_rssi_for_loss_ext (osal_u8 channel_num, osal_s8 *rssi)
 
osal_void hh503_set_rf_custom_reg_ext (const hal_to_dmac_device_stru *hal_device)
 
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_u8 hh503_get_tpc_code_ext (osal_void)
 
osal_void hh503_adjust_tx_power_level_ext (osal_u8 ch, osal_s8 power)
 
osal_void hal_radar_sensing_switch_abb_lo_tx_top_test_reg12 (osal_bool is_on)
 
osal_void hal_set_cal_tone (osal_u32 tone_cfg)
 

宏定义说明

◆ CHANNEL_NUM10_IDX

#define CHANNEL_NUM10_IDX   9

◆ CHANNEL_NUM5_IDX

#define CHANNEL_NUM5_IDX   4

◆ HH503_CALI_CHN_INDEX_2422

#define HH503_CALI_CHN_INDEX_2422   0

◆ HH503_CALI_CHN_INDEX_2447

#define HH503_CALI_CHN_INDEX_2447   1

◆ HH503_CALI_CHN_INDEX_2472

#define HH503_CALI_CHN_INDEX_2472   2

◆ HH503_CALI_CHN_INDEX_4950

#define HH503_CALI_CHN_INDEX_4950   0

◆ HH503_CALI_CHN_INDEX_5210

#define HH503_CALI_CHN_INDEX_5210   1

◆ HH503_CALI_CHN_INDEX_5290

#define HH503_CALI_CHN_INDEX_5290   2

◆ HH503_CALI_CHN_INDEX_5530

#define HH503_CALI_CHN_INDEX_5530   3

◆ HH503_CALI_CHN_INDEX_5610

#define HH503_CALI_CHN_INDEX_5610   4

◆ HH503_CALI_CHN_INDEX_5690

#define HH503_CALI_CHN_INDEX_5690   5

◆ HH503_CALI_CHN_INDEX_5775

#define HH503_CALI_CHN_INDEX_5775   6

◆ HH503_RF_2G_CHANNEL_NUM

#define HH503_RF_2G_CHANNEL_NUM   13

◆ HH503_RF_5G_CHANNEL_NUM

#define HH503_RF_5G_CHANNEL_NUM   7

◆ HH503_RF_DAC_GAIN_DEFAULT_VAL

#define HH503_RF_DAC_GAIN_DEFAULT_VAL   0x24

◆ HH503_RF_FREQ_2_CHANNEL_NUM

#define HH503_RF_FREQ_2_CHANNEL_NUM   14 /* 2g支持信道数目 */

◆ HH503_RF_FREQ_5_CHANNEL_NUM

#define HH503_RF_FREQ_5_CHANNEL_NUM   29 /* 5g支持信道数目 */

◆ HH503_RF_LPF_GAIN_DEFAULT_VAL

#define HH503_RF_LPF_GAIN_DEFAULT_VAL   0x4688

◆ HH503_RF_TCXO_25MHZ

#define HH503_RF_TCXO_25MHZ   1

◆ HH503_RF_TCXO_384MHZ

#define HH503_RF_TCXO_384MHZ   3

◆ HH503_RF_TCXO_40MHZ

#define HH503_RF_TCXO_40MHZ   2

◆ HH503_RF_TEMP_INVALID

#define HH503_RF_TEMP_INVALID   (-100) /* 温度非法值 */

◆ HH503_RF_TEMP_STS_RSV

#define HH503_RF_TEMP_STS_RSV   0x7

◆ HH503_SOC_BUCK_RO

#define HH503_SOC_BUCK_RO   0x400032B4

◆ HH503_TEMPERATURE_THRESH

#define HH503_TEMPERATURE_THRESH   50

◆ RF_CALI_DATA_BUF_LEN

#define RF_CALI_DATA_BUF_LEN   (0x6cd8)

◆ RF_SINGLE_CHAN_CALI_DATA_BUF_LEN

#define RF_SINGLE_CHAN_CALI_DATA_BUF_LEN   (RF_CALI_DATA_BUF_LEN >> 1)

◆ THIS_FILE_ID

#define THIS_FILE_ID   OAM_FILE_ID_HAL_RF_H

类型定义说明

◆ hh503_adjust_tx_power_cb

typedef osal_void(* hh503_adjust_tx_power_cb) (osal_u8 ch, osal_s8 power)

◆ hh503_cali_send_func_cb

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)

◆ hh503_config_custom_rf_cb

typedef osal_u32(* hh503_config_custom_rf_cb) (const osal_u8 *param)

◆ hh503_config_rssi_for_loss_cb

typedef osal_void(* hh503_config_rssi_for_loss_cb) (osal_u8 channel_num, osal_s8 *rssi)

◆ hh503_dpd_cfr_set_11b_cb

typedef osal_void(* hh503_dpd_cfr_set_11b_cb) (hal_to_dmac_device_stru *hal_device, osal_u8 is_11b)

◆ hh503_get_rx_chain_cb

typedef osal_u8(* hh503_get_rx_chain_cb) (osal_void)

◆ hh503_initialize_rf_sys_cb

typedef osal_void(* hh503_initialize_rf_sys_cb) (hal_to_dmac_device_stru *hal_device)

◆ hh503_pow_set_rf_regctl_enable_cb

typedef osal_void(* hh503_pow_set_rf_regctl_enable_cb) (hal_to_dmac_device_stru *hal_device, oal_bool_enum_uint8 rf_linectl)

◆ hh503_restore_tx_power_cb

typedef osal_void(* hh503_restore_tx_power_cb) (osal_u8 ch)

◆ hh503_rf_bandwidth_enum_uint8

◆ hh503_rf_get_subband_idx_cb

typedef osal_u8(* hh503_rf_get_subband_idx_cb) (wlan_channel_band_enum_uint8 band, osal_u8 channel_idx)

◆ hh503_rf_set_trx_type_cb

typedef osal_void(* hh503_rf_set_trx_type_cb) (hal_rf_trx_type_enum trx_type)

◆ hh503_set_rf_bw_cb

typedef osal_void(* hh503_set_rf_bw_cb) (wlan_bw_cap_enum_uint8 bw)

◆ hh503_set_rf_custom_reg_cb

typedef osal_void(* hh503_set_rf_custom_reg_cb) (hal_to_dmac_device_stru *hal_device)

◆ rf_off_flag_enum_uint8

枚举类型说明

◆ hh503_rf_bandwidth_enum

枚举值
HH503_RF_BAND_CTRL_10M 
HH503_RF_BAND_CTRL_20M 
HH503_RF_BAND_CTRL_40M 
HH503_RF_BAND_CTRL_80M 
HH503_RF_BAND_CTRL_BUTT 

◆ rf_off_flag_enum

枚举值
RFLDO_EN_OFF 
RF_EN_OFF 
RF_OFF_BUTT 

函数说明

◆ hal_radar_sensing_switch_abb_lo_tx_top_test_reg12()

osal_void hal_radar_sensing_switch_abb_lo_tx_top_test_reg12 ( osal_bool  is_on)

◆ hal_set_cal_tone()

osal_void hal_set_cal_tone ( osal_u32  tone_cfg)

◆ hh503_adjust_tx_power_level_ext()

osal_void hh503_adjust_tx_power_level_ext ( osal_u8  ch,
osal_s8  power 
)

◆ hh503_cali_send_func_ext()

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 
)

◆ hh503_config_custom_rf_ext()

osal_u32 hh503_config_custom_rf_ext ( const osal_u8 param)

◆ hh503_config_rssi_for_loss_ext()

osal_void hh503_config_rssi_for_loss_ext ( osal_u8  channel_num,
osal_s8 rssi 
)

◆ hh503_dpd_cfr_set_11b_ext()

osal_void hh503_dpd_cfr_set_11b_ext ( const hal_to_dmac_device_stru hal_device,
osal_u8  is_11b 
)

◆ hh503_get_tpc_code_ext()

osal_u8 hh503_get_tpc_code_ext ( osal_void  )

◆ hh503_initialize_rf_sys_ext()

osal_void hh503_initialize_rf_sys_ext ( hal_to_dmac_device_stru hal_device)

◆ hh503_pow_set_rf_regctl_enable_ext()

osal_void hh503_pow_set_rf_regctl_enable_ext ( const hal_to_dmac_device_stru hal_device,
oal_bool_enum_uint8  rf_linectl 
)

◆ hh503_rf_set_trx_type_ext()

osal_void hh503_rf_set_trx_type_ext ( hal_rf_trx_type_enum  trx_type)

◆ hh503_set_rf_bw()

osal_void hh503_set_rf_bw ( wlan_bw_cap_enum_uint8  bw)

◆ hh503_set_rf_custom_reg_ext()

osal_void hh503_set_rf_custom_reg_ext ( const hal_to_dmac_device_stru hal_device)