rtl8188eu: Remove the PLATFORM_LINUX tests

This configuration parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2014-12-15 18:29:43 -06:00
parent dd606233f2
commit 62ef49de15
46 changed files with 6 additions and 870 deletions

View file

@ -28,12 +28,7 @@
#include <drv_types.h>
#include "wifi.h"
#if defined PLATFORM_OS_XP
#include <ntstrsafe.h>
#endif
#if defined PLATFORM_LINUX
#include <linux/wireless.h>
#endif
#else
#include <list.h>
@ -753,8 +748,6 @@ struct ieee80211_softmac_stats{
#define BIP_AAD_SIZE 20
#endif //CONFIG_IEEE80211W
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct ieee80211_security {
u16 active_key:2,
enabled:1,
@ -767,8 +760,6 @@ struct ieee80211_security {
u16 flags;
} __attribute__ ((packed));
#endif
/*
802.11 data frame from AP
@ -809,8 +800,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;
@ -821,7 +810,6 @@ struct ieee80211_info_element {
u8 len;
u8 data[0];
} __attribute__ ((packed));
#endif
/*
* These are the data types that can make up management packets
@ -844,9 +832,6 @@ struct ieee80211_info_element {
#define IEEE80211_DEFAULT_BASIC_RATE 10
#if defined(PLATFORM_LINUX) || defined(CONFIG_RTL8711FW)
struct ieee80211_authentication {
struct ieee80211_header_data header;
u16 algorithm;
@ -855,7 +840,6 @@ struct ieee80211_authentication {
//struct ieee80211_info_element_hdr info_element;
} __attribute__ ((packed));
struct ieee80211_probe_response {
struct ieee80211_header_data header;
u32 time_stamp[2];
@ -884,7 +868,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;