1CFG80211_CONNECT_RES(9) Actions and configuration CFG80211_CONNECT_RES(9)
2
3
4
6 cfg80211_connect_result - notify cfg80211 of connection result
7
9 void cfg80211_connect_result(struct net_device * dev, const u8 * bssid,
10 const u8 * req_ie, size_t req_ie_len,
11 const u8 * resp_ie, size_t resp_ie_len,
12 u16 status, gfp_t gfp);
13
15 dev
16 network device
17
18 bssid
19 the BSSID of the AP
20
21 req_ie
22 association request IEs (maybe be NULL)
23
24 req_ie_len
25 association request IEs length
26
27 resp_ie
28 association response IEs (may be NULL)
29
30 resp_ie_len
31 assoc response IEs length
32
33 status
34 status code, WLAN_STATUS_SUCCESS for successful connection, use
35 WLAN_STATUS_UNSPECIFIED_FAILURE if your device cannot give you the
36 real status code for failures.
37
38 gfp
39 allocation flags
40
42 It should be called by the underlying driver once execution of the
43 connection request from connect has been completed. This is similar to
44 cfg80211_connect_bss which allows the exact bss entry to be specified.
45 Only one of the functions among cfg80211_connect_bss,
46 cfg80211_connect_result, cfg80211_connect_timeout, and
47 cfg80211_connect_done should be called.
48
50 Johannes Berg <johannes@sipsolutions.net>
51 Author.
52
54Kernel Hackers Manual 3.10 June 2019 CFG80211_CONNECT_RES(9)