'\" t .\" Title: ieee80211_register_hw .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The basic mac80211 driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_REGISTER_H" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The basic mac80211 driver inte" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_register_hw \- Register hardware device .SH "SYNOPSIS" .HP \w'int\ ieee80211_register_hw('u .BI "int ieee80211_register_hw(struct\ ieee80211_hw\ *\ " "hw" ");" .SH "ARGUMENTS" .PP \fIhw\fR .RS 4 the device to register as returned by \fBieee80211_alloc_hw\fR .RE .SH "DESCRIPTION" .PP .PP You must call this function before any other functions in mac80211\&. Note that before a hardware can be registered, you need to fill the contained wiphy\*(Aqs information\&. .SH "RETURN" .PP 0 on success\&. An error code otherwise\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br