xref: /dflybsd-src/sys/dev/netif/iwm/if_iwm_9260.c (revision 6acbba79fd1a245dc4f49a6e542db4c015d39b8e)
1*6acbba79SMatthew Dillon /*-
2*6acbba79SMatthew Dillon  * Based on BSD-licensed source modules in the Linux iwlwifi driver,
3*6acbba79SMatthew Dillon  * which were used as the reference documentation for this implementation.
4*6acbba79SMatthew Dillon  *
5*6acbba79SMatthew Dillon  ******************************************************************************
6*6acbba79SMatthew Dillon  *
7*6acbba79SMatthew Dillon  * This file is provided under a dual BSD/GPLv2 license.  When using or
8*6acbba79SMatthew Dillon  * redistributing this file, you may do so under either license.
9*6acbba79SMatthew Dillon  *
10*6acbba79SMatthew Dillon  * GPL LICENSE SUMMARY
11*6acbba79SMatthew Dillon  *
12*6acbba79SMatthew Dillon  * Copyright(c) 2014 Intel Corporation. All rights reserved.
13*6acbba79SMatthew Dillon  * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH
14*6acbba79SMatthew Dillon  * Copyright(c) 2016 Intel Deutschland GmbH
15*6acbba79SMatthew Dillon  *
16*6acbba79SMatthew Dillon  * This program is free software; you can redistribute it and/or modify
17*6acbba79SMatthew Dillon  * it under the terms of version 2 of the GNU General Public License as
18*6acbba79SMatthew Dillon  * published by the Free Software Foundation.
19*6acbba79SMatthew Dillon  *
20*6acbba79SMatthew Dillon  * This program is distributed in the hope that it will be useful, but
21*6acbba79SMatthew Dillon  * WITHOUT ANY WARRANTY; without even the implied warranty of
22*6acbba79SMatthew Dillon  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23*6acbba79SMatthew Dillon  * General Public License for more details.
24*6acbba79SMatthew Dillon  *
25*6acbba79SMatthew Dillon  * You should have received a copy of the GNU General Public License
26*6acbba79SMatthew Dillon  * along with this program; if not, write to the Free Software
27*6acbba79SMatthew Dillon  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
28*6acbba79SMatthew Dillon  * USA
29*6acbba79SMatthew Dillon  *
30*6acbba79SMatthew Dillon  * The full GNU General Public License is included in this distribution
31*6acbba79SMatthew Dillon  * in the file called COPYING.
32*6acbba79SMatthew Dillon  *
33*6acbba79SMatthew Dillon  * Contact Information:
34*6acbba79SMatthew Dillon  *  Intel Linux Wireless <linuxwifi@intel.com>
35*6acbba79SMatthew Dillon  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
36*6acbba79SMatthew Dillon  *
37*6acbba79SMatthew Dillon  * BSD LICENSE
38*6acbba79SMatthew Dillon  *
39*6acbba79SMatthew Dillon  * Copyright(c) 2014 Intel Corporation. All rights reserved.
40*6acbba79SMatthew Dillon  * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH
41*6acbba79SMatthew Dillon  * All rights reserved.
42*6acbba79SMatthew Dillon  *
43*6acbba79SMatthew Dillon  * Redistribution and use in source and binary forms, with or without
44*6acbba79SMatthew Dillon  * modification, are permitted provided that the following conditions
45*6acbba79SMatthew Dillon  * are met:
46*6acbba79SMatthew Dillon  *
47*6acbba79SMatthew Dillon  *  * Redistributions of source code must retain the above copyright
48*6acbba79SMatthew Dillon  *    notice, this list of conditions and the following disclaimer.
49*6acbba79SMatthew Dillon  *  * Redistributions in binary form must reproduce the above copyright
50*6acbba79SMatthew Dillon  *    notice, this list of conditions and the following disclaimer in
51*6acbba79SMatthew Dillon  *    the documentation and/or other materials provided with the
52*6acbba79SMatthew Dillon  *    distribution.
53*6acbba79SMatthew Dillon  *  * Neither the name Intel Corporation nor the names of its
54*6acbba79SMatthew Dillon  *    contributors may be used to endorse or promote products derived
55*6acbba79SMatthew Dillon  *    from this software without specific prior written permission.
56*6acbba79SMatthew Dillon  *
57*6acbba79SMatthew Dillon  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
58*6acbba79SMatthew Dillon  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
59*6acbba79SMatthew Dillon  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
60*6acbba79SMatthew Dillon  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
61*6acbba79SMatthew Dillon  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
62*6acbba79SMatthew Dillon  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
63*6acbba79SMatthew Dillon  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
64*6acbba79SMatthew Dillon  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
65*6acbba79SMatthew Dillon  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
66*6acbba79SMatthew Dillon  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
67*6acbba79SMatthew Dillon  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
68*6acbba79SMatthew Dillon  *
69*6acbba79SMatthew Dillon  *****************************************************************************/
70*6acbba79SMatthew Dillon 
71*6acbba79SMatthew Dillon #include <sys/param.h>
72*6acbba79SMatthew Dillon 
73*6acbba79SMatthew Dillon #include "if_iwm_config.h"
74*6acbba79SMatthew Dillon 
75*6acbba79SMatthew Dillon #define IWM9260_FW	"iwm9260fw"
76*6acbba79SMatthew Dillon 
77*6acbba79SMatthew Dillon #define IWM_NVM_HW_SECTION_NUM_FAMILY_9260	10
78*6acbba79SMatthew Dillon 
79*6acbba79SMatthew Dillon #define IWM_DEVICE_9260_COMMON						\
80*6acbba79SMatthew Dillon 	.device_family = IWM_DEVICE_FAMILY_9000,			\
81*6acbba79SMatthew Dillon 	.eeprom_size = IWM_OTP_LOW_IMAGE_SIZE_FAMILY_9000,		\
82*6acbba79SMatthew Dillon 	.nvm_hw_section_num = IWM_NVM_HW_SECTION_NUM_FAMILY_9260
83*6acbba79SMatthew Dillon 
84*6acbba79SMatthew Dillon const struct iwm_cfg iwm9260_cfg = {
85*6acbba79SMatthew Dillon 	.name = "Intel(R) Dual Band Wireless AC 9260",
86*6acbba79SMatthew Dillon 	.fw_name = IWM9260_FW,
87*6acbba79SMatthew Dillon 	IWM_DEVICE_9260_COMMON,
88*6acbba79SMatthew Dillon 	.host_interrupt_operation_mode = 0,
89*6acbba79SMatthew Dillon 	.mqrx_supported = 1,
90*6acbba79SMatthew Dillon };
91