README.ipw2200 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. Intel(R) PRO/Wireless 2915ABG Driver for Linux in support of:
  2. Intel(R) PRO/Wireless 2200BG Network Connection
  3. Intel(R) PRO/Wireless 2915ABG Network Connection
  4. Note: The Intel(R) PRO/Wireless 2915ABG Driver for Linux and Intel(R)
  5. PRO/Wireless 2200BG Driver for Linux is a unified driver that works on
  6. both hardware adapters listed above. In this document the Intel(R)
  7. PRO/Wireless 2915ABG Driver for Linux will be used to reference the
  8. unified driver.
  9. Copyright (C) 2004-2005, Intel Corporation
  10. README.ipw2200
  11. Version: 1.0.8
  12. Date : October 20, 2005
  13. Index
  14. -----------------------------------------------
  15. 0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
  16. 1. Introduction
  17. 1.1. Overview of features
  18. 1.2. Module parameters
  19. 1.3. Wireless Extension Private Methods
  20. 1.4. Sysfs Helper Files
  21. 2. Ad-Hoc Networking
  22. 3. Interacting with Wireless Tools
  23. 3.1. iwconfig mode
  24. 4. About the Version Numbers
  25. 5. Firmware installation
  26. 6. Support
  27. 7. License
  28. 0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
  29. -----------------------------------------------
  30. Important Notice FOR ALL USERS OR DISTRIBUTORS!!!!
  31. Intel wireless LAN adapters are engineered, manufactured, tested, and
  32. quality checked to ensure that they meet all necessary local and
  33. governmental regulatory agency requirements for the regions that they
  34. are designated and/or marked to ship into. Since wireless LANs are
  35. generally unlicensed devices that share spectrum with radars,
  36. satellites, and other licensed and unlicensed devices, it is sometimes
  37. necessary to dynamically detect, avoid, and limit usage to avoid
  38. interference with these devices. In many instances Intel is required to
  39. provide test data to prove regional and local compliance to regional and
  40. governmental regulations before certification or approval to use the
  41. product is granted. Intel's wireless LAN's EEPROM, firmware, and
  42. software driver are designed to carefully control parameters that affect
  43. radio operation and to ensure electromagnetic compliance (EMC). These
  44. parameters include, without limitation, RF power, spectrum usage,
  45. channel scanning, and human exposure.
  46. For these reasons Intel cannot permit any manipulation by third parties
  47. of the software provided in binary format with the wireless WLAN
  48. adapters (e.g., the EEPROM and firmware). Furthermore, if you use any
  49. patches, utilities, or code with the Intel wireless LAN adapters that
  50. have been manipulated by an unauthorized party (i.e., patches,
  51. utilities, or code (including open source code modifications) which have
  52. not been validated by Intel), (i) you will be solely responsible for
  53. ensuring the regulatory compliance of the products, (ii) Intel will bear
  54. no liability, under any theory of liability for any issues associated
  55. with the modified products, including without limitation, claims under
  56. the warranty and/or issues arising from regulatory non-compliance, and
  57. (iii) Intel will not provide or be required to assist in providing
  58. support to any third parties for such modified products.
  59. Note: Many regulatory agencies consider Wireless LAN adapters to be
  60. modules, and accordingly, condition system-level regulatory approval
  61. upon receipt and review of test data documenting that the antennas and
  62. system configuration do not cause the EMC and radio operation to be
  63. non-compliant.
  64. The drivers available for download from SourceForge are provided as a
  65. part of a development project. Conformance to local regulatory
  66. requirements is the responsibility of the individual developer. As
  67. such, if you are interested in deploying or shipping a driver as part of
  68. solution intended to be used for purposes other than development, please
  69. obtain a tested driver from Intel Customer Support at:
  70. http://support.intel.com/support/notebook/sb/CS-006408.htm
  71. 1. Introduction
  72. -----------------------------------------------
  73. The following sections attempt to provide a brief introduction to using
  74. the Intel(R) PRO/Wireless 2915ABG Driver for Linux.
  75. This document is not meant to be a comprehensive manual on
  76. understanding or using wireless technologies, but should be sufficient
  77. to get you moving without wires on Linux.
  78. For information on building and installing the driver, see the INSTALL
  79. file.
  80. 1.1. Overview of Features
  81. -----------------------------------------------
  82. The current release (1.0.8) supports the following features:
  83. + BSS mode (Infrastructure, Managed)
  84. + IBSS mode (Ad-Hoc)
  85. + WEP (OPEN and SHARED KEY mode)
  86. + 802.1x EAP via wpa_supplicant and xsupplicant
  87. + Wireless Extension support
  88. + Full B and G rate support (2200 and 2915)
  89. + Full A rate support (2915 only)
  90. + Transmit power control
  91. + S state support (ACPI suspend/resume)
  92. The following features are currently enabled, but not officially
  93. supported:
  94. + WPA
  95. + long/short preamble support
  96. + Monitor mode (aka RFMon)
  97. The distinction between officially supported and enabled is a reflection
  98. on the amount of validation and interoperability testing that has been
  99. performed on a given feature.
  100. 1.2. Command Line Parameters
  101. -----------------------------------------------
  102. Like many modules used in the Linux kernel, the Intel(R) PRO/Wireless
  103. 2915ABG Driver for Linux allows configuration options to be provided
  104. as module parameters. The most common way to specify a module parameter
  105. is via the command line.
  106. The general form is:
  107. % modprobe ipw2200 parameter=value
  108. Where the supported parameter are:
  109. associate
  110. Set to 0 to disable the auto scan-and-associate functionality of the
  111. driver. If disabled, the driver will not attempt to scan
  112. for and associate to a network until it has been configured with
  113. one or more properties for the target network, for example configuring
  114. the network SSID. Default is 1 (auto-associate)
  115. Example: % modprobe ipw2200 associate=0
  116. auto_create
  117. Set to 0 to disable the auto creation of an Ad-Hoc network
  118. matching the channel and network name parameters provided.
  119. Default is 1.
  120. channel
  121. channel number for association. The normal method for setting
  122. the channel would be to use the standard wireless tools
  123. (i.e. `iwconfig eth1 channel 10`), but it is useful sometimes
  124. to set this while debugging. Channel 0 means 'ANY'
  125. debug
  126. If using a debug build, this is used to control the amount of debug
  127. info is logged. See the 'dvals' and 'load' script for more info on
  128. how to use this (the dvals and load scripts are provided as part
  129. of the ipw2200 development snapshot releases available from the
  130. SourceForge project at http://ipw2200.sf.net)
  131. led
  132. Can be used to turn on experimental LED code.
  133. 0 = Off, 1 = On. Default is 0.
  134. mode
  135. Can be used to set the default mode of the adapter.
  136. 0 = Managed, 1 = Ad-Hoc, 2 = Monitor
  137. 1.3. Wireless Extension Private Methods
  138. -----------------------------------------------
  139. As an interface designed to handle generic hardware, there are certain
  140. capabilities not exposed through the normal Wireless Tool interface. As
  141. such, a provision is provided for a driver to declare custom, or
  142. private, methods. The Intel(R) PRO/Wireless 2915ABG Driver for Linux
  143. defines several of these to configure various settings.
  144. The general form of using the private wireless methods is:
  145. % iwpriv $IFNAME method parameters
  146. Where $IFNAME is the interface name the device is registered with
  147. (typically eth1, customized via one of the various network interface
  148. name managers, such as ifrename)
  149. The supported private methods are:
  150. get_mode
  151. Can be used to report out which IEEE mode the driver is
  152. configured to support. Example:
  153. % iwpriv eth1 get_mode
  154. eth1 get_mode:802.11bg (6)
  155. set_mode
  156. Can be used to configure which IEEE mode the driver will
  157. support.
  158. Usage:
  159. % iwpriv eth1 set_mode {mode}
  160. Where {mode} is a number in the range 1-7:
  161. 1 802.11a (2915 only)
  162. 2 802.11b
  163. 3 802.11ab (2915 only)
  164. 4 802.11g
  165. 5 802.11ag (2915 only)
  166. 6 802.11bg
  167. 7 802.11abg (2915 only)
  168. get_preamble
  169. Can be used to report configuration of preamble length.
  170. set_preamble
  171. Can be used to set the configuration of preamble length:
  172. Usage:
  173. % iwpriv eth1 set_preamble {mode}
  174. Where {mode} is one of:
  175. 1 Long preamble only
  176. 0 Auto (long or short based on connection)
  177. 1.4. Sysfs Helper Files:
  178. -----------------------------------------------
  179. The Linux kernel provides a pseudo file system that can be used to
  180. access various components of the operating system. The Intel(R)
  181. PRO/Wireless 2915ABG Driver for Linux exposes several configuration
  182. parameters through this mechanism.
  183. An entry in the sysfs can support reading and/or writing. You can
  184. typically query the contents of a sysfs entry through the use of cat,
  185. and can set the contents via echo. For example:
  186. % cat /sys/bus/pci/drivers/ipw2200/debug_level
  187. Will report the current debug level of the driver's logging subsystem
  188. (only available if CONFIG_IPW_DEBUG was configured when the driver was
  189. built).
  190. You can set the debug level via:
  191. % echo $VALUE > /sys/bus/pci/drivers/ipw2200/debug_level
  192. Where $VALUE would be a number in the case of this sysfs entry. The
  193. input to sysfs files does not have to be a number. For example, the
  194. firmware loader used by hotplug utilizes sysfs entries for transfering
  195. the firmware image from user space into the driver.
  196. The Intel(R) PRO/Wireless 2915ABG Driver for Linux exposes sysfs entries
  197. at two levels -- driver level, which apply to all instances of the driver
  198. (in the event that there are more than one device installed) and device
  199. level, which applies only to the single specific instance.
  200. 1.4.1 Driver Level Sysfs Helper Files
  201. -----------------------------------------------
  202. For the driver level files, look in /sys/bus/pci/drivers/ipw2200/
  203. debug_level
  204. This controls the same global as the 'debug' module parameter
  205. 1.4.2 Device Level Sysfs Helper Files
  206. -----------------------------------------------
  207. For the device level files, look in
  208. /sys/bus/pci/drivers/ipw2200/{PCI-ID}/
  209. For example:
  210. /sys/bus/pci/drivers/ipw2200/0000:02:01.0
  211. For the device level files, see /sys/bus/pci/drivers/ipw2200:
  212. rf_kill
  213. read -
  214. 0 = RF kill not enabled (radio on)
  215. 1 = SW based RF kill active (radio off)
  216. 2 = HW based RF kill active (radio off)
  217. 3 = Both HW and SW RF kill active (radio off)
  218. write -
  219. 0 = If SW based RF kill active, turn the radio back on
  220. 1 = If radio is on, activate SW based RF kill
  221. NOTE: If you enable the SW based RF kill and then toggle the HW
  222. based RF kill from ON -> OFF -> ON, the radio will NOT come back on
  223. ucode
  224. read-only access to the ucode version number
  225. led
  226. read -
  227. 0 = LED code disabled
  228. 1 = LED code enabled
  229. write -
  230. 0 = Disable LED code
  231. 1 = Enable LED code
  232. NOTE: The LED code has been reported to hang some systems when
  233. running ifconfig and is therefore disabled by default.
  234. 2. Ad-Hoc Networking
  235. -----------------------------------------------
  236. When using a device in an Ad-Hoc network, it is useful to understand the
  237. sequence and requirements for the driver to be able to create, join, or
  238. merge networks.
  239. The following attempts to provide enough information so that you can
  240. have a consistent experience while using the driver as a member of an
  241. Ad-Hoc network.
  242. 2.1. Joining an Ad-Hoc Network
  243. -----------------------------------------------
  244. The easiest way to get onto an Ad-Hoc network is to join one that
  245. already exists.
  246. 2.2. Creating an Ad-Hoc Network
  247. -----------------------------------------------
  248. An Ad-Hoc networks is created using the syntax of the Wireless tool.
  249. For Example:
  250. iwconfig eth1 mode ad-hoc essid testing channel 2
  251. 2.3. Merging Ad-Hoc Networks
  252. -----------------------------------------------
  253. 3. Interaction with Wireless Tools
  254. -----------------------------------------------
  255. 3.1 iwconfig mode
  256. -----------------------------------------------
  257. When configuring the mode of the adapter, all run-time configured parameters
  258. are reset to the value used when the module was loaded. This includes
  259. channels, rates, ESSID, etc.
  260. 4. About the Version Numbers
  261. -----------------------------------------------
  262. Due to the nature of open source development projects, there are
  263. frequently changes being incorporated that have not gone through
  264. a complete validation process. These changes are incorporated into
  265. development snapshot releases.
  266. Releases are numbered with a three level scheme:
  267. major.minor.development
  268. Any version where the 'development' portion is 0 (for example
  269. 1.0.0, 1.1.0, etc.) indicates a stable version that will be made
  270. available for kernel inclusion.
  271. Any version where the 'development' portion is not a 0 (for
  272. example 1.0.1, 1.1.5, etc.) indicates a development version that is
  273. being made available for testing and cutting edge users. The stability
  274. and functionality of the development releases are not know. We make
  275. efforts to try and keep all snapshots reasonably stable, but due to the
  276. frequency of their release, and the desire to get those releases
  277. available as quickly as possible, unknown anomalies should be expected.
  278. The major version number will be incremented when significant changes
  279. are made to the driver. Currently, there are no major changes planned.
  280. 5. Firmware installation
  281. ----------------------------------------------
  282. The driver requires a firmware image, download it and extract the
  283. files under /lib/firmware (or wherever your hotplug's firmware.agent
  284. will look for firmware files)
  285. The firmware can be downloaded from the following URL:
  286. http://ipw2200.sf.net/
  287. 6. Support
  288. -----------------------------------------------
  289. For direct support of the 1.0.0 version, you can contact
  290. http://supportmail.intel.com, or you can use the open source project
  291. support.
  292. For general information and support, go to:
  293. http://ipw2200.sf.net/
  294. 7. License
  295. -----------------------------------------------
  296. Copyright(c) 2003 - 2005 Intel Corporation. All rights reserved.
  297. This program is free software; you can redistribute it and/or modify it
  298. under the terms of the GNU General Public License version 2 as
  299. published by the Free Software Foundation.
  300. This program is distributed in the hope that it will be useful, but WITHOUT
  301. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  302. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  303. more details.
  304. You should have received a copy of the GNU General Public License along with
  305. this program; if not, write to the Free Software Foundation, Inc., 59
  306. Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  307. The full GNU General Public License is included in this distribution in the
  308. file called LICENSE.
  309. Contact Information:
  310. James P. Ketrenos <ipw2100-admin@linux.intel.com>
  311. Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497