CFG80211_CONNECT_RES(9) | Actions and configuration | CFG80211_CONNECT_RES(9) |
NAME¶
cfg80211_connect_result - notify cfg80211 of connection result
SYNOPSIS¶
void cfg80211_connect_result(struct net_device * dev, const u8 * bssid, const u8 * req_ie, size_t req_ie_len, const u8 * resp_ie, size_t resp_ie_len, u16 status, gfp_t gfp);
ARGUMENTS¶
dev
network device
bssid
the BSSID of the AP
req_ie
association request IEs (maybe be NULL)
req_ie_len
association request IEs length
resp_ie
association response IEs (may be NULL)
resp_ie_len
assoc response IEs length
status
status code, WLAN_STATUS_SUCCESS for successful
connection, use WLAN_STATUS_UNSPECIFIED_FAILURE if your device cannot
give you the real status code for failures.
gfp
allocation flags
DESCRIPTION¶
It should be called by the underlying driver once execution of the connection request from connect has been completed. This is similar to cfg80211_connect_bss which allows the exact bss entry to be specified. Only one of the functions among cfg80211_connect_bss, cfg80211_connect_result, cfg80211_connect_timeout, and cfg80211_connect_done should be called.
AUTHOR¶
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |