~ubuntu-branches/ubuntu/saucy/wpasupplicant/saucy

« back to all changes in this revision

Viewing changes to src/rsn_supp/preauth.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * wpa_supplicant - WPA2/RSN pre-authentication functions
3
 
 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
 
3
 * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
6
6
 * it under the terms of the GNU General Public License version 2 as
23
23
int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
24
24
                     struct eap_peer_config *eap_conf);
25
25
void rsn_preauth_deinit(struct wpa_sm *sm);
26
 
void rsn_preauth_scan_results(struct wpa_sm *sm,
27
 
                              struct wpa_scan_results *results);
 
26
int rsn_preauth_scan_results(struct wpa_sm *sm);
 
27
void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
 
28
                             const u8 *ssid, const u8 *rsn);
28
29
void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
29
30
                         int prio, int preauth);
30
31
void rsn_preauth_candidate_process(struct wpa_sm *sm);
51
52
static inline void rsn_preauth_deinit(struct wpa_sm *sm)
52
53
{
53
54
}
54
 
static inline void rsn_preauth_scan_results(struct wpa_sm *sm,
55
 
                                            struct wpa_scan_results *results)
 
55
 
 
56
static inline int rsn_preauth_scan_results(struct wpa_sm *sm)
 
57
{
 
58
        return -1;
 
59
}
 
60
 
 
61
static inline void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
 
62
                                           const u8 *ssid, const u8 *rsn)
56
63
{
57
64
}
58
65