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
Kirill Smelkov
linux
Commits
45ed1c5a
Commit
45ed1c5a
authored
Jun 27, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o wl3501: initial batch of support for wireless extensions and ethtool
parent
73fca214
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
222 additions
and
65 deletions
+222
-65
drivers/net/wireless/Kconfig
drivers/net/wireless/Kconfig
+2
-0
drivers/net/wireless/wl3501.h
drivers/net/wireless/wl3501.h
+6
-11
drivers/net/wireless/wl3501_cs.c
drivers/net/wireless/wl3501_cs.c
+214
-54
No files found.
drivers/net/wireless/Kconfig
View file @
45ed1c5a
...
@@ -301,6 +301,8 @@ config PCMCIA_WL3501
...
@@ -301,6 +301,8 @@ config PCMCIA_WL3501
depends on NET_RADIO && EXPERIMENTAL && PCMCIA
depends on NET_RADIO && EXPERIMENTAL && PCMCIA
---help---
---help---
A driver for WL3501 PCMCIA 802.11 wireless cards made by Planet.
A driver for WL3501 PCMCIA 802.11 wireless cards made by Planet.
It has basic support for Linux wireless extensions and initial
micro support for ethtool.
# yes, this works even when no drivers are selected
# yes, this works even when no drivers are selected
config NET_WIRELESS
config NET_WIRELESS
...
...
drivers/net/wireless/wl3501.h
View file @
45ed1c5a
...
@@ -63,8 +63,8 @@ enum wl3501_signals {
...
@@ -63,8 +63,8 @@ enum wl3501_signals {
};
};
enum
wl3501_net_type
{
enum
wl3501_net_type
{
WL3501_NET_TYPE_INFRA
STRUCTURE
,
WL3501_NET_TYPE_INFRA
,
WL3501_NET_TYPE_
INDEPENDENT
,
WL3501_NET_TYPE_
ADHOC
,
WL3501_NET_TYPE_ANY_BSS
,
WL3501_NET_TYPE_ANY_BSS
,
};
};
...
@@ -84,12 +84,6 @@ enum wl3501_sys_type {
...
@@ -84,12 +84,6 @@ enum wl3501_sys_type {
WL3501_SYS_TYPE_SHARE_KEY
,
WL3501_SYS_TYPE_SHARE_KEY
,
};
};
enum
wl3501_pkt_type
{
WL3501_PKT_TYPE_ETHERII
,
WL3501_PKT_TYPE_ETHER802_3E
,
WL3501_PKT_TYPE_ETHER802_3F
,
};
enum
wl3501_status
{
enum
wl3501_status
{
WL3501_STATUS_SUCCESS
,
WL3501_STATUS_SUCCESS
,
WL3501_STATUS_INVALID
,
WL3501_STATUS_INVALID
,
...
@@ -429,10 +423,10 @@ struct wl3501_card {
...
@@ -429,10 +423,10 @@ struct wl3501_card {
u16
esbq_confirm
;
u16
esbq_confirm
;
struct
wl3501_mac_addr
bssid
;
struct
wl3501_mac_addr
bssid
;
u8
llc_type
;
u8
llc_type
;
enum
wl3501_net_type
net_type
;
int
net_type
;
u8
essid
[
34
];
u8
essid
[
34
];
u8
keep_essid
[
34
];
u8
keep_essid
[
34
];
u8
ether_type
;
int
ether_type
;
u8
chan
;
u8
chan
;
u8
def_chan
;
u8
def_chan
;
u16
start_seg
;
u16
start_seg
;
...
@@ -447,6 +441,7 @@ struct wl3501_card {
...
@@ -447,6 +441,7 @@ struct wl3501_card {
u8
version
[
2
];
u8
version
[
2
];
struct
net_device_stats
stats
;
struct
net_device_stats
stats
;
struct
iw_statistics
wstats
;
struct
iw_statistics
wstats
;
struct
iw_spy_data
spy_data
;
struct
dev_node_t
node
;
struct
dev_node_t
node
;
};
};
...
@@ -476,7 +471,7 @@ struct wl3501_ioctl_parm {
...
@@ -476,7 +471,7 @@ struct wl3501_ioctl_parm {
};
};
enum
wl3501_ioctl_cmd
{
enum
wl3501_ioctl_cmd
{
WL3501_IOCTL_CMD_GET_PARAMETER
,
WL3501_IOCTL_CMD_GET_PARAMETER
=
SIOCIWFIRSTPRIV
,
WL3501_IOCTL_CMD_SET_PARAMETER
,
WL3501_IOCTL_CMD_SET_PARAMETER
,
WL3501_IOCTL_CMD_WRITE_FLASH
,
WL3501_IOCTL_CMD_WRITE_FLASH
,
WL3501_IOCTL_CMD_SET_RESET
,
WL3501_IOCTL_CMD_SET_RESET
,
...
...
drivers/net/wireless/wl3501_cs.c
View file @
45ed1c5a
This diff is collapsed.
Click to expand it.
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