mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
Move vars from rtw_recv.h to rtw_recv.c in order to prevent unused vars warnings when including rtw_recv.h.
Note that SNAP_ETH_TYPE_APPLETALK_DDP, SNAP_ETH_TYPE_TDLS, SNAP_HDR_APPLETALK_DDP, oui_8021h and oui_rfc1042 are still unused and can be commented out.
This commit is contained in:
parent
30a3f12112
commit
27670d56d0
2 changed files with 19 additions and 18 deletions
|
@ -29,6 +29,25 @@
|
||||||
#include <usb_ops.h>
|
#include <usb_ops.h>
|
||||||
#include <wifi.h>
|
#include <wifi.h>
|
||||||
|
|
||||||
|
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_DDP[2] = {0x80, 0x9b};
|
||||||
|
static u8 SNAP_ETH_TYPE_TDLS[2] = {0x89, 0x0d};
|
||||||
|
/* Datagram Delivery Protocol */
|
||||||
|
static u8 SNAP_HDR_APPLETALK_DDP[3] = {0x08, 0x00, 0x07};
|
||||||
|
|
||||||
|
static u8 oui_8021h[] = {0x00, 0x00, 0xf8};
|
||||||
|
static u8 oui_rfc1042[] = {0x00, 0x00, 0x00};
|
||||||
|
|
||||||
|
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
|
||||||
|
};
|
||||||
|
|
||||||
void rtw_signal_stat_timer_hdl(RTW_TIMER_HDL_ARGS);
|
void rtw_signal_stat_timer_hdl(RTW_TIMER_HDL_ARGS);
|
||||||
|
|
||||||
void _rtw_init_sta_recv_priv(struct sta_recv_priv *psta_recvpriv)
|
void _rtw_init_sta_recv_priv(struct sta_recv_priv *psta_recvpriv)
|
||||||
|
|
|
@ -35,25 +35,7 @@
|
||||||
|
|
||||||
#define SNAP_SIZE sizeof(struct ieee80211_snap_hdr)
|
#define SNAP_SIZE sizeof(struct ieee80211_snap_hdr)
|
||||||
|
|
||||||
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_DDP[2] = {0x80, 0x9b};
|
|
||||||
static u8 SNAP_ETH_TYPE_TDLS[2] = {0x89, 0x0d};
|
|
||||||
/* Datagram Delivery Protocol */
|
|
||||||
static u8 SNAP_HDR_APPLETALK_DDP[3] = {0x08, 0x00, 0x07};
|
|
||||||
|
|
||||||
static u8 oui_8021h[] = {0x00, 0x00, 0xf8};
|
|
||||||
static u8 oui_rfc1042[] = {0x00, 0x00, 0x00};
|
|
||||||
|
|
||||||
#define MAX_SUBFRAME_COUNT 64
|
#define MAX_SUBFRAME_COUNT 64
|
||||||
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
|
|
||||||
};
|
|
||||||
|
|
||||||
/* for Rx reordering buffer control */
|
/* for Rx reordering buffer control */
|
||||||
struct recv_reorder_ctrl {
|
struct recv_reorder_ctrl {
|
||||||
|
|
Loading…
Reference in a new issue