rtl8199eu: Remove all PLATFORM_LINUX ifdefs

This option is always chosen.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-11 00:30:22 -05:00
parent bb27b28f6e
commit 1c5cb9ca00
33 changed files with 12 additions and 910 deletions

View file

@ -27,10 +27,7 @@
#include <osdep_service.h>
#include <drv_types.h>
#include "wifi.h"
#if defined PLATFORM_LINUX
#include <linux/wireless.h>
#endif
#else
#include <list.h>
@ -312,8 +309,6 @@ struct ieee_ibss_seq {
_list list;
};
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct rtw_ieee80211_hdr {
u16 frame_ctl;
u16 duration_id;
@ -363,8 +358,6 @@ struct eapol {
u16 length;
} __attribute__ ((packed));
#endif
enum eap_type {
EAP_PACKET = 0,
EAPOL_START,
@ -473,8 +466,6 @@ enum eap_type {
#define P80211_OUI_LEN 3
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct ieee80211_snap_hdr {
u8 dsap; /* always 0xAA */
@ -484,8 +475,6 @@ struct ieee80211_snap_hdr {
} __attribute__ ((packed));
#endif
#define SNAP_SIZE sizeof(struct ieee80211_snap_hdr)
#define WLAN_FC_GET_TYPE(fc) ((fc) & RTW_IEEE80211_FCTL_FTYPE)
@ -753,10 +742,6 @@ struct ieee80211_softmac_stats{
#define WEP_KEYS 4
#define WEP_KEY_LEN 13
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct ieee80211_security {
u16 active_key:2,
enabled:1,
@ -769,8 +754,6 @@ struct ieee80211_security {
u16 flags;
} __attribute__ ((packed));
#endif
/*
802.11 data frame from AP
@ -811,8 +794,6 @@ struct ieee80211_header_data {
#define MFIE_TYPE_RATES_EX 50
#define MFIE_TYPE_GENERIC 221
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct ieee80211_info_element_hdr {
u8 id;
u8 len;
@ -823,7 +804,6 @@ struct ieee80211_info_element {
u8 len;
u8 data[0];
} __attribute__ ((packed));
#endif
/*
* These are the data types that can make up management packets
@ -845,10 +825,6 @@ struct ieee80211_info_element {
#define IEEE80211_DEFAULT_TX_ESSID "Penguin"
#define IEEE80211_DEFAULT_BASIC_RATE 10
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct ieee80211_authentication {
struct ieee80211_header_data header;
u16 algorithm;
@ -886,7 +862,6 @@ struct ieee80211_assoc_response_frame {
u16 aid;
// struct ieee80211_info_element info_element; /* supported rates */
} __attribute__ ((packed));
#endif
struct ieee80211_txb {
u8 nr_frags;