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
2e9ff56e
Commit
2e9ff56e
authored
Mar 20, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upstream' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
d378aca6
cc8279f6
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
415 additions
and
375 deletions
+415
-375
Documentation/networking/README.ipw2100
Documentation/networking/README.ipw2100
+6
-6
Documentation/networking/README.ipw2200
Documentation/networking/README.ipw2200
+42
-2
drivers/net/wireless/ipw2100.c
drivers/net/wireless/ipw2100.c
+147
-73
drivers/net/wireless/ipw2100.h
drivers/net/wireless/ipw2100.h
+8
-3
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.c
+188
-262
drivers/net/wireless/ipw2200.h
drivers/net/wireless/ipw2200.h
+11
-28
net/ieee80211/ieee80211_rx.c
net/ieee80211/ieee80211_rx.c
+13
-1
No files found.
Documentation/networking/README.ipw2100
View file @
2e9ff56e
...
...
@@ -3,18 +3,18 @@ Intel(R) PRO/Wireless 2100 Driver for Linux in support of:
Intel(R) PRO/Wireless 2100 Network Connection
Copyright (C) 2003-200
5
, Intel Corporation
Copyright (C) 2003-200
6
, Intel Corporation
README.ipw2100
Version:
1.1.3
Date :
October 17, 2005
Version:
git-1.1.5
Date :
January 25, 2006
Index
-----------------------------------------------
0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
1. Introduction
2. Release
1.1.3
Current Features
2. Release
git-1.1.5
Current Features
3. Command Line Parameters
4. Sysfs Helper Files
5. Radio Kill Switch
...
...
@@ -89,7 +89,7 @@ potential fixes and patches, as well as links to the development mailing list
for the driver project.
2. Release
1.1.3
Current Supported Features
2. Release
git-1.1.5
Current Supported Features
-----------------------------------------------
- Managed (BSS) and Ad-Hoc (IBSS)
- WEP (shared key and open)
...
...
@@ -270,7 +270,7 @@ For installation support on the ipw2100 1.1.0 driver on Linux kernels
9. License
-----------------------------------------------
Copyright(c) 2003 - 200
5
Intel Corporation. All rights reserved.
Copyright(c) 2003 - 200
6
Intel Corporation. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License (version 2) as
...
...
Documentation/networking/README.ipw2200
View file @
2e9ff56e
...
...
@@ -10,7 +10,7 @@ both hardware adapters listed above. In this document the Intel(R)
PRO/Wireless 2915ABG Driver for Linux will be used to reference the
unified driver.
Copyright (C) 2004-200
5
, Intel Corporation
Copyright (C) 2004-200
6
, Intel Corporation
README.ipw2200
...
...
@@ -26,9 +26,11 @@ Index
1.2. Module parameters
1.3. Wireless Extension Private Methods
1.4. Sysfs Helper Files
1.5. Supported channels
2. Ad-Hoc Networking
3. Interacting with Wireless Tools
3.1. iwconfig mode
3.2. iwconfig sens
4. About the Version Numbers
5. Firmware installation
6. Support
...
...
@@ -314,6 +316,35 @@ For the device level files, see /sys/bus/pci/drivers/ipw2200:
running ifconfig and is therefore disabled by default.
1.5. Supported channels
-----------------------------------------------
Upon loading the Intel(R) PRO/Wireless 2915ABG Driver for Linux, a
message stating the detected geography code and the number of 802.11
channels supported by the card will be displayed in the log.
The geography code corresponds to a regulatory domain as shown in the
table below.
Supported channels
Code Geography 802.11bg 802.11a
--- Restricted 11 0
ZZF Custom US/Canada 11 8
ZZD Rest of World 13 0
ZZA Custom USA & Europe & High 11 13
ZZB Custom NA & Europe 11 13
ZZC Custom Japan 11 4
ZZM Custom 11 0
ZZE Europe 13 19
ZZJ Custom Japan 14 4
ZZR Rest of World 14 0
ZZH High Band 13 4
ZZG Custom Europe 13 4
ZZK Europe 13 24
ZZL Europe 11 13
2. Ad-Hoc Networking
-----------------------------------------------
...
...
@@ -353,6 +384,15 @@ When configuring the mode of the adapter, all run-time configured parameters
are reset to the value used when the module was loaded. This includes
channels, rates, ESSID, etc.
3.2 iwconfig sens
-----------------------------------------------
The 'iwconfig ethX sens XX' command will not set the signal sensitivity
threshold, as described in iwconfig documentation, but rather the number
of consecutive missed beacons that will trigger handover, i.e. roaming
to another access point. At the same time, it will set the disassociation
threshold to 3 times the given value.
4. About the Version Numbers
-----------------------------------------------
...
...
@@ -408,7 +448,7 @@ For general information and support, go to:
7. License
-----------------------------------------------
Copyright(c) 2003 - 200
5
Intel Corporation. All rights reserved.
Copyright(c) 2003 - 200
6
Intel Corporation. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as
...
...
drivers/net/wireless/ipw2100.c
View file @
2e9ff56e
This diff is collapsed.
Click to expand it.
drivers/net/wireless/ipw2100.h
View file @
2e9ff56e
/******************************************************************************
Copyright(c) 2003 - 200
4
Intel Corporation. All rights reserved.
Copyright(c) 2003 - 200
6
Intel Corporation. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
...
...
@@ -41,7 +41,12 @@
#include <net/ieee80211.h>
#ifdef CONFIG_IPW2100_MONITOR
#include <net/ieee80211_radiotap.h>
#endif
#include <linux/workqueue.h>
#include <linux/mutex.h>
struct
ipw2100_priv
;
struct
ipw2100_tx_packet
;
...
...
@@ -590,8 +595,8 @@ struct ipw2100_priv {
int
inta_other
;
spinlock_t
low_lock
;
struct
semaphore
action_sem
;
struct
semaphore
adapter_sem
;
struct
mutex
action_mutex
;
struct
mutex
adapter_mutex
;
wait_queue_head_t
wait_command_queue
;
};
...
...
drivers/net/wireless/ipw2200.c
View file @
2e9ff56e
This diff is collapsed.
Click to expand it.
drivers/net/wireless/ipw2200.h
View file @
2e9ff56e
/******************************************************************************
Copyright(c) 2003 - 200
5
Intel Corporation. All rights reserved.
Copyright(c) 2003 - 200
6
Intel Corporation. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
...
...
@@ -246,8 +246,10 @@ enum connection_manager_assoc_states {
#define HOST_NOTIFICATION_S36_MEASUREMENT_REFUSED 31
#define HOST_NOTIFICATION_STATUS_BEACON_MISSING 1
#define IPW_MB_
DISASSOCIATE_THRESHOLD_DEFAULT 24
#define IPW_MB_
ROAMING_THRESHOLD_MIN 1
#define IPW_MB_ROAMING_THRESHOLD_DEFAULT 8
#define IPW_MB_ROAMING_THRESHOLD_MAX 30
#define IPW_MB_DISASSOCIATE_THRESHOLD_DEFAULT 3*IPW_MB_ROAMING_THRESHOLD_DEFAULT
#define IPW_REAL_RATE_RX_PACKET_THRESHOLD 300
#define MACADRR_BYTE_LEN 6
...
...
@@ -618,13 +620,16 @@ struct notif_tgi_tx_key {
u8
reserved
;
}
__attribute__
((
packed
));
#define SILENCE_OVER_THRESH (1)
#define SILENCE_UNDER_THRESH (2)
struct
notif_link_deterioration
{
struct
ipw_cmd_stats
stats
;
u8
rate
;
u8
modulation
;
struct
rate_histogram
histogram
;
u8
reserved1
;
u16
reserved2
;
u8
silence_notification_type
;
/* SILENCE_OVER/UNDER_THRESH */
u16
silence_count
;
}
__attribute__
((
packed
));
struct
notif_association
{
...
...
@@ -782,7 +787,7 @@ struct ipw_sys_config {
u8
enable_cts_to_self
;
u8
enable_multicast_filtering
;
u8
bt_coexist_collision_thr
;
u8
reserved2
;
u8
silence_threshold
;
u8
accept_all_mgmt_bcpr
;
u8
accept_all_mgtm_frames
;
u8
pass_noise_stats_to_host
;
...
...
@@ -1892,6 +1897,7 @@ struct ipw_cmd_log {
#define CFG_SYS_ANTENNA_BOTH 0x00
/* NIC selects best antenna */
#define CFG_SYS_ANTENNA_A 0x01
/* force antenna A */
#define CFG_SYS_ANTENNA_B 0x03
/* force antenna B */
#define CFG_SYS_ANTENNA_SLOW_DIV 0x02
/* consider background noise */
/*
* The definitions below were lifted off the ipw2100 driver, which only
...
...
@@ -1907,27 +1913,4 @@ struct ipw_cmd_log {
#define IPW_MAX_CONFIG_RETRIES 10
static
inline
u32
frame_hdr_len
(
struct
ieee80211_hdr_4addr
*
hdr
)
{
u32
retval
;
u16
fc
;
retval
=
sizeof
(
struct
ieee80211_hdr_3addr
);
fc
=
le16_to_cpu
(
hdr
->
frame_ctl
);
/*
* Function ToDS FromDS
* IBSS 0 0
* To AP 1 0
* From AP 0 1
* WDS (bridge) 1 1
*
* Only WDS frames use Address4 among them. --YZ
*/
if
(
!
(
fc
&
IEEE80211_FCTL_TODS
)
||
!
(
fc
&
IEEE80211_FCTL_FROMDS
))
retval
-=
ETH_ALEN
;
return
retval
;
}
#endif
/* __ipw2200_h__ */
net/ieee80211/ieee80211_rx.c
View file @
2e9ff56e
...
...
@@ -1345,7 +1345,19 @@ static void update_network(struct ieee80211_network *dst,
ieee80211_network_reset
(
dst
);
dst
->
ibss_dfs
=
src
->
ibss_dfs
;
memcpy
(
&
dst
->
stats
,
&
src
->
stats
,
sizeof
(
struct
ieee80211_rx_stats
));
/* We only update the statistics if they were created by receiving
* the network information on the actual channel the network is on.
*
* This keeps beacons received on neighbor channels from bringing
* down the signal level of an AP. */
if
(
dst
->
channel
==
src
->
stats
.
received_channel
)
memcpy
(
&
dst
->
stats
,
&
src
->
stats
,
sizeof
(
struct
ieee80211_rx_stats
));
else
IEEE80211_DEBUG_SCAN
(
"Network "
MAC_FMT
" info received "
"off channel (%d vs. %d)
\n
"
,
MAC_ARG
(
src
->
bssid
),
dst
->
channel
,
src
->
stats
.
received_channel
);
dst
->
capability
=
src
->
capability
;
memcpy
(
dst
->
rates
,
src
->
rates
,
src
->
rates_len
);
dst
->
rates_len
=
src
->
rates_len
;
...
...
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