• 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: hmac_tx_mpdu_queue.c 的头文件
15  * Date: 2022-5-13
16  */
17 
18 #ifndef __HMAC_TX_MPDU_QUEUE_H__
19 #define __HMAC_TX_MPDU_QUEUE_H__
20 
21 /*****************************************************************************
22   1 其他头文件包含
23 *****************************************************************************/
24 #include "mac_vap_ext.h"
25 #include "mac_user_ext.h"
26 #include "oal_net.h"
27 #include "hal_common_ops.h"
28 #include "dmac_ext_if_device.h"
29 #ifdef __cplusplus
30 #if __cplusplus
31 extern "C" {
32 #endif
33 #endif
34 
35 #undef  THIS_FILE_ID
36 #define THIS_FILE_ID OAM_FILE_ID_DMAC_TX_COMPLETE_ROM_H
37 
38 osal_u32  hmac_tx_schedule(hal_to_dmac_device_stru *hal_device, osal_u8 ac_num);
39 osal_u32 hmac_tx_process_tid_queue(hal_to_dmac_device_stru *hal_device, hmac_vap_stru *hmac_vap,
40     oal_netbuf_stru *netbuf, hmac_tid_stru *tid_queue, osal_u8 hal_q);
41 oal_netbuf_stru *hmac_tx_dequeue_first_mpdu(oal_netbuf_head_stru *netbuf_head);
42 osal_void hmac_vap_clear_tx_queue(hmac_vap_stru *hmac_vap);
43 #ifdef _PRE_WIFI_DEBUG
44 void pkt_trace_debug(oal_netbuf_stru *netbuf, osal_char *direct);
45 void pkt_drop_debug(const mac_tx_ctl_stru *tx_ctl, const osal_char *drop_reason);
46 #endif
47 
48 #ifdef __cplusplus
49 #if __cplusplus
50 }
51 #endif
52 #endif
53 
54 #endif
55