WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_car.h 文件参考
#include "oal_ext_if.h"
#include "frw_ext_if.h"
#include "hmac_device.h"
hmac_car.h 的引用(Include)关系图:

浏览源代码.

宏定义

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_CAR_H
 
#define HMAC_CAR_CYCLE_MS   100
 
#define HMAC_CAR_WIFI_ETH   20
 
#define HMAC_CAR_MULTICAST_PPS_NUM   0
 
#define hmac_device_foreach_vap(_hmac_vap, _pst_device, _uc_vap_index)
 
#define hmac_vap_foreach_user(_pst_user, _hmac_vap, _pst_list_pos)
 

函数

osal_u32 hmac_car_device_bw_limit (hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_vap_bw_limit (hmac_vap_stru *hmac_vap, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_user_bw_limit (hmac_vap_stru *hmac_vap, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_device_multicast (hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_device_timer_cycle_limit (hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_process (hmac_device_stru *hmac_device, hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, oal_netbuf_stru *buf, hmac_car_up_down_type_enum_uint8 car_type)
 
osal_u32 hmac_car_process_uplink (osal_u16 ta_user_idx, hmac_vap_stru *hmac_vap, oal_netbuf_stru *buf, hmac_car_up_down_type_enum_uint8 car_type)
 
osal_u32 hmac_car_enable_switch (hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_show_info (hmac_device_stru *hmac_device)
 
osal_u32 hmac_car_multicast_process (hmac_device_stru *hmac_device, oal_netbuf_stru *buf)
 
osal_u32 hmac_car_device_multicast_pps_num (hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
 
osal_u32 hmac_car_init (hmac_device_stru *hmac_device)
 
osal_u32 hmac_car_exit (hmac_device_stru *hmac_device)
 

宏定义说明

◆ HMAC_CAR_CYCLE_MS

#define HMAC_CAR_CYCLE_MS   100

◆ HMAC_CAR_MULTICAST_PPS_NUM

#define HMAC_CAR_MULTICAST_PPS_NUM   0

◆ HMAC_CAR_WIFI_ETH

#define HMAC_CAR_WIFI_ETH   20

◆ hmac_device_foreach_vap

#define hmac_device_foreach_vap (   _hmac_vap,
  _pst_device,
  _uc_vap_index 
)
值:
for ((_uc_vap_index) = 0, \
(_hmac_vap) = ((_pst_device)->vap_num > 0)? \
((hmac_vap_stru *)mac_res_get_hmac_vap((_pst_device)->vap_id[0])) : OAL_PTR_NULL; \
(_uc_vap_index) < (_pst_device)->vap_num; \
(_uc_vap_index) ++, \
(_hmac_vap) = ((_uc_vap_index) < (_pst_device)->vap_num)? \
((hmac_vap_stru *)mac_res_get_hmac_vap((_pst_device)->vap_id[_uc_vap_index])) : OAL_PTR_NULL) \
if (OAL_PTR_NULL != (_hmac_vap))
void * mac_res_get_hmac_vap(osal_u8 idx)
#define OAL_PTR_NULL
Definition oal_types_device_rom.h:30
Definition mac_vap_ext.h:2019

◆ hmac_vap_foreach_user

#define hmac_vap_foreach_user (   _pst_user,
  _hmac_vap,
  _pst_list_pos 
)
值:
for ((_pst_list_pos) = (_hmac_vap)->mac_user_list_head.next, \
(_pst_user) = osal_list_entry((_pst_list_pos), hmac_user_stru, user_dlist); \
(_pst_list_pos) != &((_hmac_vap)->mac_user_list_head); \
(_pst_list_pos) = (_pst_list_pos)->next, \
(_pst_user) = osal_list_entry((_pst_list_pos), hmac_user_stru, user_dlist)) \
if (OAL_PTR_NULL != (_pst_user))
#define osal_list_entry(ptr, type, member)
Definition osal_list.h:409
Definition mac_user_ext.h:519

◆ THIS_FILE_ID

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_CAR_H

函数说明

◆ hmac_car_device_bw_limit()

osal_u32 hmac_car_device_bw_limit ( hmac_device_stru hmac_device,
mac_cfg_car_stru *  car_cfg_param 
)
extern

◆ hmac_car_device_multicast()

osal_u32 hmac_car_device_multicast ( hmac_device_stru hmac_device,
mac_cfg_car_stru *  car_cfg_param 
)
extern

◆ hmac_car_device_multicast_pps_num()

osal_u32 hmac_car_device_multicast_pps_num ( hmac_device_stru hmac_device,
mac_cfg_car_stru *  car_cfg_param 
)
extern

◆ hmac_car_device_timer_cycle_limit()

osal_u32 hmac_car_device_timer_cycle_limit ( hmac_device_stru hmac_device,
mac_cfg_car_stru *  car_cfg_param 
)
extern

◆ hmac_car_enable_switch()

osal_u32 hmac_car_enable_switch ( hmac_device_stru hmac_device,
mac_cfg_car_stru *  car_cfg_param 
)
extern

◆ hmac_car_exit()

osal_u32 hmac_car_exit ( hmac_device_stru hmac_device)
extern

◆ hmac_car_init()

osal_u32 hmac_car_init ( hmac_device_stru hmac_device)
extern

◆ hmac_car_multicast_process()

osal_u32 hmac_car_multicast_process ( hmac_device_stru hmac_device,
oal_netbuf_stru buf 
)
extern

◆ hmac_car_process()

osal_u32 hmac_car_process ( hmac_device_stru hmac_device,
hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
oal_netbuf_stru buf,
hmac_car_up_down_type_enum_uint8  car_type 
)
extern

◆ hmac_car_process_uplink()

osal_u32 hmac_car_process_uplink ( osal_u16  ta_user_idx,
hmac_vap_stru hmac_vap,
oal_netbuf_stru buf,
hmac_car_up_down_type_enum_uint8  car_type 
)
extern

◆ hmac_car_show_info()

osal_u32 hmac_car_show_info ( hmac_device_stru hmac_device)
extern

◆ hmac_car_user_bw_limit()

osal_u32 hmac_car_user_bw_limit ( hmac_vap_stru hmac_vap,
mac_cfg_car_stru *  car_cfg_param 
)
extern

◆ hmac_car_vap_bw_limit()

osal_u32 hmac_car_vap_bw_limit ( hmac_vap_stru hmac_vap,
mac_cfg_car_stru *  car_cfg_param 
)
extern