131744Shelbig/*	$OpenBSD: if_iwm.c,v 1.39 2015/03/23 00:35:19 jsg Exp $	*/
231744Shelbig/*
331744Shelbig * Copyright (c) 2014 genua mbh <info@genua.de>
431744Shelbig * Copyright (c) 2014 Fixup Software Ltd.
531744Shelbig *
631744Shelbig * Permission to use, copy, modify, and distribute this software for any
731744Shelbig * purpose with or without fee is hereby granted, provided that the above
831744Shelbig * copyright notice and this permission notice appear in all copies.
931744Shelbig *
1031744Shelbig * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1131744Shelbig * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1231744Shelbig * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1331744Shelbig * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1431744Shelbig * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1531744Shelbig * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1631744Shelbig * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1731744Shelbig */
1831744Shelbig
1931744Shelbig/*-
2031744Shelbig * Based on BSD-licensed source modules in the Linux iwlwifi driver,
2131744Shelbig * which were used as the reference documentation for this implementation.
2231744Shelbig *
2331744Shelbig * Driver version we are currently based off of is
2431744Shelbig * Linux 3.14.3 (tag id a2df521e42b1d9a23f620ac79dbfe8655a8391dd)
2531744Shelbig *
2632310Scharnier ***********************************************************************
2732310Scharnier *
2832310Scharnier * This file is provided under a dual BSD/GPLv2 license.  When using or
2950477Speter * redistributing this file, you may do so under either license.
3032310Scharnier *
3132310Scharnier * GPL LICENSE SUMMARY
3231744Shelbig *
33200462Sdelphij * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved.
3431744Shelbig *
3574573Sache * This program is free software; you can redistribute it and/or modify
36212032Sedwin * it under the terms of version 2 of the GNU General Public License as
3731744Shelbig * published by the Free Software Foundation.
3831744Shelbig *
3931744Shelbig * This program is distributed in the hope that it will be useful, but
4031744Shelbig * WITHOUT ANY WARRANTY; without even the implied warranty of
4131744Shelbig * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4231744Shelbig * General Public License for more details.
4331744Shelbig *
44189804Sdas * You should have received a copy of the GNU General Public License
45189804Sdas * along with this program; if not, write to the Free Software
46191330Srdivacky * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
47191330Srdivacky * USA
4831744Shelbig *
49204697Sedwin * The full GNU General Public License is included in this distribution
5031744Shelbig * in the file called COPYING.
5131744Shelbig *
5231744Shelbig * Contact Information:
53204697Sedwin *  Intel Linux Wireless <ilw@linux.intel.com>
54204697Sedwin * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
5531744Shelbig *
56191330Srdivacky *
5731744Shelbig * BSD LICENSE
5831744Shelbig *
5931744Shelbig * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved.
6031744Shelbig * All rights reserved.
61189804Sdas *
6231744Shelbig * Redistribution and use in source and binary forms, with or without
6331744Shelbig * modification, are permitted provided that the following conditions
64204908Sedwin * are met:
6531744Shelbig *
6631744Shelbig *  * Redistributions of source code must retain the above copyright
6731744Shelbig *    notice, this list of conditions and the following disclaimer.
68189804Sdas *  * Redistributions in binary form must reproduce the above copyright
6931744Shelbig *    notice, this list of conditions and the following disclaimer in
7031744Shelbig *    the documentation and/or other materials provided with the
7131744Shelbig *    distribution.
7231744Shelbig *  * Neither the name Intel Corporation nor the names of its
7395641Smarkm *    contributors may be used to endorse or promote products derived
7495641Smarkm *    from this software without specific prior written permission.
7531744Shelbig *
7631744Shelbig * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7753963Sache * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7853963Sache * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
7953963Sache * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
8053963Sache * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8153963Sache * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8253963Sache * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8353963Sache * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8453963Sache * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8553963Sache * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8653963Sache * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8753963Sache */
8853963Sache
8953963Sache/*-
9053963Sache * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
9153963Sache *
9253963Sache * Permission to use, copy, modify, and distribute this software for any
9353963Sache * purpose with or without fee is hereby granted, provided that the above
9453963Sache * copyright notice and this permission notice appear in all copies.
9553963Sache *
9653963Sache * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9753963Sache * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9853963Sache * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
9953963Sache * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
10053963Sache * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
10153963Sache * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
10253963Sache * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
10353963Sache */
10453963Sache#ifndef	__IF_IWM_BINDING_H__
10553963Sache#define	__IF_IWM_BINDING_H__
10653963Sache
10753963Sacheextern	int iwm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp);
10853963Sacheextern	int iwm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp);
10953963Sache
11053963Sache#endif	/* __IF_IWM_BINDING_H__ */
11153963Sache