20 #ifndef _IPXE_SEC80211_H 21 #define _IPXE_SEC80211_H 41 int *is_rsn,
u8 **
end );
45 const void *
key,
int len,
const void *
rsc );
FILE_LICENCE(GPL2_OR_LATER)
int sec80211_install(struct net80211_crypto **which, enum net80211_crypto_alg crypt, const void *key, int len, const void *rsc)
Install 802.11 cryptosystem.
int sec80211_detect_ie(int is_rsn, u8 *start, u8 *end, enum net80211_security_proto *secprot, enum net80211_crypto_alg *crypt)
Detect crypto and AKM types from RSN information element.
uint64_t desc
Microcode descriptor list physical address.
net80211_security_proto
An 802.11 security handshaking protocol.
int sec80211_detect(struct io_buffer *iob, enum net80211_security_proto *secprot, enum net80211_crypto_alg *crypt)
Detect the cryptosystem and handshaking protocol used by an 802.11 network.
uint32_t start
Starting offset.
enum net80211_crypto_alg sec80211_rsn_get_net80211_crypt(u32 desc)
Determine net80211 cryptosystem number from RSN descriptor.
u8 rsc[8]
Receive sequence counter for GTK.
u8 * sec80211_find_rsn(union ieee80211_ie *ie, void *ie_end, int *is_rsn, u8 **end)
Find the RSN or WPA information element in the provided beacon frame.
The iPXE 802.11 MAC layer.
Any 802.11 information element.
net80211_crypto_alg
An 802.11 data encryption algorithm.
uint32_t end
Ending offset.
Interface to an 802.11 cryptosystem.
u32 sec80211_rsn_get_crypto_desc(enum net80211_crypto_alg crypt, int rsnie)
Determine RSN descriptor for specified net80211 cryptosystem number.
u32 sec80211_rsn_get_akm_desc(enum net80211_security_proto secprot, int rsnie)
Determine RSN descriptor for specified net80211 handshaker number.