---
name: "wimax_dev_add"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/wimax_dev_add"
---

# wimax\_dev\_add(9)

Register a new WiMAX device

## NAME

wimax\_dev\_add - Register a new WiMAX device

## SYNOPSIS

**int wimax\_dev\_add(struct wimax\_dev \*** *wimax\_dev***, struct net\_device \*** *net\_dev***);**

## ARGUMENTS

*wimax\_dev*

WiMAX device descriptor (as embedded in your *net\_dev*'s priv data). You must have called **wimax\_dev\_init** on it before.

*net\_dev*

net device the *wimax\_dev* is associated with. The function expects **SET\_NETDEV\_DEV** and **register\_netdev** were already called on it.

## DESCRIPTION

Registers the new WiMAX device, sets up the user-kernel control interface (generic netlink) and common WiMAX infrastructure.

Note that the parts that will allow interaction with user space are setup at the very end, when the rest is in place, as once that happens, the driver might get user space control requests via netlink or from debugfs that might translate into calls into wimax\_dev-\>op\_\*().

## COPYRIGHT
