mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
Staging: rt28x0: remove dead code
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ef3e746815
commit
5a1322317a
@ -502,19 +502,6 @@ typedef struct _NDIS_802_11_AUTHENTICATION_EVENT
|
|||||||
NDIS_802_11_AUTHENTICATION_REQUEST Request[1];
|
NDIS_802_11_AUTHENTICATION_REQUEST Request[1];
|
||||||
} NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT;
|
} NDIS_802_11_AUTHENTICATION_EVENT, *PNDIS_802_11_AUTHENTICATION_EVENT;
|
||||||
|
|
||||||
/*
|
|
||||||
typedef struct _NDIS_802_11_TEST
|
|
||||||
{
|
|
||||||
ULONG Length;
|
|
||||||
ULONG Type;
|
|
||||||
union
|
|
||||||
{
|
|
||||||
NDIS_802_11_AUTHENTICATION_EVENT AuthenticationEvent;
|
|
||||||
NDIS_802_11_RSSI RssiTrigger;
|
|
||||||
};
|
|
||||||
} NDIS_802_11_TEST, *PNDIS_802_11_TEST;
|
|
||||||
*/
|
|
||||||
|
|
||||||
// 802.11 Media stream constraints, associated with OID_802_11_MEDIA_STREAM_MODE
|
// 802.11 Media stream constraints, associated with OID_802_11_MEDIA_STREAM_MODE
|
||||||
typedef enum _NDIS_802_11_MEDIA_STREAM_MODE
|
typedef enum _NDIS_802_11_MEDIA_STREAM_MODE
|
||||||
{
|
{
|
||||||
@ -553,10 +540,6 @@ typedef struct _NDIS_802_11_CAPABILITY
|
|||||||
NDIS_802_11_AUTHENTICATION_ENCRYPTION AuthenticationEncryptionSupported[1];
|
NDIS_802_11_AUTHENTICATION_ENCRYPTION AuthenticationEncryptionSupported[1];
|
||||||
} NDIS_802_11_CAPABILITY, *PNDIS_802_11_CAPABILITY;
|
} NDIS_802_11_CAPABILITY, *PNDIS_802_11_CAPABILITY;
|
||||||
|
|
||||||
#ifdef LINUX
|
|
||||||
#endif // LINUX //
|
|
||||||
|
|
||||||
|
|
||||||
#define RT_PRIV_IOCTL (SIOCIWFIRSTPRIV + 0x01) // Sync. with AP for wsc upnp daemon
|
#define RT_PRIV_IOCTL (SIOCIWFIRSTPRIV + 0x01) // Sync. with AP for wsc upnp daemon
|
||||||
#define RTPRIV_IOCTL_SET (SIOCIWFIRSTPRIV + 0x02)
|
#define RTPRIV_IOCTL_SET (SIOCIWFIRSTPRIV + 0x02)
|
||||||
|
|
||||||
@ -593,8 +576,6 @@ enum {
|
|||||||
#define OID_802_11_GET_COUNTRY_CODE 0x0716
|
#define OID_802_11_GET_COUNTRY_CODE 0x0716
|
||||||
#define OID_802_11_GET_CHANNEL_GEOGRAPHY 0x0717
|
#define OID_802_11_GET_CHANNEL_GEOGRAPHY 0x0717
|
||||||
|
|
||||||
//#define RT_OID_802_11_STATISTICS (OID_GET_SET_TOGGLE | OID_802_11_STATISTICS)
|
|
||||||
|
|
||||||
#define RT_OID_WSC_SET_PASSPHRASE 0x0740 // passphrase for wpa(2)-psk
|
#define RT_OID_WSC_SET_PASSPHRASE 0x0740 // passphrase for wpa(2)-psk
|
||||||
#define RT_OID_WSC_DRIVER_AUTO_CONNECT 0x0741
|
#define RT_OID_WSC_DRIVER_AUTO_CONNECT 0x0741
|
||||||
#define RT_OID_WSC_QUERY_DEFAULT_PROFILE 0x0742
|
#define RT_OID_WSC_QUERY_DEFAULT_PROFILE 0x0742
|
||||||
|
@ -64,14 +64,6 @@
|
|||||||
#include "rtmp_mcu.h"
|
#include "rtmp_mcu.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef AP_WSC_INCLUDED
|
|
||||||
#undef STA_WSC_INCLUDED
|
|
||||||
#undef WSC_INCLUDED
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef IGMP_SNOOP_SUPPORT
|
#ifdef IGMP_SNOOP_SUPPORT
|
||||||
#include "igmp_snoop.h"
|
#include "igmp_snoop.h"
|
||||||
#endif // IGMP_SNOOP_SUPPORT //
|
#endif // IGMP_SNOOP_SUPPORT //
|
||||||
|
@ -75,16 +75,6 @@
|
|||||||
#include <linux/kthread.h>
|
#include <linux/kthread.h>
|
||||||
#endif // KTHREAD_SUPPORT //
|
#endif // KTHREAD_SUPPORT //
|
||||||
|
|
||||||
#undef AP_WSC_INCLUDED
|
|
||||||
#undef STA_WSC_INCLUDED
|
|
||||||
#undef WSC_INCLUDED
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef KTHREAD_SUPPORT
|
|
||||||
#endif // KTHREAD_SUPPORT //
|
|
||||||
|
|
||||||
/***********************************************************************************
|
/***********************************************************************************
|
||||||
* Profile related sections
|
* Profile related sections
|
||||||
***********************************************************************************/
|
***********************************************************************************/
|
||||||
|
@ -41,23 +41,10 @@
|
|||||||
#define __RTMP_H__
|
#define __RTMP_H__
|
||||||
|
|
||||||
#include "spectrum_def.h"
|
#include "spectrum_def.h"
|
||||||
|
|
||||||
#include "rtmp_dot11.h"
|
#include "rtmp_dot11.h"
|
||||||
|
|
||||||
#undef AP_WSC_INCLUDED
|
|
||||||
#undef STA_WSC_INCLUDED
|
|
||||||
#undef WSC_INCLUDED
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(AP_WSC_INCLUDED) || defined(STA_WSC_INCLUDED)
|
|
||||||
#define WSC_INCLUDED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "rtmp_chip.h"
|
#include "rtmp_chip.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _RTMP_ADAPTER RTMP_ADAPTER;
|
typedef struct _RTMP_ADAPTER RTMP_ADAPTER;
|
||||||
typedef struct _RTMP_ADAPTER *PRTMP_ADAPTER;
|
typedef struct _RTMP_ADAPTER *PRTMP_ADAPTER;
|
||||||
|
|
||||||
|
@ -41,15 +41,6 @@
|
|||||||
|
|
||||||
#include "oid.h"
|
#include "oid.h"
|
||||||
|
|
||||||
#undef AP_WSC_INCLUDED
|
|
||||||
#undef STA_WSC_INCLUDED
|
|
||||||
#undef WSC_INCLUDED
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(AP_WSC_INCLUDED) || defined(STA_WSC_INCLUDED)
|
|
||||||
#define WSC_INCLUDED
|
|
||||||
#endif
|
|
||||||
//
|
//
|
||||||
// Debug information verbosity: lower values indicate higher urgency
|
// Debug information verbosity: lower values indicate higher urgency
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user