\hypertarget{if__rtwn__fw_8c}{}\doxysection{dev/rtwn/if\+\_\+rtwn\+\_\+fw.c File Reference}
\label{if__rtwn__fw_8c}\index{dev/rtwn/if\_rtwn\_fw.c@{dev/rtwn/if\_rtwn\_fw.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+wlan.\+h\char`\"{}}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/mbuf.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/socket.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$sys/queue.\+h$>$}\newline
{\ttfamily \#include $<$sys/taskqueue.\+h$>$}\newline
{\ttfamily \#include $<$sys/bus.\+h$>$}\newline
{\ttfamily \#include $<$sys/endian.\+h$>$}\newline
{\ttfamily \#include $<$sys/linker.\+h$>$}\newline
{\ttfamily \#include $<$sys/firmware.\+h$>$}\newline
{\ttfamily \#include $<$net/if.\+h$>$}\newline
{\ttfamily \#include $<$net/ethernet.\+h$>$}\newline
{\ttfamily \#include $<$net/if\+\_\+media.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+var.\+h$>$}\newline
{\ttfamily \#include $<$net80211/ieee80211\+\_\+radiotap.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/if\+\_\+rtwnreg.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/if\+\_\+rtwnvar.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/if\+\_\+rtwn\+\_\+debug.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/if\+\_\+rtwn\+\_\+fw.\+h$>$}\newline
{\ttfamily \#include $<$dev/rtwn/rtl8192c/r92c\+\_\+reg.\+h$>$}\newline
Include dependency graph for if\+\_\+rtwn\+\_\+fw.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{db/d25/if__rtwn__fw_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{if__rtwn__fw_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static int \mbox{\hyperlink{if__rtwn__fw_8c_a6432a6193041926e0e35b4cd43b29d44}{rtwn\+\_\+fw\+\_\+loadpage}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc, int page, const uint8\+\_\+t $\ast$buf, int len)
\item 
static int \mbox{\hyperlink{if__rtwn__fw_8c_a4fdb2c483fdb9db381a8cbbe3d632e0d}{rtwn\+\_\+fw\+\_\+checksum\+\_\+report}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc)
\item 
int \mbox{\hyperlink{if__rtwn__fw_8c_a31dda48cf1dc3a0061587d493214a36d}{rtwn\+\_\+load\+\_\+firmware}} (struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$sc)
\end{DoxyCompactItemize}


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

\mbox{\Hypertarget{if__rtwn__fw_8c_a4fdb2c483fdb9db381a8cbbe3d632e0d}\label{if__rtwn__fw_8c_a4fdb2c483fdb9db381a8cbbe3d632e0d}} 
\index{if\_rtwn\_fw.c@{if\_rtwn\_fw.c}!rtwn\_fw\_checksum\_report@{rtwn\_fw\_checksum\_report}}
\index{rtwn\_fw\_checksum\_report@{rtwn\_fw\_checksum\_report}!if\_rtwn\_fw.c@{if\_rtwn\_fw.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_fw\_checksum\_report()}{rtwn\_fw\_checksum\_report()}}
{\footnotesize\ttfamily static int rtwn\+\_\+fw\+\_\+checksum\+\_\+report (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{if__rtwn__fw_8c_source_l00096}{96}} of file \mbox{\hyperlink{if__rtwn__fw_8c_source}{if\+\_\+rtwn\+\_\+fw.\+c}}.



References \mbox{\hyperlink{r92c__reg_8h_source_l00071}{R92\+C\+\_\+\+MCUFWDL}}, \mbox{\hyperlink{r92c__reg_8h_source_l00365}{R92\+C\+\_\+\+MCUFWDL\+\_\+\+CHKSUM\+\_\+\+RPT}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00445}{rtwn\+\_\+delay}}, \mbox{\hyperlink{if__rtwn__debug_8h_source_l00057}{RTWN\+\_\+\+DPRINTF}}, and \mbox{\hyperlink{if__rtwnvar_8h_source_l00443}{rtwn\+\_\+read\+\_\+4}}.



Referenced by \mbox{\hyperlink{if__rtwn__fw_8c_source_l00115}{rtwn\+\_\+load\+\_\+firmware()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/df1/if__rtwn__fw_8c_a4fdb2c483fdb9db381a8cbbe3d632e0d_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{if__rtwn__fw_8c_a6432a6193041926e0e35b4cd43b29d44}\label{if__rtwn__fw_8c_a6432a6193041926e0e35b4cd43b29d44}} 
\index{if\_rtwn\_fw.c@{if\_rtwn\_fw.c}!rtwn\_fw\_loadpage@{rtwn\_fw\_loadpage}}
\index{rtwn\_fw\_loadpage@{rtwn\_fw\_loadpage}!if\_rtwn\_fw.c@{if\_rtwn\_fw.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_fw\_loadpage()}{rtwn\_fw\_loadpage()}}
{\footnotesize\ttfamily static int rtwn\+\_\+fw\+\_\+loadpage (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc,  }\item[{int}]{page,  }\item[{const uint8\+\_\+t $\ast$}]{buf,  }\item[{int}]{len }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{if__rtwn__fw_8c_source_l00058}{58}} of file \mbox{\hyperlink{if__rtwn__fw_8c_source}{if\+\_\+rtwn\+\_\+fw.\+c}}.



References \mbox{\hyperlink{if__rtwn__fw_8h_source_l00029}{R92\+C\+\_\+\+FW\+\_\+\+MAX\+\_\+\+BLOCK\+\_\+\+SIZE}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00027}{R92\+C\+\_\+\+FW\+\_\+\+START\+\_\+\+ADDR}}, \mbox{\hyperlink{r92c__reg_8h_source_l00071}{R92\+C\+\_\+\+MCUFWDL}}, \mbox{\hyperlink{if__rtwn__debug_8h_source_l00057}{RTWN\+\_\+\+DPRINTF}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00455}{rtwn\+\_\+fw\+\_\+write\+\_\+block}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00443}{rtwn\+\_\+read\+\_\+4}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00437}{rtwn\+\_\+write\+\_\+4}}, and \mbox{\hyperlink{if__rtwnreg_8h_source_l00114}{RW}}.



Referenced by \mbox{\hyperlink{if__rtwn__fw_8c_source_l00115}{rtwn\+\_\+load\+\_\+firmware()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/df1/if__rtwn__fw_8c_a6432a6193041926e0e35b4cd43b29d44_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{if__rtwn__fw_8c_a31dda48cf1dc3a0061587d493214a36d}\label{if__rtwn__fw_8c_a31dda48cf1dc3a0061587d493214a36d}} 
\index{if\_rtwn\_fw.c@{if\_rtwn\_fw.c}!rtwn\_load\_firmware@{rtwn\_load\_firmware}}
\index{rtwn\_load\_firmware@{rtwn\_load\_firmware}!if\_rtwn\_fw.c@{if\_rtwn\_fw.c}}
\doxysubsubsection{\texorpdfstring{rtwn\_load\_firmware()}{rtwn\_load\_firmware()}}
{\footnotesize\ttfamily int rtwn\+\_\+load\+\_\+firmware (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtwn__softc}{rtwn\+\_\+softc}} $\ast$}]{sc }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{if__rtwn__fw_8c_source_l00115}{115}} of file \mbox{\hyperlink{if__rtwn__fw_8c_source}{if\+\_\+rtwn\+\_\+fw.\+c}}.



References \mbox{\hyperlink{if__rtwn__fw_8h_source_l00043}{r92c\+\_\+fw\+\_\+hdr\+::date}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00252}{rtwn\+\_\+softc\+::fwname}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00254}{rtwn\+\_\+softc\+::fwsig}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00399}{rtwn\+\_\+softc\+::fwsize\+\_\+limit}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00253}{rtwn\+\_\+softc\+::fwver}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00044}{r92c\+\_\+fw\+\_\+hdr\+::hour}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00045}{r92c\+\_\+fw\+\_\+hdr\+::minute}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00042}{r92c\+\_\+fw\+\_\+hdr\+::month}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00028}{R92\+C\+\_\+\+FW\+\_\+\+PAGE\+\_\+\+SIZE}}, \mbox{\hyperlink{r92c__reg_8h_source_l00071}{R92\+C\+\_\+\+MCUFWDL}}, \mbox{\hyperlink{r92c__reg_8h_source_l00365}{R92\+C\+\_\+\+MCUFWDL\+\_\+\+CHKSUM\+\_\+\+RPT}}, \mbox{\hyperlink{r92c__reg_8h_source_l00370}{R92\+C\+\_\+\+MCUFWDL\+\_\+\+RAM\+\_\+\+DL\+\_\+\+SEL}}, \mbox{\hyperlink{r92c__reg_8h_source_l00364}{R92\+C\+\_\+\+MCUFWDL\+\_\+\+RDY}}, \mbox{\hyperlink{r92c__reg_8h_source_l00369}{R92\+C\+\_\+\+MCUFWDL\+\_\+\+WINTINI\+\_\+\+RDY}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00445}{rtwn\+\_\+delay}}, \mbox{\hyperlink{if__rtwn__debug_8h_source_l00057}{RTWN\+\_\+\+DPRINTF}}, \mbox{\hyperlink{if__rtwn__fw_8c_source_l00096}{rtwn\+\_\+fw\+\_\+checksum\+\_\+report()}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00501}{rtwn\+\_\+fw\+\_\+download\+\_\+enable}}, \mbox{\hyperlink{if__rtwn__fw_8c_source_l00058}{rtwn\+\_\+fw\+\_\+loadpage()}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00499}{rtwn\+\_\+fw\+\_\+reset}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00146}{RTWN\+\_\+\+FW\+\_\+\+RESET\+\_\+\+CHECKSUM}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00145}{RTWN\+\_\+\+FW\+\_\+\+RESET\+\_\+\+DOWNLOAD}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00407}{RTWN\+\_\+\+LOCK}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00439}{rtwn\+\_\+read\+\_\+1}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00443}{rtwn\+\_\+read\+\_\+4}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00595}{rtwn\+\_\+setbits\+\_\+1()}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00619}{rtwn\+\_\+setbits\+\_\+4()}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00408}{RTWN\+\_\+\+UNLOCK}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00433}{rtwn\+\_\+write\+\_\+1}}, \mbox{\hyperlink{if__rtwnvar_8h_source_l00173}{rtwn\+\_\+softc\+::sc\+\_\+dev}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00036}{r92c\+\_\+fw\+\_\+hdr\+::signature}}, \mbox{\hyperlink{if__rtwn__fw_8h_source_l00040}{r92c\+\_\+fw\+\_\+hdr\+::subversion}}, and \mbox{\hyperlink{if__rtwn__fw_8h_source_l00039}{r92c\+\_\+fw\+\_\+hdr\+::version}}.



Referenced by \mbox{\hyperlink{if__rtwn_8c_source_l01776}{rtwn\+\_\+init()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/df1/if__rtwn__fw_8c_a31dda48cf1dc3a0061587d493214a36d_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/df1/if__rtwn__fw_8c_a31dda48cf1dc3a0061587d493214a36d_icgraph}
\end{center}
\end{figure}
