1 1.1.1.1.14.2 snj /* 2 1.1.1.1.14.2 snj * IEEE 802.1X-2010 KaY Interface 3 1.1.1.1.14.2 snj * Copyright (c) 2013-2014, Qualcomm Atheros, Inc. 4 1.1.1.1.14.2 snj * 5 1.1.1.1.14.2 snj * This software may be distributed under the terms of the BSD license. 6 1.1.1.1.14.2 snj * See README for more details. 7 1.1.1.1.14.2 snj */ 8 1.1.1.1.14.2 snj 9 1.1.1.1.14.2 snj #ifndef WPAS_KAY_H 10 1.1.1.1.14.2 snj #define WPAS_KAY_H 11 1.1.1.1.14.2 snj 12 1.1.1.1.14.2 snj #ifdef CONFIG_MACSEC 13 1.1.1.1.14.2 snj 14 1.1.1.1.14.2 snj int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s, 15 1.1.1.1.14.2 snj struct wpa_ssid *ssid); 16 1.1.1.1.14.2 snj void * ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s, 17 1.1.1.1.14.2 snj const u8 *peer_addr); 18 1.1.1.1.14.2 snj void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s); 19 1.1.1.1.14.2 snj 20 1.1.1.1.14.2 snj #else /* CONFIG_MACSEC */ 21 1.1.1.1.14.2 snj 22 1.1.1.1.14.2 snj static inline int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s, 23 1.1.1.1.14.2 snj struct wpa_ssid *ssid) 24 1.1.1.1.14.2 snj { 25 1.1.1.1.14.2 snj return 0; 26 1.1.1.1.14.2 snj } 27 1.1.1.1.14.2 snj 28 1.1.1.1.14.2 snj static inline void * 29 1.1.1.1.14.2 snj ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s, 30 1.1.1.1.14.2 snj const u8 *peer_addr) 31 1.1.1.1.14.2 snj { 32 1.1.1.1.14.2 snj return NULL; 33 1.1.1.1.14.2 snj } 34 1.1.1.1.14.2 snj 35 1.1.1.1.14.2 snj static inline void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s) 36 1.1.1.1.14.2 snj { 37 1.1.1.1.14.2 snj } 38 1.1.1.1.14.2 snj 39 1.1.1.1.14.2 snj #endif /* CONFIG_MACSEC */ 40 1.1.1.1.14.2 snj 41 1.1.1.1.14.2 snj #endif /* WPAS_KAY_H */ 42