HS 2.0R2: Add common OSEN definitions
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
230e373539
commit
a5d75636f9
10 changed files with 31 additions and 1 deletions
|
@ -56,6 +56,11 @@ int wpa_eapol_key_mic(const u8 *key, int ver, const u8 *buf, size_t len,
|
|||
case WPA_KEY_INFO_TYPE_AES_128_CMAC:
|
||||
return omac1_aes_128(key, buf, len, mic);
|
||||
#endif /* CONFIG_IEEE80211R || CONFIG_IEEE80211W */
|
||||
#ifdef CONFIG_HS20
|
||||
case WPA_KEY_INFO_TYPE_AKM_DEFINED:
|
||||
/* FIX: This should be based on negotiated AKM */
|
||||
return omac1_aes_128(key, buf, len, mic);
|
||||
#endif /* CONFIG_HS20 */
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue