1IEEE80211_ALLOC_HW(9)   The basic mac80211 driver inte   IEEE80211_ALLOC_HW(9)
2
3
4

NAME

6       ieee80211_alloc_hw - Allocate a new hardware device
7

SYNOPSIS

9       struct ieee80211_hw * ieee80211_alloc_hw(size_t priv_data_len,
10                                                const struct ieee80211_ops * ops);
11

ARGUMENTS

13       priv_data_len
14           length of private data
15
16       ops
17           callbacks for this device
18

DESCRIPTION

20       This must be called once for each hardware device. The returned pointer
21       must be used to refer to this device when calling other functions.
22       mac80211 allocates a private data area for the driver pointed to by
23       priv in struct ieee80211_hw, the size of this area is given as
24       priv_data_len.
25

RETURN

27       A pointer to the new hardware device, or NULL on error.
28

AUTHOR

30       Johannes Berg <johannes@sipsolutions.net>
31           Author.
32
34Kernel Hackers Manual 2.6.         June 2019             IEEE80211_ALLOC_HW(9)
Impressum