26#define THIS_FILE_ID OAM_FILE_ID_HMAC_CAR_H
30#define HMAC_CAR_CYCLE_MS 100
31#define HMAC_CAR_WIFI_ETH 20
32#define HMAC_CAR_MULTICAST_PPS_NUM 0
36#define hmac_device_foreach_vap(_hmac_vap, _pst_device, _uc_vap_index) \
37 for ((_uc_vap_index) = 0, \
38 (_hmac_vap) = ((_pst_device)->vap_num > 0)? \
39 ((hmac_vap_stru *)mac_res_get_hmac_vap((_pst_device)->vap_id[0])) : OAL_PTR_NULL; \
40 (_uc_vap_index) < (_pst_device)->vap_num; \
42 (_hmac_vap) = ((_uc_vap_index) < (_pst_device)->vap_num)? \
43 ((hmac_vap_stru *)mac_res_get_hmac_vap((_pst_device)->vap_id[_uc_vap_index])) : OAL_PTR_NULL) \
44 if (OAL_PTR_NULL != (_hmac_vap))
46#define hmac_vap_foreach_user(_pst_user, _hmac_vap, _pst_list_pos) \
47 for ((_pst_list_pos) = (_hmac_vap)->mac_user_list_head.next, \
48 (_pst_user) = osal_list_entry((_pst_list_pos), hmac_user_stru, user_dlist); \
49 (_pst_list_pos) != &((_hmac_vap)->mac_user_list_head); \
50 (_pst_list_pos) = (_pst_list_pos)->next, \
51 (_pst_user) = osal_list_entry((_pst_list_pos), hmac_user_stru, user_dlist)) \
52 if (OAL_PTR_NULL != (_pst_user))
98 mac_cfg_car_stru *car_cfg_param);
101 hmac_car_up_down_type_enum_uint8 car_type);
108 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_user_bw_limit(hmac_vap_stru *hmac_vap, 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_device_multicast_pps_num(hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
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_init(hmac_device_stru *hmac_device)
osal_u32 hmac_car_show_info(hmac_device_stru *hmac_device)
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_multicast_process(hmac_device_stru *hmac_device, oal_netbuf_stru *buf)
osal_u32 hmac_car_device_bw_limit(hmac_device_stru *hmac_device, mac_cfg_car_stru *car_cfg_param)
osal_u32 hmac_car_exit(hmac_device_stru *hmac_device)
osal_u32 hmac_car_enable_switch(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)
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Definition mac_device_ext.h:856
Definition mac_user_ext.h:519
Definition mac_vap_ext.h:2019
Definition oal_skbuff.h:82