62 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			1.9 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 __MAC_RX_H
 | 
						|
#define __MAC_RX_H
 | 
						|
 | 
						|
#include "hal_rx.h"
 | 
						|
 | 
						|
/**
 | 
						|
 *@brief phy_rx_path_init.
 | 
						|
 *  config the rx path register from phy module.
 | 
						|
 *
 | 
						|
 *@param void               [none.]
 | 
						|
 *@exception                [none.]
 | 
						|
 *@return                   [none.]
 | 
						|
*/
 | 
						|
void phy_rx_path_init();
 | 
						|
 | 
						|
/**
 | 
						|
 *@brief mac_rx_path_init.
 | 
						|
 *  config the rx path register.
 | 
						|
 *
 | 
						|
 *@param void               [none.]
 | 
						|
 *@exception                [none.]
 | 
						|
 *@return                   [none.]
 | 
						|
*/
 | 
						|
void mac_rx_path_init();
 | 
						|
 | 
						|
/**
 | 
						|
 *@brief platform_pre_init.
 | 
						|
 *  config the parameters based on platform.
 | 
						|
 *
 | 
						|
 *@param void               [none.]
 | 
						|
 *@exception                [none.]
 | 
						|
 *@return                   [none.]
 | 
						|
*/
 | 
						|
void platform_rx_pre_init();
 | 
						|
 | 
						|
/**
 | 
						|
 *@brief phy_get_pb_buf_ptr_from_mpdu.
 | 
						|
 *  get pb buf pointer from mpdu.
 | 
						|
 *
 | 
						|
 *@param mpdu               [mpdu pointer.]
 | 
						|
 *@exception                [none.]
 | 
						|
 *@return                   [none.]
 | 
						|
*/
 | 
						|
uint32_t phy_get_pb_buf_ptr_from_mpdu(volatile tx_mpdu_start *mpdu);
 | 
						|
 | 
						|
#endif
 | 
						|
 |