55 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			55 lines
		
	
	
		
			1.7 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 PLC_RF_SCAN_TBL_H
 | ||
|  | #define PLC_RF_SCAN_TBL_H
 | ||
|  | 
 | ||
|  | #include "mac_rf_scan.h"
 | ||
|  | 
 | ||
|  | #ifdef __cplusplus
 | ||
|  | extern "C" { | ||
|  | #endif
 | ||
|  | 
 | ||
|  | /* define count of rf entry, recommend count plus extended count should be not
 | ||
|  |  * more than MAC_RF_SCAN_OP_CHN_MAX | ||
|  |  */ | ||
|  | #define RF_SCAN_TBL_NSG_CNT           (40)
 | ||
|  | #define RF_SCAN_TBL_NSG_EXT_CNT       (59)
 | ||
|  | #define RF_SCAN_TBL_OVERSEAS_CNT      (16)
 | ||
|  | #define RF_SCAN_TBL_OVERSEAS_EXT_CNT  (60)
 | ||
|  | 
 | ||
|  | /* plc_get_rf_recommend_tbl - get recommended rf table
 | ||
|  |  * @rf_tbl    pointer to rf table, as return value | ||
|  |  * | ||
|  |  * return: | ||
|  |  *     recommended rf channel count | ||
|  |  */ | ||
|  | uint8_t plc_get_rf_recommend_tbl( | ||
|  |     const mac_rf_scan_op_chn_t **rf_tbl); | ||
|  | 
 | ||
|  | /* plc_get_rf_ext_tbl - get extensional rf table
 | ||
|  |  * @rf_tbl    pointer to rf table, as return value | ||
|  |  * | ||
|  |  * return: | ||
|  |  *     extensional rf channel count | ||
|  |  */ | ||
|  | uint8_t plc_get_rf_ext_tbl(const mac_rf_scan_op_chn_t **rf_tbl); | ||
|  | 
 | ||
|  | #ifdef __cplusplus
 | ||
|  | } | ||
|  | #endif
 | ||
|  | 
 | ||
|  | #endif /* PLC_RF_SCAN_TBL_H */
 | ||
|  | 
 |