mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-18 03:28:19 +01:00
update:add luckfox-pico Ultra support
This commit is contained in:
committed by
luckfox-eng33
parent
1e160dee55
commit
d3153ac97e
52
sysdrv/drv_ko/wifi/aic8800dc/aic8800_fdrv/ipc_host.c
Executable file
52
sysdrv/drv_ko/wifi/aic8800dc/aic8800_fdrv/ipc_host.c
Executable file
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
*
|
||||
* @file ipc_host.c
|
||||
*
|
||||
* @brief IPC module.
|
||||
*
|
||||
* Copyright (C) RivieraWaves 2011-2019
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
* INCLUDE FILES
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef __KERNEL__
|
||||
#include <stdio.h>
|
||||
#else
|
||||
#include <linux/spinlock.h>
|
||||
#include "rwnx_defs.h"
|
||||
#include "rwnx_prof.h"
|
||||
#endif
|
||||
|
||||
#include "ipc_host.h"
|
||||
|
||||
/*
|
||||
* TYPES DEFINITION
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
const int nx_txdesc_cnt[] = {
|
||||
NX_TXDESC_CNT0,
|
||||
NX_TXDESC_CNT1,
|
||||
NX_TXDESC_CNT2,
|
||||
NX_TXDESC_CNT3,
|
||||
#if NX_TXQ_CNT == 5
|
||||
NX_TXDESC_CNT4,
|
||||
#endif
|
||||
};
|
||||
|
||||
const int nx_txuser_cnt[] = {
|
||||
CONFIG_USER_MAX,
|
||||
CONFIG_USER_MAX,
|
||||
CONFIG_USER_MAX,
|
||||
CONFIG_USER_MAX,
|
||||
#if NX_TXQ_CNT == 5
|
||||
1,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user