\hypertarget{if__iwm__power_8h_source}{}\doxysection{if\+\_\+iwm\+\_\+power.\+h}
\label{if__iwm__power_8h_source}\index{dev/iwm/if\_iwm\_power.h@{dev/iwm/if\_iwm\_power.h}}
\mbox{\hyperlink{if__iwm__power_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00001}00001 \textcolor{comment}{/*      \$OpenBSD: if\_iwm.c,v 1.39 2015/03/23 00:35:19 jsg Exp \$ */}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00002}00002 \textcolor{comment}{/*      \$FreeBSD\$ */}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00003}00003 }
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00004}00004 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00005}00005 \textcolor{comment}{ * Copyright (c) 2014 genua mbh <info@genua.de>}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00006}00006 \textcolor{comment}{ * Copyright (c) 2014 Fixup Software Ltd.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00007}00007 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00008}00008 \textcolor{comment}{ * Permission to use, copy, modify, and distribute this software for any}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00009}00009 \textcolor{comment}{ * purpose with or without fee is hereby granted, provided that the above}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00010}00010 \textcolor{comment}{ * copyright notice and this permission notice appear in all copies.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00011}00011 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00012}00012 \textcolor{comment}{ * THE SOFTWARE IS PROVIDED "{}AS IS"{} AND THE AUTHOR DISCLAIMS ALL WARRANTIES}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00013}00013 \textcolor{comment}{ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00014}00014 \textcolor{comment}{ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00015}00015 \textcolor{comment}{ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00016}00016 \textcolor{comment}{ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00017}00017 \textcolor{comment}{ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00018}00018 \textcolor{comment}{ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00019}00019 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00020}00020 }
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00021}00021 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00022}00022 \textcolor{comment}{ * Based on BSD-\/licensed source modules in the Linux iwlwifi driver,}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00023}00023 \textcolor{comment}{ * which were used as the reference documentation for this implementation.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00024}00024 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00025}00025 \textcolor{comment}{ * Driver version we are currently based off of is}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00026}00026 \textcolor{comment}{ * Linux 3.14.3 (tag id a2df521e42b1d9a23f620ac79dbfe8655a8391dd)}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00027}00027 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00028}00028 \textcolor{comment}{ ***********************************************************************}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00029}00029 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00030}00030 \textcolor{comment}{ * This file is provided under a dual BSD/GPLv2 license.  When using or}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00031}00031 \textcolor{comment}{ * redistributing this file, you may do so under either license.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00032}00032 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00033}00033 \textcolor{comment}{ * GPL LICENSE SUMMARY}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00034}00034 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00035}00035 \textcolor{comment}{ * Copyright(c) 2007 -\/ 2013 Intel Corporation. All rights reserved.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00036}00036 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00037}00037 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00038}00038 \textcolor{comment}{ * it under the terms of version 2 of the GNU General Public License as}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00039}00039 \textcolor{comment}{ * published by the Free Software Foundation.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00040}00040 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00041}00041 \textcolor{comment}{ * This program is distributed in the hope that it will be useful, but}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00042}00042 \textcolor{comment}{ * WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00043}00043 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00044}00044 \textcolor{comment}{ * General Public License for more details.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00045}00045 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00046}00046 \textcolor{comment}{ * You should have received a copy of the GNU General Public License}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00047}00047 \textcolor{comment}{ * along with this program; if not, write to the Free Software}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00048}00048 \textcolor{comment}{ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00049}00049 \textcolor{comment}{ * USA}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00050}00050 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00051}00051 \textcolor{comment}{ * The full GNU General Public License is included in this distribution}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00052}00052 \textcolor{comment}{ * in the file called COPYING.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00053}00053 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00054}00054 \textcolor{comment}{ * Contact Information:}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00055}00055 \textcolor{comment}{ *  Intel Linux Wireless <ilw@linux.intel.com>}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00056}00056 \textcolor{comment}{ * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-\/6497}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00057}00057 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00058}00058 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00059}00059 \textcolor{comment}{ * BSD LICENSE}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00060}00060 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00061}00061 \textcolor{comment}{ * Copyright(c) 2005 -\/ 2013 Intel Corporation. All rights reserved.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00062}00062 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00063}00063 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00064}00064 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00065}00065 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00066}00066 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00067}00067 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00068}00068 \textcolor{comment}{ *  * Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00069}00069 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00070}00070 \textcolor{comment}{ *  * Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00071}00071 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00072}00072 \textcolor{comment}{ *    the documentation and/or other materials provided with the}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00073}00073 \textcolor{comment}{ *    distribution.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00074}00074 \textcolor{comment}{ *  * Neither the name Intel Corporation nor the names of its}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00075}00075 \textcolor{comment}{ *    contributors may be used to endorse or promote products derived}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00076}00076 \textcolor{comment}{ *    from this software without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00077}00077 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00078}00078 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00079}00079 \textcolor{comment}{ * "{}AS IS"{} AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00080}00080 \textcolor{comment}{ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00081}00081 \textcolor{comment}{ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00082}00082 \textcolor{comment}{ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00083}00083 \textcolor{comment}{ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00084}00084 \textcolor{comment}{ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00085}00085 \textcolor{comment}{ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00086}00086 \textcolor{comment}{ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00087}00087 \textcolor{comment}{ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00088}00088 \textcolor{comment}{ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00089}00089 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00090}00090 \textcolor{preprocessor}{\#ifndef \_\_IF\_IWM\_POWER\_H\_\_}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00091}00091 \textcolor{preprocessor}{\#define \_\_IF\_IWM\_POWER\_H\_\_}}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00093}00093 \textcolor{keyword}{extern}  \textcolor{keywordtype}{int} \mbox{\hyperlink{if__iwm__power_8h_af849dc4686a3c62ac12d16eab46749fd}{iwm\_power\_update\_device}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structiwm__softc}{iwm\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00094}00094 \textcolor{keyword}{extern}  \textcolor{keywordtype}{int} \mbox{\hyperlink{if__iwm__power_8h_a2ec4cf2528c4b24a2433572eaf9c0eb6}{iwm\_power\_update\_mac}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structiwm__softc}{iwm\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00095}00095 \textcolor{keyword}{extern}  \textcolor{keywordtype}{int} \mbox{\hyperlink{if__iwm__power_8h_a45c1f1ff9c0cdae9d3e031103116b5ad}{iwm\_power\_update\_ps}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structiwm__softc}{iwm\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00096}00096 \textcolor{keyword}{extern}  \textcolor{keywordtype}{int} \mbox{\hyperlink{if__iwm__power_8h_a7f2bcc68997fdbd465331c3532d8d893}{iwm\_enable\_beacon\_filter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structiwm__softc}{iwm\_softc}} *sc,}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00097}00097             \textcolor{keyword}{struct} \mbox{\hyperlink{structiwm__vap}{iwm\_vap}} *ivp);}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00098}00098 \textcolor{keyword}{extern}  \textcolor{keywordtype}{int} \mbox{\hyperlink{if__iwm__power_8h_a0c33d4bf1cf7667e9ab8f06d25c175d0}{iwm\_disable\_beacon\_filter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structiwm__softc}{iwm\_softc}} *sc);}
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00099}00099 }
\DoxyCodeLine{\Hypertarget{if__iwm__power_8h_source_l00100}00100 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_\_IF\_IWM\_POWER\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
