---
name: "ieee80211_register_hw"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ieee80211_register_hw"
---

# ieee80211\_register\_hw(9)

Register hardware device

## NAME

ieee80211\_register\_hw - Register hardware device

## SYNOPSIS

**int ieee80211\_register\_hw(struct ieee80211\_hw \*** *hw***);**

## ARGUMENTS

*hw*

the device to register as returned by **ieee80211\_alloc\_hw**

## DESCRIPTION

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's information.

## RETURN

0 on success. An error code otherwise.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
