Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9758d0f0
Commit
9758d0f0
authored
Jun 27, 2005
by
Jeff Garzik
Committed by
Jeff Garzik
Jun 27, 2005
Browse files
Options
Browse Files
Download
Plain Diff
Merge /spare/repo/netdev-2.6/ branch 'orinoco'
parents
0dd3c781
1a9fe638
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2368 additions
and
1011 deletions
+2368
-1011
drivers/net/wireless/orinoco.c
drivers/net/wireless/orinoco.c
+1457
-1010
drivers/net/wireless/orinoco.h
drivers/net/wireless/orinoco.h
+29
-1
include/net/ieee80211.h
include/net/ieee80211.h
+882
-0
No files found.
drivers/net/wireless/orinoco.c
View file @
9758d0f0
This diff is collapsed.
Click to expand it.
drivers/net/wireless/orinoco.h
View file @
9758d0f0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#ifndef _ORINOCO_H
#ifndef _ORINOCO_H
#define _ORINOCO_H
#define _ORINOCO_H
#define DRIVER_VERSION "0.1
4alpha
2"
#define DRIVER_VERSION "0.1
5rc
2"
#include <linux/types.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
#define WIRELESS_SPY // enable iwspy support
#define WIRELESS_SPY // enable iwspy support
#define MAX_SCAN_LEN 4096
#define ORINOCO_MAX_KEY_SIZE 14
#define ORINOCO_MAX_KEY_SIZE 14
#define ORINOCO_MAX_KEYS 4
#define ORINOCO_MAX_KEYS 4
...
@@ -30,6 +32,20 @@ struct orinoco_key {
...
@@ -30,6 +32,20 @@ struct orinoco_key {
char
data
[
ORINOCO_MAX_KEY_SIZE
];
char
data
[
ORINOCO_MAX_KEY_SIZE
];
}
__attribute__
((
packed
));
}
__attribute__
((
packed
));
struct
header_struct
{
/* 802.3 */
u8
dest
[
ETH_ALEN
];
u8
src
[
ETH_ALEN
];
u16
len
;
/* 802.2 */
u8
dsap
;
u8
ssap
;
u8
ctrl
;
/* SNAP */
u8
oui
[
3
];
u16
ethertype
;
}
__attribute__
((
packed
));
typedef
enum
{
typedef
enum
{
FIRMWARE_TYPE_AGERE
,
FIRMWARE_TYPE_AGERE
,
FIRMWARE_TYPE_INTERSIL
,
FIRMWARE_TYPE_INTERSIL
,
...
@@ -48,6 +64,8 @@ struct orinoco_private {
...
@@ -48,6 +64,8 @@ struct orinoco_private {
/* driver state */
/* driver state */
int
open
;
int
open
;
u16
last_linkstatus
;
u16
last_linkstatus
;
struct
work_struct
join_work
;
struct
work_struct
wevent_work
;
/* Net device stuff */
/* Net device stuff */
struct
net_device
*
ndev
;
struct
net_device
*
ndev
;
...
@@ -74,7 +92,9 @@ struct orinoco_private {
...
@@ -74,7 +92,9 @@ struct orinoco_private {
unsigned
int
has_pm
:
1
;
unsigned
int
has_pm
:
1
;
unsigned
int
has_preamble
:
1
;
unsigned
int
has_preamble
:
1
;
unsigned
int
has_sensitivity
:
1
;
unsigned
int
has_sensitivity
:
1
;
unsigned
int
has_hostscan
:
1
;
unsigned
int
broken_disableport
:
1
;
unsigned
int
broken_disableport
:
1
;
unsigned
int
broken_monitor
:
1
;
/* Configuration paramaters */
/* Configuration paramaters */
u32
iw_mode
;
u32
iw_mode
;
...
@@ -84,6 +104,8 @@ struct orinoco_private {
...
@@ -84,6 +104,8 @@ struct orinoco_private {
int
bitratemode
;
int
bitratemode
;
char
nick
[
IW_ESSID_MAX_SIZE
+
1
];
char
nick
[
IW_ESSID_MAX_SIZE
+
1
];
char
desired_essid
[
IW_ESSID_MAX_SIZE
+
1
];
char
desired_essid
[
IW_ESSID_MAX_SIZE
+
1
];
char
desired_bssid
[
ETH_ALEN
];
int
bssid_fixed
;
u16
frag_thresh
,
mwo_robust
;
u16
frag_thresh
,
mwo_robust
;
u16
channel
;
u16
channel
;
u16
ap_density
,
rts_thresh
;
u16
ap_density
,
rts_thresh
;
...
@@ -98,6 +120,12 @@ struct orinoco_private {
...
@@ -98,6 +120,12 @@ struct orinoco_private {
/* Configuration dependent variables */
/* Configuration dependent variables */
int
port_type
,
createibss
;
int
port_type
,
createibss
;
int
promiscuous
,
mc_count
;
int
promiscuous
,
mc_count
;
/* Scanning support */
int
scan_inprogress
;
/* Scan pending... */
u32
scan_mode
;
/* Type of scan done */
char
*
scan_result
;
/* Result of previous scan */
int
scan_len
;
/* Lenght of result */
};
};
#ifdef ORINOCO_DEBUG
#ifdef ORINOCO_DEBUG
...
...
include/net/ieee80211.h
0 → 100644
View file @
9758d0f0
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