59 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			2.1 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_SCHED_HTBUS_H
 | |
| #define MAC_SCHED_HTBUS_H
 | |
| 
 | |
| /* os shim includes */
 | |
| #include "os_types.h"
 | |
| 
 | |
| /* mac module internal includes */
 | |
| #include "mac_vdev.h"
 | |
| 
 | |
| /* public api includes */
 | |
| #include "mac_bcm_api.h"
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| /*
 | |
|  * @brief mac_sched_cco_set_htbus() - set schedule of next beacon period cco
 | |
|  *                                    verison
 | |
|  * @param vdev:             pointer to mac vdev
 | |
|  * @param ts:               pointer to time slot assignment of the next beacon
 | |
|  *                          period
 | |
|  * @param start_ntb64:      start NTB 64bit version of next beacon period
 | |
|  */
 | |
| void mac_sched_cco_set_htbus(mac_vdev_t *vdev, mac_bc_htbus_time_slot_t *ts,
 | |
|     uint64_t start_ntb64);
 | |
| 
 | |
| /*
 | |
|  * @brief mac_sched_sta_set_htbus() - set schedule of next beacon
 | |
|  *                                    period sta version
 | |
|  * @param vdev:             pointer to mac vdev
 | |
|  * @param ts:               pointer to time slot assignment of the next beacon
 | |
|  *                          period
 | |
|  * @param start_ntb:        start NTB 32bit version of next beacon period
 | |
|  */
 | |
| void mac_sched_sta_set_htbus(mac_vdev_t *vdev, mac_bc_htbus_time_slot_t *ts,
 | |
|     uint32_t start_ntb);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif /* MAC_SCHED_HTBUS_H */
 |