Home
last modified time | relevance | path

Searched refs:oal_netbuf_stru (Results 1 - 25 of 48) sorted by relevance

12

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_frag.c39 static hi_u32 hmac_frag_process(oal_netbuf_stru *netbuf_original, hmac_tx_ctl_stru *tx_ctl, hi_u32 cip_hdrsize, in hmac_frag_process()
43 oal_netbuf_stru *netbuf = HI_NULL; in hmac_frag_process()
58 oal_netbuf_stru *netbuf_prev = netbuf_original; in hmac_frag_process()
139 hi_u32 hmac_frag_process_proc(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf, in hmac_frag_process_proc()
185 oal_netbuf_stru *netbuf = HI_NULL; in hmac_defrag_timeout_fn()
199 static hi_u32 hmac_defrag_process_frame(hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf, hi_u8 frag_num, in hmac_defrag_process_frame()
213 oal_netbuf_stru *new_buf = oal_pbuf_netbuf_alloc(HMAC_MAX_FRAG_SIZE); in hmac_defrag_process_frame()
216 oal_netbuf_stru *new_buf = oal_netbuf_alloc(HMAC_MAX_FRAG_SIZE, 0, 4); /* align 4 */ in hmac_defrag_process_frame()
252 oal_netbuf_stru *hmac_get_defraged_netbuf(hmac_user_stru *hmac_user, mac_ieee80211_frame_stru *last_hdr) in hmac_get_defraged_netbuf()
254 oal_netbuf_stru *netbu in hmac_get_defraged_netbuf()
[all...]
H A Dhmac_tx_data.h91 hi_u32 hmac_tx_lan_to_wlan(mac_vap_stru *mac_vap, oal_netbuf_stru *netbuf);
96 hi_u16 hmac_free_netbuf_list(oal_netbuf_stru *netbuf);
97 hi_u32 hmac_tx_encap(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf);
98 hmac_tx_return_type_enum_uint8 hmac_tx_ucast_process(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf,
107 const oal_netbuf_stru *netbuf);
H A Dhmac_frag.h43 oal_netbuf_stru *hmac_defrag_process(hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf, hi_u32 hrdsize);
44 hi_u32 hmac_frag_process_proc(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf,
H A Dhmac_rx_data.c71 static hi_void hmac_rx_frame_80211_to_eth(oal_netbuf_stru *netbuf, const hi_u8 *da_mac_addr, hi_u8 da_addr_len, in hmac_rx_frame_80211_to_eth()
104 hi_void hmac_rx_free_netbuf(oal_netbuf_stru *netbuf, hi_u16 us_nums) in hmac_rx_free_netbuf()
106 oal_netbuf_stru *netbuf_temp = HI_NULL; in hmac_rx_free_netbuf()
143 oal_netbuf_stru *netbuf = HI_NULL; in hmac_rx_free_netbuf_list()
174 oal_netbuf_stru *netbuf = HI_NULL; /* 从netbuf链上取下来的指向netbuf的指针 */ in hmac_rx_transmit_to_wlan()
177 oal_netbuf_stru *buf_tmp = HI_NULL; /* 暂存netbuf指针,用于while循环 */ in hmac_rx_transmit_to_wlan()
239 hi_void hmac_rx_set_msdu_state(oal_netbuf_stru *netbuf, hmac_msdu_proc_state_stru *msdu_state) in hmac_rx_set_msdu_state()
253 hi_u32 hmac_rx_msdu_proc(const hmac_vap_stru *hmac_vap, oal_netbuf_head_stru *netbuf_header, oal_netbuf_stru *netbuf, in hmac_rx_msdu_proc()
324 oal_netbuf_stru *netbuf, mac_ieee80211_frame_stru *frame_hdr) in hmac_rx_prepare_msdu_list_to_wlan()
534 oal_netbuf_stru *netbu in hmac_rx_transmit_msdu_to_lan()
[all...]
H A Dhmac_user.h209 hi_u8 (*wapi_filter_frame)(struct tag_hmac_wapi_stru *pst_wapi, oal_netbuf_stru *pst_netbuff);
211 hi_u32 (*wapi_decrypt)(struct tag_hmac_wapi_stru *pst_wapi, oal_netbuf_stru *pst_netbuff);
212 hi_u32 (*wapi_encrypt)(struct tag_hmac_wapi_stru *pst_wapi, oal_netbuf_stru *pst_netbuf);
213 oal_netbuf_stru *(*wapi_netbuff_txhandle)(struct tag_hmac_wapi_stru *pst_wapi, oal_netbuf_stru *pst_netbuf);
214 oal_netbuf_stru *(*wapi_netbuff_rxhandle)(struct tag_hmac_wapi_stru *pst_wapi, oal_netbuf_stru *pst_netbuf);
293 oal_netbuf_stru *defrag_netbuf;
H A Dhmac_rx_data.h55 oal_netbuf_stru *netbuf; /* MSDU对应的netbuf指针(可以使clone的netbuf) */
60 oal_netbuf_stru *curr_netbuf; /* 当前处理的netbuf指针 */
84 hi_void hmac_rx_free_netbuf(oal_netbuf_stru *netbuf, hi_u16 us_nums);
H A Dhmac_mgmt_bss_comm.h70 hi_u32 hmac_tx_mgmt_send_event(const mac_vap_stru *mac_vap, oal_netbuf_stru *mgmt_frame, hi_u32 us_frame_len);
83 hi_void hmac_rx_sa_query_req(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u8 is_protected);
84 hi_void hmac_rx_sa_query_rsp(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u8 is_protected);
87 hi_u32 hmac_mgmt_rx_opmode_notify_frame(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf);
89 hi_void hmac_send_mgmt_to_host(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u16 us_len, hi_s32 l_freq);
90 hi_void hmac_rx_mgmt_send_to_host(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf);
H A Dhmac_main.c282 hi_void hmac_rxdata_netbuf_enqueue(oal_netbuf_stru *netbuf)
315 pst_data_rate = (mac_data_rate_stru *)(oal_netbuf_data((oal_netbuf_stru *)(pst_ctx_event->netbuf)));
317 pst_data_mac_addr = (hi_u8 *)(oal_netbuf_data((oal_netbuf_stru *)(pst_ctx_event->netbuf))) +
324 oal_netbuf_free((oal_netbuf_stru *)pst_ctx_event->netbuf);
334 oal_netbuf_free((oal_netbuf_stru *)pst_ctx_event->netbuf);
H A Dhmac_crypto_tkip.h67 hi_u32 hmac_crypto_tkip_enmic(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf);
68 hi_u32 hmac_crypto_tkip_demic(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf);
H A Dhmac_wapi.c327 oal_netbuf_stru *hmac_wapi_netbuff_tx_handle(hmac_wapi_stru *wapi, oal_netbuf_stru *netbuf) in hmac_wapi_netbuff_tx_handle()
330 oal_netbuf_stru *netbuf_tmp = HI_NULL; /* 指向需要释放的netbuff */ in hmac_wapi_netbuff_tx_handle()
331 oal_netbuf_stru *netbuf_prev = HI_NULL; /* 指向已经加密的netbuff */ in hmac_wapi_netbuff_tx_handle()
332 oal_netbuf_stru *buf_first = HI_NULL; /* 指向还未加密的netbuff */ in hmac_wapi_netbuff_tx_handle()
386 oal_netbuf_stru *hmac_wapi_netbuff_rx_handle(hmac_wapi_stru *wapi, oal_netbuf_stru *netbuf) in hmac_wapi_netbuff_rx_handle()
389 oal_netbuf_stru *netbuf_tmp = HI_NULL; /* 指向需要释放的netbuff */ in hmac_wapi_netbuff_rx_handle()
483 hi_u32 hmac_wapi_decrypt(hmac_wapi_stru *wapi, oal_netbuf_stru *netbuf) in hmac_wapi_decrypt()
530 oal_netbuf_stru *netbuff_de in hmac_wapi_decrypt()
[all...]
H A Dhmac_tx_data.c58 hi_u32 hmac_tx_data(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf);
75 hi_u16 hmac_free_netbuf_list(oal_netbuf_stru *netbuf) in hmac_free_netbuf_list()
77 oal_netbuf_stru *buf_tmp = HI_NULL; in hmac_free_netbuf_list()
269 static hi_void hmac_tx_classify_lan_to_wlan(oal_netbuf_stru *netbuf, hi_u8 *puc_tid) in hmac_tx_classify_lan_to_wlan()
433 static hi_void hmac_tx_classify(const hmac_vap_stru *hmac_vap, const mac_user_stru *user, oal_netbuf_stru *netbuf) in hmac_tx_classify()
476 oal_netbuf_stru *pst_buf
490 static hi_u32 hmac_tx_filter_security(const hmac_vap_stru *hmac_vap, const oal_netbuf_stru *netbuf, in hmac_tx_filter_security()
614 const oal_netbuf_stru *netbuf) in hmac_tid_need_ba_session()
684 hmac_tx_return_type_enum_uint8 hmac_tx_ucast_process(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, in hmac_tx_ucast_process()
730 const oal_netbuf_stru *netbu in hmac_tx_is_need_frag()
[all...]
H A Dhmac_encap_frame_ap.h103 hi_u16 hmac_encap_auth_rsp(mac_vap_stru *mac_vap, oal_netbuf_stru *auth_rsp, const oal_netbuf_stru *auth_req,
H A Dhmac_crypto_tkip.c130 static hi_u32 hmac_crypto_tkip_michael_mic(const hi_u8 *puc_key, const oal_netbuf_stru *netbuf, in hmac_crypto_tkip_michael_mic()
233 hi_u32 hmac_crypto_tkip_enmic_key(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf, const hmac_tx_ctl_stru *cb, in hmac_crypto_tkip_enmic_key()
272 hi_u32 hmac_crypto_tkip_enmic(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf) in hmac_crypto_tkip_enmic()
336 hi_u32 hmac_crypto_tkip_demic(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf) in hmac_crypto_tkip_demic()
H A Dhmac_mgmt_bss_comm.c475 oal_netbuf_stru *addba_req, const hmac_addba_req_info *addba_info) in hmac_mgmt_set_addba_req()
525 hi_u32 hmac_mgmt_send_addba_event(const mac_vap_stru *mac_vap, oal_netbuf_stru *addba_req, hi_u16 us_frame_len) in hmac_mgmt_send_addba_event()
608 oal_netbuf_stru *addba_rsp, hmac_tx_ctl_stru *tx_ctl, hi_u16 us_frame_len) in hmac_mgmt_tx_addba_rsp_send_event()
668 oal_netbuf_stru *addba_req = oal_netbuf_alloc(WLAN_MGMT_NETBUF_SIZE, 0, 4); /* align 4 */ in hmac_mgmt_tx_addba_req()
726 oal_netbuf_stru *addba_rsp = oal_netbuf_alloc(WLAN_MGMT_NETBUF_SIZE, 0, 4); /* align 4 */ in hmac_mgmt_tx_addba_rsp()
775 mac_vap_stru *mac_vap, oal_netbuf_stru *delba, hi_u16 us_frame_len) in hmac_mgmt_tx_delba_send_event()
865 oal_netbuf_stru *delba = oal_netbuf_alloc(WLAN_MGMT_NETBUF_SIZE, 0, 4); /* align 4 */ in hmac_mgmt_tx_delba()
1453 hi_u32 hmac_tx_mgmt_send_event(const mac_vap_stru *mac_vap, oal_netbuf_stru *mgmt_frame, hi_u32 us_frame_len) in hmac_tx_mgmt_send_event()
1734 oal_netbuf_stru *sa_query = (oal_netbuf_stru *)oal_netbuf_allo in hmac_send_sa_query_req()
[all...]
H A Dhmac_11i.h78 hi_u32 hmac_en_mic(const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf, hi_u8 *puc_iv_len);
79 hi_u32 hmac_de_mic(const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf);
H A Dhmac_mgmt_classifier.c198 hi_u32 hmac_rx_process_others_bss_management(const oal_netbuf_stru *netbuf) in hmac_rx_process_others_bss_management()
265 oal_netbuf_stru *netbuf = (oal_netbuf_stru *)crx_event->netbuf; in hmac_rx_process_mgmt_event()
310 oal_netbuf_stru *netbuf = (oal_netbuf_stru *)crx_event->netbuf; in hmac_rx_process_mgmt_promis()
H A Dhmac_mgmt_ap.c152 hi_void hmac_mesh_sae_auth_proc(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *auth_req) in hmac_mesh_sae_auth_proc()
197 static hi_void hmac_ap_rx_auth_req(const hmac_vap_stru *hmac_vap, const oal_netbuf_stru *auth_req) in hmac_ap_rx_auth_req()
219 oal_netbuf_stru *auth_rsp = (oal_netbuf_stru *)oal_netbuf_alloc(WLAN_MGMT_NETBUF_SIZE, 0, 4); /* align 4 */ in hmac_ap_rx_auth_req()
1431 oal_netbuf_stru **asoc_rsp, hi_u32 *asoc_rsp_len) in hmac_ap_prepare_asoc_rsp()
1436 *asoc_rsp = (oal_netbuf_stru *)oal_netbuf_alloc(WLAN_MGMT_NETBUF_SIZE, 0, 4); /* align 4 */ in hmac_ap_prepare_asoc_rsp()
1481 oal_netbuf_stru *asoc_rsp = HI_NULL; in hmac_ap_tx_asoc_rsp()
1682 static hi_void hmac_ap_up_rx_action_category_public(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, in hmac_ap_up_rx_action_category_public()
1704 static hi_void hmac_ap_up_rx_action_category_vht(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, in hmac_ap_up_rx_action_category_vht()
1725 static hi_void hmac_ap_up_rx_action_category_sa_query(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbu
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_hmac.c98 const oal_netbuf_stru *netbuf, hi_u8 config_frame) in hcc_hmac_tx_adapt_extend_hdr_init()
113 hi_u32 hcc_hmac_tx_hcc_hdr_init(oal_netbuf_stru *netbuf, const hcc_transfer_param *param) in hcc_hmac_tx_hcc_hdr_init()
116 oal_netbuf_stru *netbuf_temp = netbuf; in hcc_hmac_tx_hcc_hdr_init()
153 hi_void hcc_sort_key_frame(hcc_trans_queue_stru *hcc_queue, oal_netbuf_stru *netbuf) in hcc_sort_key_frame()
157 oal_netbuf_stru *netbuf_tmp = HI_NULL; in hcc_sort_key_frame()
158 oal_netbuf_stru *netbuf_pos = HI_NULL; in hcc_sort_key_frame()
183 hi_u32 hcc_host_tx(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf, const hcc_transfer_param *param) in hcc_host_tx()
260 hi_u32 hcc_tx_netbuf_normal(const frw_event_mem_stru *event_mem, oal_netbuf_stru *netbuf, hi_u32 hdr_len) in hcc_tx_netbuf_normal()
321 oal_netbuf_stru *netbuf = HI_NULL; in hmac_hcc_tx_event_buf_to_netbuf()
393 hi_void hcc_adjust_netbuf_data(oal_netbuf_stru *netbu
[all...]
H A Dhmac_hcc_adapt.c74 hcc_extend_hdr = oal_netbuf_data((oal_netbuf_stru *)hcc_event_payload->netbuf); in hmac_hcc_rx_event_comm_adapt()
81 (hi_s32)oal_netbuf_len((oal_netbuf_stru *)hcc_event_payload->netbuf), in hmac_hcc_rx_event_comm_adapt()
86 pst_rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)hcc_event_payload->netbuf); in hmac_hcc_rx_event_comm_adapt()
115 oal_netbuf_stru *hcc_netbuf; in hmac_hcc_expand_rx_adpat_event()
153 oal_netbuf_stru *hcc_netbuf = HI_NULL; in hmac_hcc_rx_netbuf_convert_to_event()
230 hmac_rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)hcc_event_payload->netbuf); in hmac_rx_convert_netbuf_to_netbuf_default()
234 dmax_ctx_event->us_frame_len = oal_netbuf_len((oal_netbuf_stru *)hcc_event_payload->netbuf) - in hmac_rx_convert_netbuf_to_netbuf_default()
H A Dhcc_hmac_if.h48 typedef hi_u32 (*hcc_hmac_rx_data_event)(frw_event_mem_stru *event_mem, oal_netbuf_stru *netbuf, hi_u16 netbuf_num);
74 hi_u32 hcc_hmac_tx_data_event(frw_event_mem_stru *event_mem, oal_netbuf_stru *netbuf, hi_bool mgmt);
H A Dhcc_host.c285 static hi_s32 hcc_host_rx(const hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf)
339 oal_netbuf_stru *netbuf = HI_NULL;
399 static oal_netbuf_stru *hcc_tx_assem_descr_get(hcc_handler_stru *hcc_handler)
404 static hi_void hcc_tx_assem_descr_put(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf)
409 static hi_s32 hcc_send_single_descr(hcc_handler_stru *hcc_handler, oal_netbuf_stru *netbuf)
424 oal_netbuf_stru *netbuf = HI_NULL;
520 static oal_netbuf_stru *hcc_netbuf_len_align(oal_netbuf_stru *netbuf, hi_u32 align_size)
555 oal_netbuf_head_stru *head, oal_netbuf_head_stru *next_assembled_head, const oal_netbuf_stru *descr_netbuf,
561 oal_netbuf_stru *netbu
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_net.h80 hi_u32 hwal_skb_struct_free(oal_netbuf_stru *sk_buf);
81 oal_netbuf_stru *hwal_skb_struct_alloc(hi_void);
82 hi_u32 hwal_pbuf_convert_2_skb(const oal_net_device_stru *netdev, oal_lwip_buf *lwip_buf, oal_netbuf_stru *sk_buf);
83 oal_lwip_buf *hwal_skb_convert_2_pbuf(const oal_netbuf_stru *sk_buf);
H A Dwal_linux_flowctl.h70 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf);
76 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv,
H A Dwal_linux_flowctl.c54 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv, in wal_netdev_select_queue()
183 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv, in wal_netdev_select_queue()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_net.c95 hi_void oal_dev_netlink_rev(oal_netbuf_stru *netbuf) in oal_dev_netlink_rev()
97 oal_netbuf_stru *skb_info = HI_NULL; in oal_dev_netlink_rev()
170 oal_netbuf_stru *netbuf = HI_NULL; in oal_dev_netlink_send()
560 hi_s32 oal_eth_header(oal_netbuf_stru *netbuf, oal_net_device_stru *netdev, oal_eth_header_info_stru *eth_header_info) in oal_eth_header()
597 oal_netbuf_stru *oal_arp_create(const oal_arp_create_info_stru *p_arp_create_info, oal_net_device_stru *netdev) in oal_arp_create()
603 oal_netbuf_stru *netbuf = oal_netbuf_alloc(oal_arp_hdr_len(netdev) + oal_ll_allocated_space(netdev), 0); in oal_arp_create()

Completed in 21 milliseconds

12