\hypertarget{if__iwm__binding_8c}{}\doxysection{dev/iwm/if\+\_\+iwm\+\_\+binding.c File Reference}
\label{if__iwm__binding_8c}\index{dev/iwm/if\_iwm\_binding.c@{dev/iwm/if\_iwm\_binding.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+wlan.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+iwm.\+h\char`\"{}}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/conf.\+h$>$}\newline
{\ttfamily \#include $<$sys/endian.\+h$>$}\newline
{\ttfamily \#include $<$sys/firmware.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/mbuf.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/module.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/rman.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/sockio.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$sys/linker.\+h$>$}\newline
{\ttfamily \#include $<$machine/bus.\+h$>$}\newline
{\ttfamily \#include $<$machine/endian.\+h$>$}\newline
{\ttfamily \#include $<$machine/resource.\+h$>$}\newline
{\ttfamily \#include $<$dev/pci/pcivar.\+h$>$}\newline
{\ttfamily \#include $<$dev/pci/pcireg.\+h$>$}\newline
{\ttfamily \#include $<$net/bpf.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+arp.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+dl.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+types.\+h$>$}\newline
{\ttfamily \#include $<$netinet/in.\+h$>$}\newline
{\ttfamily \#include $<$netinet/in\+\_\+systm.\+h$>$}\newline
{\ttfamily \#include $<$netinet/if\+\_\+ether.\+h$>$}\newline
{\ttfamily \#include $<$netinet/ip.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+regdomain.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+ratectl.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+radiotap.\+h$>$}\newline
{\ttfamily \#include $<$dev/iwm/if\+\_\+iwmreg.\+h$>$}\newline
{\ttfamily \#include $<$dev/iwm/if\+\_\+iwmvar.\+h$>$}\newline
{\ttfamily \#include $<$dev/iwm/if\+\_\+iwm\+\_\+debug.\+h$>$}\newline
{\ttfamily \#include $<$dev/iwm/if\+\_\+iwm\+\_\+util.\+h$>$}\newline
{\ttfamily \#include $<$dev/iwm/if\+\_\+iwm\+\_\+binding.\+h$>$}\newline
{\ttfamily \#include $<$dev/iwm/if\+\_\+iwm\+\_\+sf.\+h$>$}\newline
Include dependency graph for if\+\_\+iwm\+\_\+binding.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dd/d87/if__iwm__binding_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structiwm__iface__iterator__data}{iwm\+\_\+iface\+\_\+iterator\+\_\+data}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{if__iwm__binding_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static int \mbox{\hyperlink{if__iwm__binding_8c_afe50fc48a2ba0318ee032608a500ff8b}{iwm\+\_\+binding\+\_\+cmd}} (struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$sc, uint32\+\_\+t action, struct \mbox{\hyperlink{structiwm__iface__iterator__data}{iwm\+\_\+iface\+\_\+iterator\+\_\+data}} $\ast$data)
\item 
static int \mbox{\hyperlink{if__iwm__binding_8c_a852947afe6bcf81f69a39d8d5714ffce}{iwm\+\_\+binding\+\_\+update}} (struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$sc, struct \mbox{\hyperlink{structiwm__vap}{iwm\+\_\+vap}} $\ast$ivp, struct \mbox{\hyperlink{structiwm__phy__ctxt}{iwm\+\_\+phy\+\_\+ctxt}} $\ast$phyctxt, boolean\+\_\+t add)
\item 
int \mbox{\hyperlink{if__iwm__binding_8c_ab51986057258803017e5ca077d06860f}{iwm\+\_\+binding\+\_\+add\+\_\+vif}} (struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$sc, struct \mbox{\hyperlink{structiwm__vap}{iwm\+\_\+vap}} $\ast$ivp)
\item 
int \mbox{\hyperlink{if__iwm__binding_8c_a794d59d73527bbcea7e8627a0c4263ad}{iwm\+\_\+binding\+\_\+remove\+\_\+vif}} (struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$sc, struct \mbox{\hyperlink{structiwm__vap}{iwm\+\_\+vap}} $\ast$ivp)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{if__iwm__binding_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{if__iwm__binding_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{if\_iwm\_binding.c@{if\_iwm\_binding.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!if\_iwm\_binding.c@{if\_iwm\_binding.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{if__iwm__binding_8c_ab51986057258803017e5ca077d06860f}\label{if__iwm__binding_8c_ab51986057258803017e5ca077d06860f}} 
\index{if\_iwm\_binding.c@{if\_iwm\_binding.c}!iwm\_binding\_add\_vif@{iwm\_binding\_add\_vif}}
\index{iwm\_binding\_add\_vif@{iwm\_binding\_add\_vif}!if\_iwm\_binding.c@{if\_iwm\_binding.c}}
\doxysubsubsection{\texorpdfstring{iwm\_binding\_add\_vif()}{iwm\_binding\_add\_vif()}}
{\footnotesize\ttfamily int iwm\+\_\+binding\+\_\+add\+\_\+vif (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$}]{sc,  }\item[{struct \mbox{\hyperlink{structiwm__vap}{iwm\+\_\+vap}} $\ast$}]{ivp }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{if__iwm__binding_8c_source_l00222}{222}} of file \mbox{\hyperlink{if__iwm__binding_8c_source}{if\+\_\+iwm\+\_\+binding.\+c}}.



References \mbox{\hyperlink{if__iwmvar_8h_source_l00354}{iwm\+\_\+vap\+::iv\+\_\+vap}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00199}{iwm\+\_\+binding\+\_\+update()}}, \mbox{\hyperlink{if__iwm__sf_8c_source_l00298}{iwm\+\_\+sf\+\_\+update()}}, and \mbox{\hyperlink{if__iwmvar_8h_source_l00361}{iwm\+\_\+vap\+::phy\+\_\+ctxt}}.



Referenced by \mbox{\hyperlink{if__iwm_8c_source_l04062}{iwm\+\_\+auth()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_ab51986057258803017e5ca077d06860f_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_ab51986057258803017e5ca077d06860f_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{if__iwm__binding_8c_afe50fc48a2ba0318ee032608a500ff8b}\label{if__iwm__binding_8c_afe50fc48a2ba0318ee032608a500ff8b}} 
\index{if\_iwm\_binding.c@{if\_iwm\_binding.c}!iwm\_binding\_cmd@{iwm\_binding\_cmd}}
\index{iwm\_binding\_cmd@{iwm\_binding\_cmd}!if\_iwm\_binding.c@{if\_iwm\_binding.c}}
\doxysubsubsection{\texorpdfstring{iwm\_binding\_cmd()}{iwm\_binding\_cmd()}}
{\footnotesize\ttfamily static int \mbox{\hyperlink{structiwm__binding__cmd}{iwm\+\_\+binding\+\_\+cmd}} (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$}]{sc,  }\item[{uint32\+\_\+t}]{action,  }\item[{struct \mbox{\hyperlink{structiwm__iface__iterator__data}{iwm\+\_\+iface\+\_\+iterator\+\_\+data}} $\ast$}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{if__iwm__binding_8c_source_l00159}{159}} of file \mbox{\hyperlink{if__iwm__binding_8c_source}{if\+\_\+iwm\+\_\+binding.\+c}}.



References \mbox{\hyperlink{if__iwmreg_8h_source_l02963}{iwm\+\_\+binding\+\_\+cmd\+\_\+v1\+::action}}, \mbox{\hyperlink{if__iwmvar_8h_source_l00341}{iwm\+\_\+phy\+\_\+ctxt\+::color}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00155}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::colors}}, \mbox{\hyperlink{if__iwmvar_8h_source_l00340}{iwm\+\_\+phy\+\_\+ctxt\+::id}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02962}{iwm\+\_\+binding\+\_\+cmd\+\_\+v1\+::id\+\_\+and\+\_\+color}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00154}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::ids}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00150}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::idx}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02017}{IWM\+\_\+\+BINDING\+\_\+\+CONTEXT\+\_\+\+CMD}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02657}{IWM\+\_\+\+FW\+\_\+\+CMD\+\_\+\+ID\+\_\+\+AND\+\_\+\+COLOR}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02655}{IWM\+\_\+\+FW\+\_\+\+CTXT\+\_\+\+INVALID}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02645}{IWM\+\_\+\+MAX\+\_\+\+MACS\+\_\+\+IN\+\_\+\+BINDING}}, \mbox{\hyperlink{if__iwm__util_8c_source_l00405}{iwm\+\_\+send\+\_\+cmd\+\_\+pdu\+\_\+status()}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02965}{iwm\+\_\+binding\+\_\+cmd\+\_\+v1\+::macs}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02966}{iwm\+\_\+binding\+\_\+cmd\+\_\+v1\+::phy}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00152}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::phyctxt}}, and \mbox{\hyperlink{if__iwmvar_8h_source_l00408}{iwm\+\_\+softc\+::sc\+\_\+dev}}.



Referenced by \mbox{\hyperlink{if__iwm__binding_8c_source_l00199}{iwm\+\_\+binding\+\_\+update()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_afe50fc48a2ba0318ee032608a500ff8b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_afe50fc48a2ba0318ee032608a500ff8b_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{if__iwm__binding_8c_a794d59d73527bbcea7e8627a0c4263ad}\label{if__iwm__binding_8c_a794d59d73527bbcea7e8627a0c4263ad}} 
\index{if\_iwm\_binding.c@{if\_iwm\_binding.c}!iwm\_binding\_remove\_vif@{iwm\_binding\_remove\_vif}}
\index{iwm\_binding\_remove\_vif@{iwm\_binding\_remove\_vif}!if\_iwm\_binding.c@{if\_iwm\_binding.c}}
\doxysubsubsection{\texorpdfstring{iwm\_binding\_remove\_vif()}{iwm\_binding\_remove\_vif()}}
{\footnotesize\ttfamily int iwm\+\_\+binding\+\_\+remove\+\_\+vif (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$}]{sc,  }\item[{struct \mbox{\hyperlink{structiwm__vap}{iwm\+\_\+vap}} $\ast$}]{ivp }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{if__iwm__binding_8c_source_l00238}{238}} of file \mbox{\hyperlink{if__iwm__binding_8c_source}{if\+\_\+iwm\+\_\+binding.\+c}}.



References \mbox{\hyperlink{if__iwmvar_8h_source_l00354}{iwm\+\_\+vap\+::iv\+\_\+vap}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00199}{iwm\+\_\+binding\+\_\+update()}}, \mbox{\hyperlink{if__iwm__sf_8c_source_l00298}{iwm\+\_\+sf\+\_\+update()}}, \mbox{\hyperlink{if__iwmvar_8h_source_l00361}{iwm\+\_\+vap\+::phy\+\_\+ctxt}}, and \mbox{\hyperlink{if__iwmvar_8h_source_l00408}{iwm\+\_\+softc\+::sc\+\_\+dev}}.



Referenced by \mbox{\hyperlink{if__iwm_8c_source_l04328}{iwm\+\_\+bring\+\_\+down\+\_\+firmware()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_a794d59d73527bbcea7e8627a0c4263ad_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_a794d59d73527bbcea7e8627a0c4263ad_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{if__iwm__binding_8c_a852947afe6bcf81f69a39d8d5714ffce}\label{if__iwm__binding_8c_a852947afe6bcf81f69a39d8d5714ffce}} 
\index{if\_iwm\_binding.c@{if\_iwm\_binding.c}!iwm\_binding\_update@{iwm\_binding\_update}}
\index{iwm\_binding\_update@{iwm\_binding\_update}!if\_iwm\_binding.c@{if\_iwm\_binding.c}}
\doxysubsubsection{\texorpdfstring{iwm\_binding\_update()}{iwm\_binding\_update()}}
{\footnotesize\ttfamily static int iwm\+\_\+binding\+\_\+update (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structiwm__softc}{iwm\+\_\+softc}} $\ast$}]{sc,  }\item[{struct \mbox{\hyperlink{structiwm__vap}{iwm\+\_\+vap}} $\ast$}]{ivp,  }\item[{struct \mbox{\hyperlink{structiwm__phy__ctxt}{iwm\+\_\+phy\+\_\+ctxt}} $\ast$}]{phyctxt,  }\item[{boolean\+\_\+t}]{add }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{if__iwm__binding_8c_source_l00199}{199}} of file \mbox{\hyperlink{if__iwm__binding_8c_source}{if\+\_\+iwm\+\_\+binding.\+c}}.



References \mbox{\hyperlink{if__iwmvar_8h_source_l00364}{iwm\+\_\+vap\+::color}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00155}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::colors}}, \mbox{\hyperlink{if__iwmvar_8h_source_l00363}{iwm\+\_\+vap\+::id}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00154}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::ids}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00150}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::idx}}, \mbox{\hyperlink{if__iwm__binding_8c_source_l00159}{iwm\+\_\+binding\+\_\+cmd()}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02662}{IWM\+\_\+\+FW\+\_\+\+CTXT\+\_\+\+ACTION\+\_\+\+ADD}}, \mbox{\hyperlink{if__iwmreg_8h_source_l02664}{IWM\+\_\+\+FW\+\_\+\+CTXT\+\_\+\+ACTION\+\_\+\+REMOVE}}, and \mbox{\hyperlink{if__iwm__binding_8c_source_l00152}{iwm\+\_\+iface\+\_\+iterator\+\_\+data\+::phyctxt}}.



Referenced by \mbox{\hyperlink{if__iwm__binding_8c_source_l00222}{iwm\+\_\+binding\+\_\+add\+\_\+vif()}}, and \mbox{\hyperlink{if__iwm__binding_8c_source_l00238}{iwm\+\_\+binding\+\_\+remove\+\_\+vif()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_a852947afe6bcf81f69a39d8d5714ffce_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/db7/if__iwm__binding_8c_a852947afe6bcf81f69a39d8d5714ffce_icgraph}
\end{center}
\end{figure}
