1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef WPAS_KAY_H
- #define WPAS_KAY_H
- #ifdef CONFIG_MACSEC
- int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
- struct wpa_ssid *ssid);
- void * ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s,
- const u8 *peer_addr);
- void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s);
- #else
- static inline int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
- struct wpa_ssid *ssid)
- {
- return 0;
- }
- static inline void *
- ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s,
- const u8 *peer_addr)
- {
- return NULL;
- }
- static inline void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s)
- {
- }
- #endif
- #endif
|