open-ameba/sdk/component/common/drivers/wlan/realtek/src/wifi_skbuf.c
Drasko DRASKOVIC eeb7f808ae Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-05-14 18:47:13 +02:00

14 lines
309 B
C

#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];