/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_frag.c | 74 hmac_tx_ctl_stru *tx_ctl_copy = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_frag_process() 109 ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf))->frame_header = frag_header; in hmac_frag_process() 110 ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf))->us_mpdu_len = (hi_u16)(frag_size - total_hdrsize); in hmac_frag_process() 224 if (memcpy_s(oal_netbuf_cb(new_buf), oal_netbuf_cb_size(), oal_netbuf_cb(netbuf), oal_netbuf_cb_size()) != EOK) { in hmac_defrag_process_frame() 230 hmac_rx_ctl_stru *rx_ctl = (hmac_rx_ctl_stru *)oal_netbuf_cb(new_buf); in hmac_defrag_process_frame()
|
H A D | hmac_rx_data.c | 214 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_rx_transmit_to_wlan() 245 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(msdu_state->curr_netbuf); in hmac_rx_set_msdu_state() 271 rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_rx_msdu_proc() 289 memset_s(oal_netbuf_cb(netbuf), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_rx_msdu_proc() 327 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); /* 获取该MPDU的控制信息 */ in hmac_rx_prepare_msdu_list_to_wlan() 602 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_rx_msdu_frame_classify() 621 rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_rx_msdu_frame_classify() 681 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_rx_lan_frame_classify() 733 if (memcpy_s(oal_netbuf_cb(*dest_netbuf), oal_netbuf_cb_size(), oal_netbuf_cb(src_netbu in hmac_rx_copy_netbuff() [all...] |
H A D | hmac_wapi.c | 500 hmac_rx_ctl_stru *rx_ctl_in = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_wapi_decrypt() 550 hmac_rx_ctl_stru *rx_ctl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuff_des); in hmac_wapi_decrypt() 551 if (memcpy_s(rx_ctl, sizeof(hmac_rx_ctl_stru), oal_netbuf_cb(netbuf), sizeof(hmac_rx_ctl_stru)) != EOK) { in hmac_wapi_decrypt() 727 ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf_des))->frame_header = in hmac_wapi_encrypt_action() 731 ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf_des))->us_mpdu_len = in hmac_wapi_encrypt_action() 761 mac_ieee80211_frame_stru *mac_hdr = ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf))->frame_header; in hmac_wapi_encrypt() 762 hmac_wapi.mac_hdr_len = ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf))->frame_header_length; in hmac_wapi_encrypt() 769 hmac_wapi.pdu_len = (hi_u16)(((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf))->us_mpdu_len); in hmac_wapi_encrypt() 787 if (memcpy_s(oal_netbuf_cb(netbuf_des), oal_netbuf_cb_size(), oal_netbuf_cb(netbu in hmac_wapi_encrypt() [all...] |
H A D | hmac_mgmt_bss_comm.c | 478 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(addba_req); in hmac_mgmt_set_addba_req() 483 memset_s(oal_netbuf_cb(addba_req), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_mgmt_set_addba_req() 733 memset_s(oal_netbuf_cb(addba_rsp), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_mgmt_tx_addba_rsp() 736 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(addba_rsp); in hmac_mgmt_tx_addba_rsp() 780 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(delba); in hmac_mgmt_tx_delba_send_event() 872 memset_s(oal_netbuf_cb(delba), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_mgmt_tx_delba() 1745 if (memset_s(oal_netbuf_cb(sa_query), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()) != EOK) { in hmac_send_sa_query_req() 1762 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(sa_query); /* 获取cb结构体 */ in hmac_send_sa_query_req() 1965 if (memset_s(oal_netbuf_cb(sa_query), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()) != EOK) { in hmac_send_sa_query_rsp() 1982 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(sa_quer in hmac_send_sa_query_rsp() [all...] |
H A D | hmac_tx_data.c | 86 tx_cb = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_free_netbuf_list() 272 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_tx_classify_lan_to_wlan() 455 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_tx_classify() 1071 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)(oal_netbuf_cb(netbuf)); in hmac_tx_encap() 1359 mac_ieee80211_frame_stru *mac_hdr = ((hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf))->frame_header; in hmac_tx_lan_to_wlan_no_tcp_opt_vap() 1369 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_tx_lan_to_wlan_no_tcp_opt_vap() 1502 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_tx_wlan_to_wlan_ap() 1550 hmac_tx_ctl_stru* tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_tx_lan_to_wlan()
|
H A D | hmac_mgmt_sta.c | 583 memset_s(oal_netbuf_cb(auth_frame), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_sta_wait_auth() 611 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(auth_frame); /* 获取cb结构体 */ in hmac_sta_wait_auth() 656 memset_s(oal_netbuf_cb(auth_frame), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_sta_shared_key_auth_proc() 674 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(auth_frame); in hmac_sta_shared_key_auth_proc() 712 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)crx_event->netbuf); in hmac_sta_wait_auth_seq2_rx() 786 rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)crx_event->netbuf); in hmac_sta_wait_auth_seq4_rx() 878 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(asoc_req_frame); in hmac_sta_fill_tx_ctl_stru() 904 memset_s(oal_netbuf_cb(asoc_req_frame), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_sta_wait_asoc() 1825 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)crx_event->netbuf); in hmac_sta_wait_asoc_rx() 2182 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbu in hmac_sta_up_rx_beacon() [all...] |
H A D | hmac_crypto_tkip.c | 284 hmac_tx_ctl_stru *cb = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_crypto_tkip_enmic() 358 cb = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_crypto_tkip_demic()
|
H A D | hmac_mgmt_ap.c | 173 hmac_rx_ctl_stru *rx_ctl = (hmac_rx_ctl_stru *)oal_netbuf_cb(auth_req); in hmac_mesh_sae_auth_proc() 226 memset_s(oal_netbuf_cb(auth_rsp), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_ap_rx_auth_req() 238 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(auth_rsp); in hmac_ap_rx_auth_req() 1444 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(*asoc_rsp); in hmac_ap_prepare_asoc_rsp() 1510 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(asoc_rsp); in hmac_ap_tx_asoc_rsp() 1746 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_ap_up_rx_action_self_protected() 1809 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_ap_up_rx_action() 1870 rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_ap_up_rx_probe_req() 1892 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)mgmt_rx_event->netbuf); in hmac_ap_up_rx_mgmt()
|
H A D | hmac_p2p.c | 959 memset_s(oal_netbuf_cb(puc_data), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_p2p_send_action() 988 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(puc_data); in hmac_p2p_send_action() 1262 rx_info = (hmac_rx_ctl_stru *)oal_netbuf_cb((oal_netbuf_stru *)crx_event->netbuf); in hmac_p2p_sta_not_up_rx_mgmt()
|
H A D | hmac_encap_frame_ap.c | 665 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(auth_rsp); in hmac_encap_auth_rsp_body() 784 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(auth_rsp); in hmac_update_auth_rsp_status_code() 915 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(auth_rsp); /* rsp帧的tx cb字段 */ in hmac_encap_auth_rsp()
|
H A D | hmac_mgmt_classifier.c | 280 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_rx_process_mgmt_event()
|
H A D | hmac_config.c | 3041 if (memset_s(oal_netbuf_cb(netbuf_dpd_data), OAL_TX_CB_LEN, 0, OAL_TX_CB_LEN) != EOK) { in hmac_dpd_data_processed_send() 3047 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf_dpd_data); in hmac_dpd_data_processed_send() 3809 if (memset_s(oal_netbuf_cb(pkt_buf), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()) != EOK) { in hmac_send_custom_pkt() 3815 tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(pkt_buf); in hmac_send_custom_pkt() 5499 memset_s(oal_netbuf_cb(netbuf), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()); in hmac_bridge_vap_xmit() 5504 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_bridge_vap_xmit() 6703 if (memset_s(oal_netbuf_cb(data), oal_netbuf_cb_size(), 0, oal_netbuf_cb_size()) != EOK) { in hmac_config_encap_mesh_frame() 6740 hmac_tx_ctl_stru *tx_ctl = (hmac_tx_ctl_stru *)oal_netbuf_cb(data); in hmac_config_encap_mesh_frame() 7272 cb = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hmac_config_new_peer_candidate_event()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/ |
H A D | hcc_hmac.c | 203 hcc_cb = (hcc_tx_cb_stru *)oal_netbuf_cb(netbuf); in hcc_host_tx() 396 hmac_tx_ctl_stru *hmac_tx_ctrl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hcc_adjust_netbuf_data() 447 tx_ctrl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hcc_host_tx_data_adapt()
|
H A D | hmac_hcc_adapt.c | 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() 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()
|
H A D | hcc_host.c | 632 pst_cb_stru = (hcc_tx_cb_stru *)oal_netbuf_cb(pst_netbuf);
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_netbuf.h | 157 #define oal_netbuf_cb(nb) ((nb)->rsv)
macro 215 #define oal_netbuf_cb(nb) (((nb)->cb))
macro
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_cfg80211_apt.c | 870 hmac_rx_ctl_stru *rx_ctrl = (hmac_rx_ctl_stru *)oal_netbuf_cb(netbuf); in hwal_send_others_bss_data()
|