1314076Sadrian/*- 2314076Sadrian * Based on BSD-licensed source modules in the Linux iwlwifi driver, 3314076Sadrian * which were used as the reference documentation for this implementation. 4314076Sadrian * 5314076Sadrian ****************************************************************************** 6314076Sadrian * 7314076Sadrian * This file is provided under a dual BSD/GPLv2 license. When using or 8314076Sadrian * redistributing this file, you may do so under either license. 9314076Sadrian * 10314076Sadrian * GPL LICENSE SUMMARY 11314076Sadrian * 12314076Sadrian * Copyright(c) 2014 Intel Corporation. All rights reserved. 13314076Sadrian * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH 14314076Sadrian * Copyright(c) 2016 Intel Deutschland GmbH 15314076Sadrian * 16314076Sadrian * This program is free software; you can redistribute it and/or modify 17314076Sadrian * it under the terms of version 2 of the GNU General Public License as 18314076Sadrian * published by the Free Software Foundation. 19314076Sadrian * 20314076Sadrian * This program is distributed in the hope that it will be useful, but 21314076Sadrian * WITHOUT ANY WARRANTY; without even the implied warranty of 22314076Sadrian * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 23314076Sadrian * General Public License for more details. 24314076Sadrian * 25314076Sadrian * You should have received a copy of the GNU General Public License 26314076Sadrian * along with this program; if not, write to the Free Software 27314076Sadrian * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, 28314076Sadrian * USA 29314076Sadrian * 30314076Sadrian * The full GNU General Public License is included in this distribution 31314076Sadrian * in the file called COPYING. 32314076Sadrian * 33314076Sadrian * Contact Information: 34314076Sadrian * Intel Linux Wireless <linuxwifi@intel.com> 35314076Sadrian * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 36314076Sadrian * 37314076Sadrian * BSD LICENSE 38314076Sadrian * 39314076Sadrian * Copyright(c) 2014 Intel Corporation. All rights reserved. 40314076Sadrian * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH 41314076Sadrian * All rights reserved. 42314076Sadrian * 43314076Sadrian * Redistribution and use in source and binary forms, with or without 44314076Sadrian * modification, are permitted provided that the following conditions 45314076Sadrian * are met: 46314076Sadrian * 47314076Sadrian * * Redistributions of source code must retain the above copyright 48314076Sadrian * notice, this list of conditions and the following disclaimer. 49314076Sadrian * * Redistributions in binary form must reproduce the above copyright 50314076Sadrian * notice, this list of conditions and the following disclaimer in 51314076Sadrian * the documentation and/or other materials provided with the 52314076Sadrian * distribution. 53314076Sadrian * * Neither the name Intel Corporation nor the names of its 54314076Sadrian * contributors may be used to endorse or promote products derived 55314076Sadrian * from this software without specific prior written permission. 56314076Sadrian * 57314076Sadrian * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 58314076Sadrian * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 59314076Sadrian * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 60314076Sadrian * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 61314076Sadrian * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 62314076Sadrian * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 63314076Sadrian * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 64314076Sadrian * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 65314076Sadrian * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 66314076Sadrian * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 67314076Sadrian * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 68314076Sadrian * 69314076Sadrian *****************************************************************************/ 70314076Sadrian 71314076Sadrian#include <sys/cdefs.h> 72314076Sadrian__FBSDID("$FreeBSD: stable/11/sys/dev/iwm/if_iwm_8000.c 330455 2018-03-05 08:05:30Z eadler $"); 73314076Sadrian 74330455Seadler#include "opt_wlan.h" 75330455Seadler#include "opt_iwm.h" 76330455Seadler 77314076Sadrian#include <sys/param.h> 78314076Sadrian 79314076Sadrian#include "if_iwm_config.h" 80314076Sadrian 81314076Sadrian#define IWM8000_FW "iwm8000Cfw" 82330227Seadler#define IWM8265_FW "iwm8265fw" 83314076Sadrian 84314076Sadrian#define IWM_NVM_HW_SECTION_NUM_FAMILY_8000 10 85314076Sadrian 86314076Sadrian#define IWM_DEVICE_8000_COMMON \ 87314076Sadrian .device_family = IWM_DEVICE_FAMILY_8000, \ 88314076Sadrian .eeprom_size = IWM_OTP_LOW_IMAGE_SIZE_FAMILY_8000, \ 89314076Sadrian .nvm_hw_section_num = IWM_NVM_HW_SECTION_NUM_FAMILY_8000 90314076Sadrian 91314076Sadrianconst struct iwm_cfg iwm8260_cfg = { 92314076Sadrian .name = "Intel(R) Dual Band Wireless AC 8260", 93314076Sadrian .fw_name = IWM8000_FW, 94314076Sadrian IWM_DEVICE_8000_COMMON, 95314076Sadrian .host_interrupt_operation_mode = 0, 96314076Sadrian}; 97330227Seadler 98330227Seadlerconst struct iwm_cfg iwm8265_cfg = { 99330227Seadler .name = "Intel(R) Dual Band Wireless AC 8265", 100330227Seadler .fw_name = IWM8265_FW, 101330227Seadler IWM_DEVICE_8000_COMMON, 102330227Seadler .host_interrupt_operation_mode = 0, 103330227Seadler}; 104