brintos

brintos / linux-shallow public Read only

0
0
Text · 17.1 KiB · 0cb42d2 Raw
527 lines · plain
1.. SPDX-License-Identifier: GPL-2.02.. include:: <isonum.txt>3 4==============================================5Intel(R) PRO/Wireless 2915ABG Driver for Linux6==============================================7 8 9Support for:10 11- Intel(R) PRO/Wireless 2200BG Network Connection12- Intel(R) PRO/Wireless 2915ABG Network Connection13 14Note: The Intel(R) PRO/Wireless 2915ABG Driver for Linux and Intel(R)15PRO/Wireless 2200BG Driver for Linux is a unified driver that works on16both hardware adapters listed above. In this document the Intel(R)17PRO/Wireless 2915ABG Driver for Linux will be used to reference the18unified driver.19 20Copyright |copy| 2004-2006, Intel Corporation21 22README.ipw220023 24:Version: 1.1.225:Date: March 30, 200626 27 28.. Index29 30    0.   IMPORTANT INFORMATION BEFORE USING THIS DRIVER31    1.   Introduction32    1.1. Overview of features33    1.2. Module parameters34    1.3. Wireless Extension Private Methods35    1.4. Sysfs Helper Files36    1.5. Supported channels37    2.   Ad-Hoc Networking38    3.   Interacting with Wireless Tools39    3.1. iwconfig mode40    3.2. iwconfig sens41    4.   About the Version Numbers42    5.   Firmware installation43    6.   Support44    7.   License45 46 470. IMPORTANT INFORMATION BEFORE USING THIS DRIVER48=================================================49 50Important Notice FOR ALL USERS OR DISTRIBUTORS!!!!51 52Intel wireless LAN adapters are engineered, manufactured, tested, and53quality checked to ensure that they meet all necessary local and54governmental regulatory agency requirements for the regions that they55are designated and/or marked to ship into. Since wireless LANs are56generally unlicensed devices that share spectrum with radars,57satellites, and other licensed and unlicensed devices, it is sometimes58necessary to dynamically detect, avoid, and limit usage to avoid59interference with these devices. In many instances Intel is required to60provide test data to prove regional and local compliance to regional and61governmental regulations before certification or approval to use the62product is granted. Intel's wireless LAN's EEPROM, firmware, and63software driver are designed to carefully control parameters that affect64radio operation and to ensure electromagnetic compliance (EMC). These65parameters include, without limitation, RF power, spectrum usage,66channel scanning, and human exposure.67 68For these reasons Intel cannot permit any manipulation by third parties69of the software provided in binary format with the wireless WLAN70adapters (e.g., the EEPROM and firmware). Furthermore, if you use any71patches, utilities, or code with the Intel wireless LAN adapters that72have been manipulated by an unauthorized party (i.e., patches,73utilities, or code (including open source code modifications) which have74not been validated by Intel), (i) you will be solely responsible for75ensuring the regulatory compliance of the products, (ii) Intel will bear76no liability, under any theory of liability for any issues associated77with the modified products, including without limitation, claims under78the warranty and/or issues arising from regulatory non-compliance, and79(iii) Intel will not provide or be required to assist in providing80support to any third parties for such modified products.81 82Note: Many regulatory agencies consider Wireless LAN adapters to be83modules, and accordingly, condition system-level regulatory approval84upon receipt and review of test data documenting that the antennas and85system configuration do not cause the EMC and radio operation to be86non-compliant.87 88The drivers available for download from SourceForge are provided as a89part of a development project.  Conformance to local regulatory90requirements is the responsibility of the individual developer.  As91such, if you are interested in deploying or shipping a driver as part of92solution intended to be used for purposes other than development, please93obtain a tested driver from Intel Customer Support at:94 95http://support.intel.com96 97 981. Introduction99===============100 101The following sections attempt to provide a brief introduction to using102the Intel(R) PRO/Wireless 2915ABG Driver for Linux.103 104This document is not meant to be a comprehensive manual on105understanding or using wireless technologies, but should be sufficient106to get you moving without wires on Linux.107 108For information on building and installing the driver, see the INSTALL109file.110 111 1121.1. Overview of Features113-------------------------114The current release (1.1.2) supports the following features:115 116+ BSS mode (Infrastructure, Managed)117+ IBSS mode (Ad-Hoc)118+ WEP (OPEN and SHARED KEY mode)119+ 802.1x EAP via wpa_supplicant and xsupplicant120+ Wireless Extension support121+ Full B and G rate support (2200 and 2915)122+ Full A rate support (2915 only)123+ Transmit power control124+ S state support (ACPI suspend/resume)125 126The following features are currently enabled, but not officially127supported:128 129+ WPA130+ long/short preamble support131+ Monitor mode (aka RFMon)132 133The distinction between officially supported and enabled is a reflection134on the amount of validation and interoperability testing that has been135performed on a given feature.136 137 138 1391.2. Command Line Parameters140----------------------------141 142Like many modules used in the Linux kernel, the Intel(R) PRO/Wireless1432915ABG Driver for Linux allows configuration options to be provided144as module parameters.  The most common way to specify a module parameter145is via the command line.146 147The general form is::148 149    % modprobe ipw2200 parameter=value150 151Where the supported parameter are:152 153  associate154	Set to 0 to disable the auto scan-and-associate functionality of the155	driver.  If disabled, the driver will not attempt to scan156	for and associate to a network until it has been configured with157	one or more properties for the target network, for example configuring158	the network SSID.  Default is 0 (do not auto-associate)159 160	Example: % modprobe ipw2200 associate=0161 162  auto_create163	Set to 0 to disable the auto creation of an Ad-Hoc network164	matching the channel and network name parameters provided.165	Default is 1.166 167  channel168	channel number for association.  The normal method for setting169	the channel would be to use the standard wireless tools170	(i.e. `iwconfig eth1 channel 10`), but it is useful sometimes171	to set this while debugging.  Channel 0 means 'ANY'172 173  debug174	If using a debug build, this is used to control the amount of debug175	info is logged.  See the 'dvals' and 'load' script for more info on176	how to use this (the dvals and load scripts are provided as part177	of the ipw2200 development snapshot releases available from the178	SourceForge project at http://ipw2200.sf.net)179 180  led181	Can be used to turn on experimental LED code.182	0 = Off, 1 = On.  Default is 1.183 184  mode185	Can be used to set the default mode of the adapter.186	0 = Managed, 1 = Ad-Hoc, 2 = Monitor187 188 1891.3. Wireless Extension Private Methods190---------------------------------------191 192As an interface designed to handle generic hardware, there are certain193capabilities not exposed through the normal Wireless Tool interface.  As194such, a provision is provided for a driver to declare custom, or195private, methods.  The Intel(R) PRO/Wireless 2915ABG Driver for Linux196defines several of these to configure various settings.197 198The general form of using the private wireless methods is::199 200	% iwpriv $IFNAME method parameters201 202Where $IFNAME is the interface name the device is registered with203(typically eth1, customized via one of the various network interface204name managers, such as ifrename)205 206The supported private methods are:207 208  get_mode209	Can be used to report out which IEEE mode the driver is210	configured to support.  Example:211 212	% iwpriv eth1 get_mode213	eth1	get_mode:802.11bg (6)214 215  set_mode216	Can be used to configure which IEEE mode the driver will217	support.218 219	Usage::220 221	    % iwpriv eth1 set_mode {mode}222 223	Where {mode} is a number in the range 1-7:224 225	==	=====================226	1	802.11a (2915 only)227	2	802.11b228	3	802.11ab (2915 only)229	4	802.11g230	5	802.11ag (2915 only)231	6	802.11bg232	7	802.11abg (2915 only)233	==	=====================234 235  get_preamble236	Can be used to report configuration of preamble length.237 238  set_preamble239	Can be used to set the configuration of preamble length:240 241	Usage::242 243	    % iwpriv eth1 set_preamble {mode}244 245	Where {mode} is one of:246 247	==	========================================248	1	Long preamble only249	0	Auto (long or short based on connection)250	==	========================================251 252 2531.4. Sysfs Helper Files254-----------------------255 256The Linux kernel provides a pseudo file system that can be used to257access various components of the operating system.  The Intel(R)258PRO/Wireless 2915ABG Driver for Linux exposes several configuration259parameters through this mechanism.260 261An entry in the sysfs can support reading and/or writing.  You can262typically query the contents of a sysfs entry through the use of cat,263and can set the contents via echo.  For example::264 265    % cat /sys/bus/pci/drivers/ipw2200/debug_level266 267Will report the current debug level of the driver's logging subsystem268(only available if CONFIG_IPW2200_DEBUG was configured when the driver269was built).270 271You can set the debug level via::272 273    % echo $VALUE > /sys/bus/pci/drivers/ipw2200/debug_level274 275Where $VALUE would be a number in the case of this sysfs entry.  The276input to sysfs files does not have to be a number.  For example, the277firmware loader used by hotplug utilizes sysfs entries for transferring278the firmware image from user space into the driver.279 280The Intel(R) PRO/Wireless 2915ABG Driver for Linux exposes sysfs entries281at two levels -- driver level, which apply to all instances of the driver282(in the event that there are more than one device installed) and device283level, which applies only to the single specific instance.284 285 2861.4.1 Driver Level Sysfs Helper Files287^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^288 289For the driver level files, look in /sys/bus/pci/drivers/ipw2200/290 291  debug_level292	This controls the same global as the 'debug' module parameter293 294 295 2961.4.2 Device Level Sysfs Helper Files297^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^298 299For the device level files, look in::300 301	/sys/bus/pci/drivers/ipw2200/{PCI-ID}/302 303For example:::304 305	/sys/bus/pci/drivers/ipw2200/0000:02:01.0306 307For the device level files, see /sys/bus/pci/drivers/ipw2200:308 309  rf_kill310	read -311 312	==  =========================================313	0   RF kill not enabled (radio on)314	1   SW based RF kill active (radio off)315	2   HW based RF kill active (radio off)316	3   Both HW and SW RF kill active (radio off)317	==  =========================================318 319	write -320 321	==  ==================================================322	0   If SW based RF kill active, turn the radio back on323	1   If radio is on, activate SW based RF kill324	==  ==================================================325 326	.. note::327 328	   If you enable the SW based RF kill and then toggle the HW329	   based RF kill from ON -> OFF -> ON, the radio will NOT come back on330 331  ucode332	read-only access to the ucode version number333 334  led335	read -336 337	==  =================338	0   LED code disabled339	1   LED code enabled340	==  =================341 342	write -343 344	==  ================345	0   Disable LED code346	1   Enable LED code347	==  ================348 349 350	.. note::351 352	   The LED code has been reported to hang some systems when353	   running ifconfig and is therefore disabled by default.354 355 3561.5. Supported channels357-----------------------358 359Upon loading the Intel(R) PRO/Wireless 2915ABG Driver for Linux, a360message stating the detected geography code and the number of 802.11361channels supported by the card will be displayed in the log.362 363The geography code corresponds to a regulatory domain as shown in the364table below.365 366	+------+----------------------------+--------------------+367	|      |			    | Supported channels |368	| Code |        Geography	    +----------+---------+369	|      |			    | 802.11bg | 802.11a |370	+======+============================+==========+=========+371	| ---  | Restricted 		    |  11      |   0     |372	+------+----------------------------+----------+---------+373	| ZZF  | Custom US/Canada 	    |  11      |   8     |374	+------+----------------------------+----------+---------+375	| ZZD  | Rest of World 		    |  13      |   0     |376	+------+----------------------------+----------+---------+377	| ZZA  | Custom USA & Europe & High |  11      |  13     |378	+------+----------------------------+----------+---------+379	| ZZB  | Custom NA & Europe	    |  11      |  13     |380	+------+----------------------------+----------+---------+381	| ZZC  | Custom Japan 		    |  11      |   4     |382	+------+----------------------------+----------+---------+383	| ZZM  | Custom  		    |  11      |   0     |384	+------+----------------------------+----------+---------+385	| ZZE  | Europe 		    |  13      |  19     |386	+------+----------------------------+----------+---------+387	| ZZJ  | Custom Japan 		    |  14      |   4     |388	+------+----------------------------+----------+---------+389	| ZZR  | Rest of World		    |  14      |   0     |390	+------+----------------------------+----------+---------+391	| ZZH  | High Band		    |  13      |   4     |392	+------+----------------------------+----------+---------+393	| ZZG  | Custom Europe		    |  13      |   4     |394	+------+----------------------------+----------+---------+395	| ZZK  | Europe 		    |  13      |  24     |396	+------+----------------------------+----------+---------+397	| ZZL  | Europe 		    |  11      |  13     |398	+------+----------------------------+----------+---------+399 4002.  Ad-Hoc Networking401=====================402 403When using a device in an Ad-Hoc network, it is useful to understand the404sequence and requirements for the driver to be able to create, join, or405merge networks.406 407The following attempts to provide enough information so that you can408have a consistent experience while using the driver as a member of an409Ad-Hoc network.410 4112.1. Joining an Ad-Hoc Network412------------------------------413 414The easiest way to get onto an Ad-Hoc network is to join one that415already exists.416 4172.2. Creating an Ad-Hoc Network418-------------------------------419 420An Ad-Hoc networks is created using the syntax of the Wireless tool.421 422For Example:423iwconfig eth1 mode ad-hoc essid testing channel 2424 4252.3. Merging Ad-Hoc Networks426----------------------------427 428 4293. Interaction with Wireless Tools430==================================431 4323.1 iwconfig mode433-----------------434 435When configuring the mode of the adapter, all run-time configured parameters436are reset to the value used when the module was loaded.  This includes437channels, rates, ESSID, etc.438 4393.2 iwconfig sens440-----------------441 442The 'iwconfig ethX sens XX' command will not set the signal sensitivity443threshold, as described in iwconfig documentation, but rather the number444of consecutive missed beacons that will trigger handover, i.e. roaming445to another access point. At the same time, it will set the disassociation446threshold to 3 times the given value.447 448 4494.  About the Version Numbers450=============================451 452Due to the nature of open source development projects, there are453frequently changes being incorporated that have not gone through454a complete validation process.  These changes are incorporated into455development snapshot releases.456 457Releases are numbered with a three level scheme:458 459	major.minor.development460 461Any version where the 'development' portion is 0 (for example4621.0.0, 1.1.0, etc.) indicates a stable version that will be made463available for kernel inclusion.464 465Any version where the 'development' portion is not a 0 (for466example 1.0.1, 1.1.5, etc.) indicates a development version that is467being made available for testing and cutting edge users.  The stability468and functionality of the development releases are not know.  We make469efforts to try and keep all snapshots reasonably stable, but due to the470frequency of their release, and the desire to get those releases471available as quickly as possible, unknown anomalies should be expected.472 473The major version number will be incremented when significant changes474are made to the driver.  Currently, there are no major changes planned.475 4765. Firmware installation477========================478 479The driver requires a firmware image, download it and extract the480files under /lib/firmware (or wherever your hotplug's firmware.agent481will look for firmware files)482 483The firmware can be downloaded from the following URL:484 485    http://ipw2200.sf.net/486 487 4886. Support489==========490 491For direct support of the 1.0.0 version, you can contact492http://supportmail.intel.com, or you can use the open source project493support.494 495For general information and support, go to:496 497    http://ipw2200.sf.net/498 499 5007. License501==========502 503  Copyright |copy| 2003 - 2006 Intel Corporation. All rights reserved.504 505  This program is free software; you can redistribute it and/or modify it506  under the terms of the GNU General Public License version 2 as507  published by the Free Software Foundation.508 509  This program is distributed in the hope that it will be useful, but WITHOUT510  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or511  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for512  more details.513 514  You should have received a copy of the GNU General Public License along with515  this program; if not, write to the Free Software Foundation, Inc., 59516  Temple Place - Suite 330, Boston, MA  02111-1307, USA.517 518  The full GNU General Public License is included in this distribution in the519  file called LICENSE.520 521  Contact Information:522 523  James P. Ketrenos <ipw2100-admin@linux.intel.com>524 525  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497526 527