2 * wpa_supplicant - IBSS RSN
3 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
20 struct ibss_rsn_peer
{
21 struct ibss_rsn_peer
*next
;
22 struct ibss_rsn
*ibss_rsn
;
27 enum wpa_states supp_state
;
31 struct wpa_state_machine
*auth
;
35 struct wpa_supplicant
*wpa_s
;
36 struct wpa_authenticator
*auth_group
;
37 struct ibss_rsn_peer
*peers
;
42 struct ibss_rsn
* ibss_rsn_init(struct wpa_supplicant
*wpa_s
);
43 void ibss_rsn_deinit(struct ibss_rsn
*ibss_rsn
);
44 int ibss_rsn_start(struct ibss_rsn
*ibss_rsn
, const u8
*addr
);
45 int ibss_rsn_rx_eapol(struct ibss_rsn
*ibss_rsn
, const u8
*src_addr
,
46 const u8
*buf
, size_t len
);
47 void ibss_rsn_set_psk(struct ibss_rsn
*ibss_rsn
, const u8
*psk
);
49 #endif /* IBSS_RSN_H */