wiphy_new(9)

wiphy_new9

Create a new wiphy for use with cfg80211

Usage

struct wiphy * wiphy_new(const struct cfg80211_ops * ops, int sizeof_priv);

Arguments

ops

The configuration operations for this device

sizeof_priv

The size of the private area to allocate

Overview

Create a new wiphy and associate the given operations with it. sizeof_priv bytes are allocated for private use.

Return

A pointer to the new wiphy. This pointer must be assigned to each netdev's ieee80211_ptr for proper operation.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

Author

Johannes Berg <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.