Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add support for Intel Centrino Wireless-N 100/105/130/135/22...



details:   https://anonhg.NetBSD.org/src/rev/53473c32c090
branches:  trunk
changeset: 333361:53473c32c090
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Oct 30 13:05:58 2014 +0000

description:
Add support for Intel Centrino Wireless-N 100/105/130/135/2200/2230.
>From OpenBSD.

diffstat:

 distrib/sets/lists/base/mi                                       |   17 +-
 external/intel-fw-public/Makefile                                |    6 +-
 external/intel-fw-public/iwl100/Makefile                         |   10 +
 external/intel-fw-public/iwl100/dist/LICENSE.iwlwifi-100-ucode   |   39 +
 external/intel-fw-public/iwl100/dist/README.iwlwifi-100-ucode    |  113 ++
 external/intel-fw-public/iwl100/dist/iwlwifi-100-5.ucode         |  Bin 
 external/intel-fw-public/iwl105/Makefile                         |   10 +
 external/intel-fw-public/iwl105/dist/LICENSE.iwlwifi-105-ucode   |   39 +
 external/intel-fw-public/iwl105/dist/README.iwlwifi-105-ucode    |  113 ++
 external/intel-fw-public/iwl105/dist/iwlwifi-105-6.ucode         |  Bin 
 external/intel-fw-public/iwl135/Makefile                         |   10 +
 external/intel-fw-public/iwl135/dist/LICENSE.iwlwifi-135-ucode   |   39 +
 external/intel-fw-public/iwl135/dist/README.iwlwifi-135-ucode    |  113 ++
 external/intel-fw-public/iwl135/dist/iwlwifi-135-6.ucode         |  Bin 
 external/intel-fw-public/iwl2000/Makefile                        |   10 +
 external/intel-fw-public/iwl2000/dist/LICENSE.iwlwifi-2000-ucode |   39 +
 external/intel-fw-public/iwl2000/dist/README.iwlwifi-2000-ucode  |  113 ++
 external/intel-fw-public/iwl2000/dist/iwlwifi-2000-6.ucode       |  Bin 
 external/intel-fw-public/iwl2030/Makefile                        |   10 +
 external/intel-fw-public/iwl2030/dist/LICENSE.iwlwifi-2030-ucode |   39 +
 external/intel-fw-public/iwl2030/dist/README.iwlwifi-2030-ucode  |  113 ++
 external/intel-fw-public/iwl2030/dist/iwlwifi-2030-6.ucode       |  Bin 
 share/man/man4/iwn.4                                             |   58 +-
 sys/dev/pci/if_iwn.c                                             |  423 ++++++++-
 sys/dev/pci/if_iwnreg.h                                          |  212 ++++-
 sys/dev/pci/if_iwnvar.h                                          |   10 +-
 26 files changed, 1452 insertions(+), 84 deletions(-)

diffs (truncated from 2051 to 300 lines):

diff -r ec4fdc8da3cc -r 53473c32c090 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Thu Oct 30 10:51:34 2014 +0000
+++ b/distrib/sets/lists/base/mi        Thu Oct 30 13:05:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1090 2014/10/23 03:45:46 apb Exp $
+# $NetBSD: mi,v 1.1091 2014/10/30 13:05:58 nonaka Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -146,7 +146,12 @@
 ./libdata/firmware/if_iwi/ipw2200-ibss.fw      base-firmware-root
 ./libdata/firmware/if_iwi/ipw2200-sniffer.fw   base-firmware-root
 ./libdata/firmware/if_iwn                      base-firmware-root
+./libdata/firmware/if_iwn/LICENSE.iwlwifi-100-ucode    base-firmware-root
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-1000-ucode   base-firmware-root
+./libdata/firmware/if_iwn/LICENSE.iwlwifi-105-ucode    base-firmware-root
+./libdata/firmware/if_iwn/LICENSE.iwlwifi-135-ucode    base-firmware-root
+./libdata/firmware/if_iwn/LICENSE.iwlwifi-2000-ucode   base-firmware-root
+./libdata/firmware/if_iwn/LICENSE.iwlwifi-2030-ucode   base-firmware-root
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-4965-ucode   base-firmware-root
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-5000-ucode   base-firmware-root
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-5150-ucode   base-firmware-root
@@ -154,7 +159,12 @@
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-6000g2a-ucode        base-firmware-root
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-6000g2b-ucode        base-firmware-root
 ./libdata/firmware/if_iwn/LICENSE.iwlwifi-6050-ucode   base-firmware-root
+./libdata/firmware/if_iwn/README.iwlwifi-100-ucode     base-firmware-root
 ./libdata/firmware/if_iwn/README.iwlwifi-1000-ucode    base-firmware-root
+./libdata/firmware/if_iwn/README.iwlwifi-105-ucode     base-firmware-root
+./libdata/firmware/if_iwn/README.iwlwifi-135-ucode     base-firmware-root
+./libdata/firmware/if_iwn/README.iwlwifi-2000-ucode    base-firmware-root
+./libdata/firmware/if_iwn/README.iwlwifi-2030-ucode    base-firmware-root
 ./libdata/firmware/if_iwn/README.iwlwifi-4965-ucode    base-firmware-root
 ./libdata/firmware/if_iwn/README.iwlwifi-5000-ucode    base-firmware-root
 ./libdata/firmware/if_iwn/README.iwlwifi-5150-ucode    base-firmware-root
@@ -162,7 +172,12 @@
 ./libdata/firmware/if_iwn/README.iwlwifi-6000g2a-ucode base-firmware-root
 ./libdata/firmware/if_iwn/README.iwlwifi-6000g2b-ucode base-firmware-root
 ./libdata/firmware/if_iwn/README.iwlwifi-6050-ucode    base-firmware-root
+./libdata/firmware/if_iwn/iwlwifi-100-5.ucode  base-firmware-root
 ./libdata/firmware/if_iwn/iwlwifi-1000-3.ucode base-firmware-root
+./libdata/firmware/if_iwn/iwlwifi-105-6.ucode  base-firmware-root
+./libdata/firmware/if_iwn/iwlwifi-135-6.ucode  base-firmware-root
+./libdata/firmware/if_iwn/iwlwifi-2000-6.ucode base-firmware-root
+./libdata/firmware/if_iwn/iwlwifi-2030-6.ucode base-firmware-root
 ./libdata/firmware/if_iwn/iwlwifi-4965-1.ucode base-obsolete           obsolete
 ./libdata/firmware/if_iwn/iwlwifi-4965-2.ucode base-firmware-root
 ./libdata/firmware/if_iwn/iwlwifi-5000-1.ucode base-obsolete           obsolete
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/Makefile
--- a/external/intel-fw-public/Makefile Thu Oct 30 10:51:34 2014 +0000
+++ b/external/intel-fw-public/Makefile Thu Oct 30 13:05:58 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2013/07/28 11:46:24 prlw1 Exp $
+# $NetBSD: Makefile,v 1.8 2014/10/30 13:05:58 nonaka Exp $
 
-SUBDIR+=       ipw3945 iwl1000 iwl4965 iwl5000 iwl5150 iwl6000 iwl6005 \
-               iwl6030 iwl6050
+SUBDIR+=       ipw3945 iwl100 iwl105 iwl135 iwl1000 iwl2000 iwl2030 \
+               iwl4965 iwl5000 iwl5150 iwl6000 iwl6005 iwl6030 iwl6050
 
 .include <bsd.subdir.mk>
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl100/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/intel-fw-public/iwl100/Makefile  Thu Oct 30 13:05:58 2014 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2014/10/30 13:05:58 nonaka Exp $
+
+NOMAN= # define
+
+FILES= dist/LICENSE.iwlwifi-100-ucode dist/README.iwlwifi-100-ucode \
+       dist/iwlwifi-100-5.ucode
+
+FILESDIR=      /libdata/firmware/if_iwn
+
+.include <bsd.files.mk>
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl100/dist/LICENSE.iwlwifi-100-ucode
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/intel-fw-public/iwl100/dist/LICENSE.iwlwifi-100-ucode    Thu Oct 30 13:05:58 2014 +0000
@@ -0,0 +1,39 @@
+Copyright (c) 2006-2010, Intel Corporation.
+All rights reserved.
+
+Redistribution.  Redistribution and use in binary form, without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions must reproduce the above copyright notice and the
+  following disclaimer in the documentation and/or other materials
+  provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its suppliers
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+* No reverse engineering, decompilation, or disassembly of this software
+  is permitted.
+
+Limited patent license.  Intel Corporation grants a world-wide,
+royalty-free, non-exclusive license under patents it now or hereafter
+owns or controls to make, have made, use, import, offer to sell and
+sell ("Utilize") this software, but solely to the extent that any
+such patent is necessary to Utilize the software alone, or in
+combination with an operating system licensed under an approved Open
+Source license as listed by the Open Source Initiative at
+http://opensource.org/licenses.  The patent license shall not apply to
+any other combinations which include this software.  No hardware per
+se is licensed hereunder.
+
+DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl100/dist/README.iwlwifi-100-ucode
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/intel-fw-public/iwl100/dist/README.iwlwifi-100-ucode     Thu Oct 30 13:05:58 2014 +0000
@@ -0,0 +1,113 @@
+Intel Wireless WiFi Link 100AGN Adapter
+Copyright (C) 2006-2010 Intel Corporation.  All rights reserved.
+
+Microcode Package README.iwlwifi-100-ucode
+
+INDEX
+
+1. OVERVIEW
+2. INSTALLATION
+3. LICENSE
+
+
+1. OVERVIEW
+
+The file iwlwifi-100-5.ucode provided in this package must be
+present on your system in order for the Intel Wireless WiFi Link
+AGN driver for Linux (iwlagn) to operate on your system.
+
+The "-5" in the filename reflects an interface/architecture version number.
+It will change only when changes in new uCode releases make the new uCode
+incompatible with earlier drivers.
+
+On adapter initialization, and at varying times during the uptime of
+the adapter, the microcode is loaded into the memory on the network
+adapter.  The microcode provides the low level MAC features including
+radio control and high precision timing events (backoff, transmit,
+etc.) while also providing varying levels of packet filtering which can
+be used to keep the host from having to handle packets that are not of
+interest given the current operating mode of the device.
+
+2. INSTALLATION
+
+The iwlagn driver will look for the file iwlwifi-100-5.ucode using the
+kernel's firmware_class infrastructure. More information can be found under
+Documentation/firmware_class in kernel source. In order to function
+correctly, you need to have this support enabled in your kernel.  When
+you configure the kernel, you can find this option in the following
+location:
+
+        Device Drivers ->
+                Generic Driver Options ->
+                        Userspace firmware loading support
+
+
+You can determine if your kernel currently has firmware loader support
+by looking for the CONFIG_FW_LOADER definition on your kernel's
+.config.
+
+In addition to having the firmware_class support in your kernel, you
+must also have a working udev and uevent infrastructure configured.
+The steps for installing and configuring udev are very
+distribution specific.
+
+Once you have the firmware loader in place (or if you aren't sure and
+you just want to try things to see if it works), you need to install
+the microcode file into the appropriate location.
+
+Where that appropriate location is depends (again) on your system
+distribution.  You can typically find this location by looking in the
+udev scripts of your distro, the default is /lib/firmware.
+
+Installation of the firmware is simply:
+
+        % cp iwlwifi-100-5.ucode /lib/firmware
+
+You can now load the driver (see the INSTALL and README.iwlwifi provided with
+the iwlwifi package for information on building and using that driver.)
+
+3. LICENSE
+
+The microcode in this package (iwlwifi-100-5.ucode) is provided under the
+terms of the following license (available in the file
+LICENSE.iwlwifi-100-ucode):
+
+Copyright (c) 2006-2010, Intel Corporation.
+All rights reserved.
+
+Redistribution.  Redistribution and use in binary form, without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions must reproduce the above copyright notice and the
+  following disclaimer in the documentation and/or other materials
+  provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its suppliers
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+* No reverse engineering, decompilation, or disassembly of this software
+  is permitted.
+
+Limited patent license.  Intel Corporation grants a world-wide,
+royalty-free, non-exclusive license under patents it now or hereafter
+owns or controls to make, have made, use, import, offer to sell and
+sell ("Utilize") this software, but solely to the extent that any
+such patent is necessary to Utilize the software alone, or in
+combination with an operating system licensed under an approved Open
+Source license as listed by the Open Source Initiative at
+http://opensource.org/licenses.  The patent license shall not apply to
+any other combinations which include this software.  No hardware per
+se is licensed hereunder.
+
+DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl100/dist/iwlwifi-100-5.ucode
Binary file external/intel-fw-public/iwl100/dist/iwlwifi-100-5.ucode has changed
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl105/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/intel-fw-public/iwl105/Makefile  Thu Oct 30 13:05:58 2014 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2014/10/30 13:05:58 nonaka Exp $
+
+NOMAN= # define
+
+FILES= dist/LICENSE.iwlwifi-105-ucode dist/README.iwlwifi-105-ucode \
+       dist/iwlwifi-105-6.ucode
+
+FILESDIR=      /libdata/firmware/if_iwn
+
+.include <bsd.files.mk>
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl105/dist/LICENSE.iwlwifi-105-ucode
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/intel-fw-public/iwl105/dist/LICENSE.iwlwifi-105-ucode    Thu Oct 30 13:05:58 2014 +0000
@@ -0,0 +1,39 @@
+Copyright (c) 2006-2012, Intel Corporation.
+All rights reserved.
+
+Redistribution.  Redistribution and use in binary form, without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions must reproduce the above copyright notice and the
+  following disclaimer in the documentation and/or other materials
+  provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its suppliers
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+* No reverse engineering, decompilation, or disassembly of this software
+  is permitted.
+
+Limited patent license.  Intel Corporation grants a world-wide,
+royalty-free, non-exclusive license under patents it now or hereafter
+owns or controls to make, have made, use, import, offer to sell and
+sell ("Utilize") this software, but solely to the extent that any
+such patent is necessary to Utilize the software alone, or in
+combination with an operating system licensed under an approved Open
+Source license as listed by the Open Source Initiative at
+http://opensource.org/licenses.  The patent license shall not apply to
+any other combinations which include this software.  No hardware per
+se is licensed hereunder.
+
+DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
diff -r ec4fdc8da3cc -r 53473c32c090 external/intel-fw-public/iwl105/dist/README.iwlwifi-105-ucode
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/intel-fw-public/iwl105/dist/README.iwlwifi-105-ucode     Thu Oct 30 13:05:58 2014 +0000
@@ -0,0 +1,113 @@
+Intel Wireless WiFi Link 105 BGN Adapter
+Copyright (C) 2006-2012 Intel Corporation.  All rights reserved.



Home | Main Index | Thread Index | Old Index