open-ameba/sdk/component/common/drivers/wlan/realtek/src/wifi_skbuf.c

15 lines
309 B
C
Raw Normal View History

2016-11-09 00:56:41 +00:00
#include <section_config.h>
#include <freertos/wrapper.h>
#undef MAX_SKB_BUF_NUM
#define MAX_SKB_BUF_NUM 16
// DO NOT modify this structure
struct skb_data {
struct list_head list;
unsigned char buf[MAX_SKB_BUF_SIZE];
atomic_t ref;
};
SRAM_BD_DATA_SECTION
struct skb_data skb_data_pool[MAX_SKB_BUF_NUM];