1WIPHY_NEW(9) Device registration WIPHY_NEW(9)
2
3
4
6 wiphy_new - create a new wiphy for use with cfg80211
7
9 struct wiphy * wiphy_new(const struct cfg80211_ops * ops,
10 int sizeof_priv);
11
13 ops
14 The configuration operations for this device
15
16 sizeof_priv
17 The size of the private area to allocate
18
20 Create a new wiphy and associate the given operations with it.
21 sizeof_priv bytes are allocated for private use.
22
24 A pointer to the new wiphy. This pointer must be assigned to each
25 netdev's ieee80211_ptr for proper operation.
26
28 Johannes Berg <johannes@sipsolutions.net>
29 Author.
30
32Kernel Hackers Manual 3.10 June 2019 WIPHY_NEW(9)