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