---
name: "wiphy_new"
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/wiphy_new"
---

# wiphy\_new(9)

create a new wiphy for use with cfg80211

## NAME

wiphy\_new - create a new wiphy for use with cfg80211

## SYNOPSIS

**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

## DESCRIPTION

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.

## AUTHOR

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

Author.

## COPYRIGHT
