Latest commit 5e34fa2 Jul 9, 2017 @a3f a3f committed with davem330 net: Fix minor code bug in timestamping.txt
Passing (void*)val instead of &val would make a pointer out of an integer
and cause sock_setsockopt to -EFAULT.

See tools/testing/selftests/networking/timestamping/timestamping.c
for a working example.

Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
Permalink
..
Failed to load latest commit information.
caif Documentation/networking/caif: Update documentation Jun 25, 2012
dsa net: dsa: Mop up remaining NET_DSA_HWMON references Jan 25, 2017
mac80211_hwsim mac80211_hwsim: suggest nl80211 instead of wext driver in documentation Oct 17, 2016
00-INDEX Merge tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pu… Oct 14, 2016
3c509.txt drivers/net: delete all code/drivers depending on CONFIG_MCA May 17, 2012
6lowpan.txt documentation: networking: add 6lowpan documentation Aug 11, 2015
6pack.txt Update Andreas Koensgen's email address Jul 17, 2009
LICENSE.qla3xxx [PATCH] qla3xxx NIC driver Jul 29, 2006
LICENSE.qlcnic qlcnic: Updating copyright information. Feb 5, 2013
LICENSE.qlge qlge: Updating Schultz LICENSE.qlge file. Feb 4, 2012
PLIP.txt Linux-2.6.12-rc2 Apr 16, 2005
README.ipw2100 Documentation: update broken web addresses. Aug 4, 2010
README.ipw2200 Fix common misspellings Mar 31, 2011
README.sb1000 Documentation: update broken web addresses. Aug 4, 2010
alias.txt net: update documentation ip aliases Jan 30, 2009
altera_tse.txt Documentation: networking: fix spelling mistakes Apr 28, 2016
arcnet-hardware.txt Fix "can not" in Documentation and Kconfig Oct 3, 2006
arcnet.txt Documentation: Fix references to defunct linux-net@vger.kernel.org Jul 9, 2013
atm.txt Linux-2.6.12-rc2 Apr 16, 2005
ax25.txt [NET] AX.25 Kconfig and docs updates and fixes Mar 26, 2007
batman-adv.txt batman-adv: Document new nc, mcast and tpmeter log levels Oct 17, 2016
baycom.txt Documentation: remove references to /etc/modprobe.conf Mar 30, 2012
bonding.txt bonding: update documentation section after dev->trans_start removal May 4, 2016
bridge.txt bridge: update documentation references Jul 19, 2012
can.txt can: bcm: add documentation for CAN FD support Jun 17, 2016
cdc_mbim.txt docs-rst: usb: update old usbfs-related documentation Apr 20, 2017
checksum-offloads.txt net: more accurate checksumming in validate_xmit_skb() May 19, 2017
conf.py docs-rst: convert networking book to ReST May 16, 2017
cops.txt Linux-2.6.12-rc2 Apr 16, 2005
cs89x0.txt networking/cs89x0.txt: delete stale information about hand patching Jan 12, 2013
cxacru-cf.py USB: cxacru: remove cxacru-cf.bin loader Mar 2, 2010
cxacru.txt USB: cxacru: remove cxacru-cf.bin loader Mar 2, 2010
cxgb.txt Fix typos in Documentation/: 'F'-'G' Oct 3, 2006
dccp.txt doc: spelling error changes May 5, 2014
dctcp.txt tcp: add rfc3168, section 6.1.1.1. fallback May 19, 2015
de4x5.txt Linux-2.6.12-rc2 Apr 16, 2005
decnet.txt Documentation: update broken web addresses. Aug 4, 2010
dl2k.txt Documentation: remove references to /etc/modprobe.conf Mar 30, 2012
dm9000.txt trivial: Miscellaneous documentation typo fixes Jun 12, 2009
dmfe.txt Documentation: networking: dmfe.txt: Remove the maintainer of orphan … Sep 15, 2011
dns_resolver.txt doc: ReSTify keys-request-key.txt May 18, 2017
dpaa.txt Documentation: networking: add DPAA Ethernet document May 30, 2017
driver.txt doc, net: Update ndo_start_xmit return type and values Apr 6, 2012
e100.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
e1000.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
e1000e.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
ena.txt net: ena: Add a driver for Amazon Elastic Network Adapters (ENA) Aug 13, 2016
eql.txt Linux-2.6.12-rc2 Apr 16, 2005
fib_trie.txt fib_trie.txt: fix typo Dec 15, 2014
filter.txt bpf, doc: update list of architectures that do eBPF JIT Apr 23, 2017
fore200e.txt Doc: Change wikipedia's URL from http to https Jun 22, 2015
framerelay.txt Linux-2.6.12-rc2 Apr 16, 2005
gen_stats.txt net: sched: do not acquire qdisc spinlock in qdisc/class stats dump Jun 7, 2016
generic-hdlc.txt WAN: new synchronous PPP implementation for generic HDLC. Nov 22, 2008
generic_netlink.txt Docs/Kconfig: Update: osdl.org -> linuxfoundation.org Nov 15, 2010
gianfar.txt gianfar: Remove sysfs stubs for FIFOCFG and stashing Feb 18, 2014
gtp.txt GTP: Add some basic documentation about drivers/net/gtp.c Feb 20, 2017
i40e.txt i40e: document drivers use of ntuple filters Mar 24, 2017
i40evf.txt i40evf: update i40evf.txt with new content Jun 1, 2017
ieee802154.txt docs: ieee802154: update main documentation file Nov 30, 2016
igb.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
igbvf.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
index.rst docs-rst: convert z8530book DocBook to ReST May 16, 2017
ip-sysctl.txt net/tcp_fastopen: Disable active side TFO in certain scenarios Apr 24, 2017
ip_dynaddr.txt Linux-2.6.12-rc2 Apr 16, 2005
ipddp.txt Documentation: update broken web addresses. Aug 4, 2010
iphase.txt Documentation: update broken web addresses. Aug 4, 2010
ipsec.txt xfrm: Add file to document IPsec corner case Dec 16, 2013
ipv6.txt Documentation: remove references to /etc/modprobe.conf Mar 30, 2012
ipvlan.txt Documentation: fix wrong example command Jul 3, 2017
ipvs-sysctl.txt ipvs: Document sysctl pmtu_disc Mar 16, 2017
irda.txt [PATCH] kernel Doc/ URL corrections Nov 22, 2005
ixgb.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
ixgbe.txt Documentation: Fix dead URLs to ftp.kernel.org Mar 29, 2017
ixgbevf.txt Documentation/networking/: Update Intel wired LAN driver documentation Aug 27, 2013
kapi.rst docs-rst: convert networking book to ReST May 16, 2017
kcm.txt Doc: Fix double words in Documentation Jan 26, 2017
l2tp.txt net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_* Dec 11, 2016
lapb-module.txt Linux-2.6.12-rc2 Apr 16, 2005
ltpc.txt Documentation: remove references to /etc/modprobe.conf Mar 30, 2012
mac80211-auth-assoc-deauth.txt mac80211: set HT channel before association Apr 10, 2012
mac80211-injection.txt mac80211: document only injected *_RADIOTAP_* flags Apr 5, 2016
mpls-sysctl.txt mpls: allow TTL propagation from IP packets to be configured Mar 13, 2017
multiqueue.txt multiq: Further multiqueue cleanup Sep 13, 2008
netconsole.txt docs: fix locations of several documents that got moved Oct 24, 2016
netdev-FAQ.txt Merge tag 'v4.9-rc4' into sound Nov 18, 2016
netdev-features.txt net: remove NETDEV_TX_LOCKED support Apr 26, 2016
netdevices.txt net: remove NETDEV_TX_LOCKED support Apr 26, 2016
netfilter-sysctl.txt netfilter: allow logging from non-init namespaces Feb 2, 2017
netif-msg.txt Fix typos in Documentation/: 'Q'-'R' Oct 3, 2006
nf_conntrack-sysctl.txt netfilter: conntrack: add nf_conntrack_default_on sysctl Dec 4, 2016
nfc.txt NFC: add Documentation/networking/nfc.txt Jul 5, 2011
openvswitch.txt openvswitch: Add support for unique flow IDs. Jan 26, 2015
operstates.txt doc:net: Fix typo in Documentation/networking Oct 30, 2013
packet_mmap.txt af_packet: TX_RING support for TPACKET_V3 Jan 3, 2017
phonet.txt Phonet: kill the ST-Ericsson pipe controller Kconfig Mar 9, 2011
phy.txt net: phy: Delete unused function phy_ethtool_gset Jun 6, 2017
pktgen.txt Documentation: networking: fix spelling mistakes Apr 28, 2016
ppp_generic.txt ppp: Move ioctl definitions from if_ppp.h to new ppp-ioctl.h Mar 5, 2012
proc_net_tcp.txt [TCP]: Update the /proc/net/tcp documentation Oct 15, 2007
radiotap-headers.txt [PATCH] cfg80211: Radiotap parser Jul 12, 2007
ray_cs.txt Documentation: update broken web addresses. Aug 4, 2010
rds.txt Documentation: RDS: Document Multipath RDS (mprds) Jul 15, 2016
regulatory.txt cfg80211: fix example REG_RULE usage in Documentation Jan 2, 2017
rxrpc.txt rxrpc: Provide a cmsg to specify the amount of Tx data for a call Jun 7, 2017
s2io.txt neterion: remove reference to ifconfig Mar 8, 2015
scaling.txt net: fix up hash documentation Jun 7, 2017
sctp.txt net: sctp: trivial: update mailing list address Jul 25, 2013
secid.txt [MLSXFRM]: Add security sid to flowi Sep 22, 2006
seg6-sysctl.txt ipv6: sr: add documentation file for per-interface sysctls Nov 10, 2016
segmentation-offloads.txt doc: SKB_GSO_[IPIP|SIT] have been replaced Jul 8, 2017
skfp.txt tree-wide: Assorted spelling fixes Feb 9, 2010
smc9.txt Linux-2.6.12-rc2 Apr 16, 2005
spider_net.txt doc: fix double words Mar 21, 2014
stmmac.txt net: smmac: allow configuring lower pbl values Dec 8, 2016
strparser.txt strparser: Documentation Aug 17, 2016
switchdev.txt switchdev: documentation: fix whitespace issues May 1, 2017
tc-actions-env-rules.txt net: sched: use counter to break reclassify loops May 13, 2015
tcp-thin.txt net: TCP thin-stream detection Feb 18, 2010
tcp.txt net: Update TCP congestion control documentation Jun 5, 2017
team.txt net: introduce ethernet teaming device Nov 13, 2011
timestamping.txt net: Fix minor code bug in timestamping.txt Jul 11, 2017
tlan.txt Documentation: update broken web addresses. Aug 4, 2010
tls.txt tls: Documentation Jun 15, 2017
tproxy.txt netfilter: tproxy: remove nf_tproxy_core, keep tw sk assigned to skb Jul 31, 2013
tuntap.txt net: docs: document multiqueue tuntap API Mar 6, 2013
udplite.txt Doc: networking: Fix URL for wiki.wireshark.org in udplite.txt Jun 12, 2015
vortex.txt docs: fix locations of several documents that got moved Oct 24, 2016
vrf.txt net: Avoid receiving packets with an l3mdev on unbound UDP sockets Jan 30, 2017
vxge.txt neterion: remove reference to ifconfig Mar 8, 2015
vxlan.txt documentation: bring vxlan documentation more up-to-date Aug 12, 2015
x25-iface.txt doc:net: Fix typo in Documentation/networking Oct 30, 2013
x25.txt Linux-2.6.12-rc2 Apr 16, 2005
xfrm_proc.txt [XFRM]: Fix statistics. Feb 1, 2008
xfrm_sync.txt Documentation: networking: fix spelling mistakes Apr 28, 2016
xfrm_sysctl.txt [IPSEC]: Add xfrm_sysctl.txt. May 31, 2007
z8530book.rst docs-rst: convert scsi DocBook to ReST May 16, 2017
z8530drv.txt Linux-2.6.12-rc2 Apr 16, 2005

README.ipw2100

Intel(R) PRO/Wireless 2100 Driver for Linux in support of:

Intel(R) PRO/Wireless 2100 Network Connection

Copyright (C) 2003-2006, Intel Corporation

README.ipw2100

Version: git-1.1.5
Date   : January 25, 2006

Index
-----------------------------------------------
0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
1. Introduction
2. Release git-1.1.5 Current Features
3. Command Line Parameters
4. Sysfs Helper Files
5. Radio Kill Switch
6. Dynamic Firmware
7. Power Management
8. Support
9. License


0.   IMPORTANT INFORMATION BEFORE USING THIS DRIVER
-----------------------------------------------

Important Notice FOR ALL USERS OR DISTRIBUTORS!!!!

Intel wireless LAN adapters are engineered, manufactured, tested, and
quality checked to ensure that they meet all necessary local and
governmental regulatory agency requirements for the regions that they
are designated and/or marked to ship into. Since wireless LANs are
generally unlicensed devices that share spectrum with radars,
satellites, and other licensed and unlicensed devices, it is sometimes
necessary to dynamically detect, avoid, and limit usage to avoid
interference with these devices. In many instances Intel is required to
provide test data to prove regional and local compliance to regional and
governmental regulations before certification or approval to use the
product is granted. Intel's wireless LAN's EEPROM, firmware, and
software driver are designed to carefully control parameters that affect
radio operation and to ensure electromagnetic compliance (EMC). These
parameters include, without limitation, RF power, spectrum usage,
channel scanning, and human exposure.

For these reasons Intel cannot permit any manipulation by third parties
of the software provided in binary format with the wireless WLAN
adapters (e.g., the EEPROM and firmware). Furthermore, if you use any
patches, utilities, or code with the Intel wireless LAN adapters that
have been manipulated by an unauthorized party (i.e., patches,
utilities, or code (including open source code modifications) which have
not been validated by Intel), (i) you will be solely responsible for
ensuring the regulatory compliance of the products, (ii) Intel will bear
no liability, under any theory of liability for any issues associated
with the modified products, including without limitation, claims under
the warranty and/or issues arising from regulatory non-compliance, and
(iii) Intel will not provide or be required to assist in providing
support to any third parties for such modified products.

Note: Many regulatory agencies consider Wireless LAN adapters to be
modules, and accordingly, condition system-level regulatory approval
upon receipt and review of test data documenting that the antennas and
system configuration do not cause the EMC and radio operation to be
non-compliant.

The drivers available for download from SourceForge are provided as a
part of a development project.  Conformance to local regulatory
requirements is the responsibility of the individual developer.  As
such, if you are interested in deploying or shipping a driver as part of
solution intended to be used for purposes other than development, please
obtain a tested driver from Intel Customer Support at:

http://www.intel.com/support/wireless/sb/CS-006408.htm

1. Introduction
-----------------------------------------------

This document provides a brief overview of the features supported by the 
IPW2100 driver project.  The main project website, where the latest 
development version of the driver can be found, is:

	http://ipw2100.sourceforge.net

There you can find the not only the latest releases, but also information about
potential fixes and patches, as well as links to the development mailing list
for the driver project.


2. Release git-1.1.5 Current Supported Features
-----------------------------------------------
- Managed (BSS) and Ad-Hoc (IBSS)
- WEP (shared key and open)
- Wireless Tools support 
- 802.1x (tested with XSupplicant 1.0.1)

Enabled (but not supported) features:
- Monitor/RFMon mode
- WPA/WPA2

The distinction between officially supported and enabled is a reflection
on the amount of validation and interoperability testing that has been
performed on a given feature.


3. Command Line Parameters
-----------------------------------------------

If the driver is built as a module, the following optional parameters are used
by entering them on the command line with the modprobe command using this
syntax:

	modprobe ipw2100 [<option>=<VAL1><,VAL2>...]

For example, to disable the radio on driver loading, enter:

	modprobe ipw2100 disable=1

The ipw2100 driver supports the following module parameters:

Name		Value		Example:
debug		0x0-0xffffffff	debug=1024
mode		0,1,2		mode=1   /* AdHoc */
channel		int		channel=3 /* Only valid in AdHoc or Monitor */
associate	boolean		associate=0 /* Do NOT auto associate */
disable		boolean		disable=1 /* Do not power the HW */


4. Sysfs Helper Files
---------------------------     
-----------------------------------------------

There are several ways to control the behavior of the driver.  Many of the 
general capabilities are exposed through the Wireless Tools (iwconfig).  There
are a few capabilities that are exposed through entries in the Linux Sysfs.


----- Driver Level ------
For the driver level files, look in /sys/bus/pci/drivers/ipw2100/

  debug_level  
	
	This controls the same global as the 'debug' module parameter.  For 
        information on the various debugging levels available, run the 'dvals'
	script found in the driver source directory.

	NOTE:  'debug_level' is only enabled if CONFIG_IPW2100_DEBUG is turn
	       on.

----- Device Level ------
For the device level files look in
	
	/sys/bus/pci/drivers/ipw2100/{PCI-ID}/

For example:
	/sys/bus/pci/drivers/ipw2100/0000:02:01.0

For the device level files, see /sys/bus/pci/drivers/ipw2100:

  rf_kill
	read - 
	0 = RF kill not enabled (radio on)
	1 = SW based RF kill active (radio off)
	2 = HW based RF kill active (radio off)
	3 = Both HW and SW RF kill active (radio off)
	write -
	0 = If SW based RF kill active, turn the radio back on
	1 = If radio is on, activate SW based RF kill

	NOTE: If you enable the SW based RF kill and then toggle the HW
  	based RF kill from ON -> OFF -> ON, the radio will NOT come back on


5. Radio Kill Switch
-----------------------------------------------
Most laptops provide the ability for the user to physically disable the radio.
Some vendors have implemented this as a physical switch that requires no
software to turn the radio off and on.  On other laptops, however, the switch
is controlled through a button being pressed and a software driver then making
calls to turn the radio off and on.  This is referred to as a "software based
RF kill switch"

See the Sysfs helper file 'rf_kill' for determining the state of the RF switch
on your system.


6. Dynamic Firmware
-----------------------------------------------
As the firmware is licensed under a restricted use license, it can not be 
included within the kernel sources.  To enable the IPW2100 you will need a 
firmware image to load into the wireless NIC's processors.

You can obtain these images from <http://ipw2100.sf.net/firmware.php>.

See INSTALL for instructions on installing the firmware.


7. Power Management
-----------------------------------------------
The IPW2100 supports the configuration of the Power Save Protocol 
through a private wireless extension interface.  The IPW2100 supports 
the following different modes:

	off	No power management.  Radio is always on.
	on	Automatic power management
	1-5	Different levels of power management.  The higher the 
		number the greater the power savings, but with an impact to 
		packet latencies. 

Power management works by powering down the radio after a certain 
interval of time has passed where no packets are passed through the 
radio.  Once powered down, the radio remains in that state for a given 
period of time.  For higher power savings, the interval between last 
packet processed to sleep is shorter and the sleep period is longer.

When the radio is asleep, the access point sending data to the station 
must buffer packets at the AP until the station wakes up and requests 
any buffered packets.  If you have an AP that does not correctly support 
the PSP protocol you may experience packet loss or very poor performance 
while power management is enabled.  If this is the case, you will need 
to try and find a firmware update for your AP, or disable power 
management (via `iwconfig eth1 power off`)

To configure the power level on the IPW2100 you use a combination of 
iwconfig and iwpriv.  iwconfig is used to turn power management on, off, 
and set it to auto.

	iwconfig eth1 power off    Disables radio power down
	iwconfig eth1 power on     Enables radio power management to 
				   last set level (defaults to AUTO)
	iwpriv eth1 set_power 0    Sets power level to AUTO and enables 
				   power management if not previously 
				   enabled.
	iwpriv eth1 set_power 1-5  Set the power level as specified, 
				   enabling power management if not 
				   previously enabled.

You can view the current power level setting via:
	
	iwpriv eth1 get_power

It will return the current period or timeout that is configured as a string
in the form of xxxx/yyyy (z) where xxxx is the timeout interval (amount of
time after packet processing), yyyy is the period to sleep (amount of time to 
wait before powering the radio and querying the access point for buffered
packets), and z is the 'power level'.  If power management is turned off the
xxxx/yyyy will be replaced with 'off' -- the level reported will be the active
level if `iwconfig eth1 power on` is invoked.


8. Support
-----------------------------------------------

For general development information and support,
go to:
	
    http://ipw2100.sf.net/

The ipw2100 1.1.0 driver and firmware can be downloaded from:  

    http://support.intel.com

For installation support on the ipw2100 1.1.0 driver on Linux kernels 
2.6.8 or greater, email support is available from:  

    http://supportmail.intel.com

9. License
-----------------------------------------------

  Copyright(c) 2003 - 2006 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 
  published by the Free Software Foundation.
  
  This program is distributed in the hope that it will be useful, but WITHOUT 
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
  more details.
  
  You should have received a copy of the GNU General Public License along with
  this program; if not, write to the Free Software Foundation, Inc., 59 
  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  
  The full GNU General Public License is included in this distribution in the
  file called LICENSE.
  
  License Contact Information:
  James P. Ketrenos <ipw2100-admin@linux.intel.com>
  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497