Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0c1e7e8e
Commit
0c1e7e8e
authored
Mar 12, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wireless prism54] remove WIRELESS_EXT ifdefs
parent
8eae4cbf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
28 deletions
+0
-28
drivers/net/wireless/prism54/isl_ioctl.c
drivers/net/wireless/prism54/isl_ioctl.c
+0
-19
drivers/net/wireless/prism54/isl_ioctl.h
drivers/net/wireless/prism54/isl_ioctl.h
+0
-5
drivers/net/wireless/prism54/islpci_dev.c
drivers/net/wireless/prism54/islpci_dev.c
+0
-2
drivers/net/wireless/prism54/islpci_mgt.c
drivers/net/wireless/prism54/islpci_mgt.c
+0
-2
No files found.
drivers/net/wireless/prism54/isl_ioctl.c
View file @
0c1e7e8e
...
...
@@ -33,9 +33,7 @@
#include "isl_oid.h"
/* additional types and defs for isl38xx fw */
#include "oid_mgt.h"
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
/* New driver API */
#endif
/* WIRELESS_EXT > 12 */
static
int
init_mode
=
CARD_DEFAULT_IW_MODE
;
static
int
init_channel
=
CARD_DEFAULT_CHANNEL
;
...
...
@@ -693,7 +691,6 @@ prism54_translate_bss(struct net_device *ndev, char *current_ev,
current_ev
=
iwe_stream_add_event
(
current_ev
,
end_buf
,
&
iwe
,
IW_EV_QUAL_LEN
);
#if WIRELESS_EXT > 14
if
(
priv
->
wpa
)
{
u8
wpa_ie
[
MAX_WPA_IE_LEN
];
char
*
buf
,
*
p
;
...
...
@@ -716,7 +713,6 @@ prism54_translate_bss(struct net_device *ndev, char *current_ev,
kfree
(
buf
);
}
}
#endif
/* WIRELESS_EXT > 14 */
return
current_ev
;
}
...
...
@@ -2025,8 +2021,6 @@ prism54_set_oid(struct net_device *ndev, struct iw_request_info *info,
return
ret
;
}
#if WIRELESS_EXT > 12
static
const
iw_handler
prism54_handler
[]
=
{
(
iw_handler
)
prism54_commit
,
/* SIOCSIWCOMMIT */
(
iw_handler
)
prism54_get_name
,
/* SIOCGIWNAME */
...
...
@@ -2044,28 +2038,16 @@ static const iw_handler prism54_handler[] = {
(
iw_handler
)
NULL
,
/* SIOCGIWPRIV */
(
iw_handler
)
NULL
,
/* SIOCSIWSTATS */
(
iw_handler
)
NULL
,
/* SIOCGIWSTATS */
#if WIRELESS_EXT > 15
iw_handler_set_spy
,
/* SIOCSIWSPY */
iw_handler_get_spy
,
/* SIOCGIWSPY */
iw_handler_set_thrspy
,
/* SIOCSIWTHRSPY */
iw_handler_get_thrspy
,
/* SIOCGIWTHRSPY */
#else
/* WIRELESS_EXT > 15 */
(
iw_handler
)
NULL
,
/* SIOCSIWSPY */
(
iw_handler
)
NULL
,
/* SIOCGIWSPY */
(
iw_handler
)
NULL
,
/* -- hole -- */
(
iw_handler
)
NULL
,
/* -- hole -- */
#endif
/* WIRELESS_EXT > 15 */
(
iw_handler
)
prism54_set_wap
,
/* SIOCSIWAP */
(
iw_handler
)
prism54_get_wap
,
/* SIOCGIWAP */
(
iw_handler
)
NULL
,
/* -- hole -- */
(
iw_handler
)
NULL
,
/* SIOCGIWAPLIST depreciated */
#if WIRELESS_EXT > 13
(
iw_handler
)
prism54_set_scan
,
/* SIOCSIWSCAN */
(
iw_handler
)
prism54_get_scan
,
/* SIOCGIWSCAN */
#else
/* WIRELESS_EXT > 13 */
(
iw_handler
)
NULL
,
/* SIOCSIWSCAN */
(
iw_handler
)
NULL
,
/* SIOCGIWSCAN */
#endif
/* WIRELESS_EXT > 13 */
(
iw_handler
)
prism54_set_essid
,
/* SIOCSIWESSID */
(
iw_handler
)
prism54_get_essid
,
/* SIOCGIWESSID */
(
iw_handler
)
prism54_set_nick
,
/* SIOCSIWNICKN */
...
...
@@ -2171,4 +2153,3 @@ const struct iw_handler_def prism54_handler_def = {
.
private_args
=
(
struct
iw_priv_args
*
)
prism54_private_args
,
};
#endif
/* WIRELESS_EXT > 12 */
drivers/net/wireless/prism54/isl_ioctl.h
View file @
0c1e7e8e
...
...
@@ -25,10 +25,7 @@
#include "islpci_mgt.h"
#include "islpci_dev.h"
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
/* New driver API */
#endif
/* WIRELESS_EXT > 12 */
#define SUPPORTED_WIRELESS_EXT 16
...
...
@@ -53,8 +50,6 @@ int prism54_set_mac_address(struct net_device *, void *);
int
prism54_ioctl
(
struct
net_device
*
,
struct
ifreq
*
,
int
);
#if WIRELESS_EXT > 12
extern
const
struct
iw_handler_def
prism54_handler_def
;
#endif
/* WIRELESS_EXT > 12 */
#endif
/* _ISL_IOCTL_H */
drivers/net/wireless/prism54/islpci_dev.c
View file @
0c1e7e8e
...
...
@@ -695,10 +695,8 @@ islpci_setup(struct pci_dev *pdev)
ndev
->
get_stats
=
&
islpci_statistics
;
ndev
->
get_wireless_stats
=
&
prism54_get_wireless_stats
;
ndev
->
do_ioctl
=
&
prism54_ioctl
;
#if WIRELESS_EXT > 12
ndev
->
wireless_handlers
=
(
struct
iw_handler_def
*
)
&
prism54_handler_def
;
#endif
/* WIRELESS_EXT > 12 */
ndev
->
hard_start_xmit
=
&
islpci_eth_transmit
;
/* ndev->set_multicast_list = &islpci_set_multicast_list; */
...
...
drivers/net/wireless/prism54/islpci_mgt.c
View file @
0c1e7e8e
...
...
@@ -32,9 +32,7 @@
#include "isl_oid.h"
/* additional types and defs for isl38xx fw */
#include "isl_ioctl.h"
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
#endif
/******************************************************************************
Global variable definition section
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment