• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description: The Header File For HMAC Tx Wi-Fi Data.
15  * Create: 2022-04-14
16  */
17 
18 #ifndef __HMAC_TX_ENCAP_H__
19 #define __HMAC_TX_ENCAP_H__
20 #include "mac_vap_ext.h"
21 #include "mac_user_ext.h"
22 #include "oal_netbuf_ext.h"
23 #include "dmac_ext_if_hcm.h"
24 
25 #ifdef __cplusplus
26 #if __cplusplus
27 extern "C" {
28 #endif
29 #endif
30 
31 osal_u32 hmac_tx_encap_etc(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf);
32 osal_u32 hmac_tx_send_encap_data(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf);
33 osal_u32 hmac_tx_send_encap_mgmt(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf);
34 osal_u32 hmac_tx_set_addresses_sta(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user,
35     const mac_tx_ctl_stru *tx_ctl, mac_ether_header_stru *ether_hdr, mac_ieee80211_qos_htc_frame_addr4_stru *hdr);
36 
37 #ifdef __cplusplus
38 #if __cplusplus
39 }
40 #endif
41 #endif
42 
43 #endif
44