Move some static buffer declarations from .h files to .c files
This avoids these buffers getting added to all .o files. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:

committed by
Hans de Goede

parent
406a1931d1
commit
e6ee1ad72c
@@ -28,6 +28,15 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static u8 rtw_rfc1042_header[] =
|
||||||
|
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
||||||
|
/* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
|
||||||
|
static u8 rtw_bridge_tunnel_header[] =
|
||||||
|
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0xf8 };
|
||||||
|
|
||||||
|
static u8 SNAP_ETH_TYPE_IPX[2] = {0x81, 0x37};
|
||||||
|
|
||||||
|
static u8 SNAP_ETH_TYPE_APPLETALK_AARP[2] = {0x80, 0xf3};
|
||||||
|
|
||||||
#ifdef CONFIG_NEW_SIGNAL_STAT_PROCESS
|
#ifdef CONFIG_NEW_SIGNAL_STAT_PROCESS
|
||||||
void rtw_signal_stat_timer_hdl(RTW_TIMER_HDL_ARGS);
|
void rtw_signal_stat_timer_hdl(RTW_TIMER_HDL_ARGS);
|
||||||
|
@@ -75,6 +75,7 @@
|
|||||||
#define RX_CMD_QUEUE 1
|
#define RX_CMD_QUEUE 1
|
||||||
#define RX_MAX_QUEUE 2
|
#define RX_MAX_QUEUE 2
|
||||||
|
|
||||||
|
#if 0 // jfm
|
||||||
static u8 SNAP_ETH_TYPE_IPX[2] = {0x81, 0x37};
|
static u8 SNAP_ETH_TYPE_IPX[2] = {0x81, 0x37};
|
||||||
|
|
||||||
static u8 SNAP_ETH_TYPE_APPLETALK_AARP[2] = {0x80, 0xf3};
|
static u8 SNAP_ETH_TYPE_APPLETALK_AARP[2] = {0x80, 0xf3};
|
||||||
@@ -84,13 +85,16 @@ static u8 SNAP_HDR_APPLETALK_DDP[3] = {0x08, 0x00, 0x07}; // Datagram Delivery P
|
|||||||
|
|
||||||
static u8 oui_8021h[] = {0x00, 0x00, 0xf8};
|
static u8 oui_8021h[] = {0x00, 0x00, 0xf8};
|
||||||
static u8 oui_rfc1042[]= {0x00,0x00,0x00};
|
static u8 oui_rfc1042[]= {0x00,0x00,0x00};
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_SUBFRAME_COUNT 64
|
#define MAX_SUBFRAME_COUNT 64
|
||||||
|
#if 0 // jfm
|
||||||
static u8 rtw_rfc1042_header[] =
|
static u8 rtw_rfc1042_header[] =
|
||||||
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
||||||
/* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
|
/* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
|
||||||
static u8 rtw_bridge_tunnel_header[] =
|
static u8 rtw_bridge_tunnel_header[] =
|
||||||
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0xf8 };
|
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0xf8 };
|
||||||
|
#endif
|
||||||
|
|
||||||
//for Rx reordering buffer control
|
//for Rx reordering buffer control
|
||||||
struct recv_reorder_ctrl
|
struct recv_reorder_ctrl
|
||||||
|
@@ -21,6 +21,12 @@
|
|||||||
|
|
||||||
#include <drv_types.h>
|
#include <drv_types.h>
|
||||||
|
|
||||||
|
static u8 rtw_rfc1042_header[] =
|
||||||
|
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 };
|
||||||
|
/* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
|
||||||
|
static u8 rtw_bridge_tunnel_header[] =
|
||||||
|
{ 0xaa, 0xaa, 0x03, 0x00, 0x00, 0xf8 };
|
||||||
|
|
||||||
int rtw_os_alloc_recvframe(_adapter *padapter, union recv_frame *precvframe, u8 *pdata, _pkt *pskb)
|
int rtw_os_alloc_recvframe(_adapter *padapter, union recv_frame *precvframe, u8 *pdata, _pkt *pskb)
|
||||||
{
|
{
|
||||||
int res = _SUCCESS;
|
int res = _SUCCESS;
|
||||||
|
Reference in New Issue
Block a user