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