Files
kunlun/dtest/dtest3/mac_phy/common/rf_mac_common.h
2024-09-28 14:24:04 +08:00

52 lines
1.6 KiB
C

/****************************************************************************
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
be copied by any method or incorporated into another program without
the express written consent of Aerospace C.Power. This Information or any portion
thereof remains the property of Aerospace C.Power. The Information contained herein
is believed to be accurate and Aerospace C.Power assumes no responsibility or
liability for its use in any way and conveys no license or title under
any patent or copyright and makes no representation or warranty that this
Information is free from patent or copyright infringement.
****************************************************************************/
#ifndef __RF_MAC_COMMON_H__
#define __RF_MAC_COMMON_H__
/* cfg info */
typedef struct _rf_mac_cfg_info {
/* option */
uint32_t option;
/* delimiter type */
uint32_t delimiter;
/* nid */
uint32_t nid;
/* phy header mcs */
uint32_t phr_mcs;
/* payload mcs */
uint32_t pld_mcs;
/* payload block size */
uint32_t pld_blkz;
/* is bcast package */
uint32_t is_bcast;
/* tx cnt */
uint32_t tx_cnt;
} rf_mac_cfg_info_t;
/* rf_mac_sigtap_enable() - enable rf mac sigtap
*/
void rf_mac_sigtap_enable();
/* rf_mac_free_ntb_enable() - enable rf mac free ntb
*/
void rf_mac_free_ntb_enable();
/* rf_mac_get_ntb() - get rf mac get ntb
* @return uint32_t: - ntb.
*/
uint32_t rf_mac_get_ntb();
#endif /* __RF_MAC_COMMON_H__ */