Coverage Report

Created: 2025-04-24 06:18

/src/hostap/src/ap/preauth_auth.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication
3
 * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
4
 *
5
 * This software may be distributed under the terms of the BSD license.
6
 * See README for more details.
7
 */
8
9
#ifndef PREAUTH_H
10
#define PREAUTH_H
11
12
#ifdef CONFIG_RSN_PREAUTH
13
14
int rsn_preauth_iface_init(struct hostapd_data *hapd);
15
void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
16
void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
17
        int success);
18
void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
19
          u8 *buf, size_t len);
20
void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
21
22
#else /* CONFIG_RSN_PREAUTH */
23
24
static inline int rsn_preauth_iface_init(struct hostapd_data *hapd)
25
0
{
26
0
  return 0;
27
0
}
Unexecuted instantiation: ieee802_1x.c:rsn_preauth_iface_init
Unexecuted instantiation: sta_info.c:rsn_preauth_iface_init
Unexecuted instantiation: wpa_auth_glue.c:rsn_preauth_iface_init
28
29
static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
30
0
{
31
0
}
Unexecuted instantiation: ieee802_1x.c:rsn_preauth_iface_deinit
Unexecuted instantiation: sta_info.c:rsn_preauth_iface_deinit
Unexecuted instantiation: wpa_auth_glue.c:rsn_preauth_iface_deinit
32
33
static inline void rsn_preauth_finished(struct hostapd_data *hapd,
34
          struct sta_info *sta,
35
          int success)
36
0
{
37
0
}
Unexecuted instantiation: ieee802_1x.c:rsn_preauth_finished
Unexecuted instantiation: sta_info.c:rsn_preauth_finished
Unexecuted instantiation: wpa_auth_glue.c:rsn_preauth_finished
38
39
static inline void rsn_preauth_send(struct hostapd_data *hapd,
40
            struct sta_info *sta,
41
            u8 *buf, size_t len)
42
0
{
43
0
}
Unexecuted instantiation: ieee802_1x.c:rsn_preauth_send
Unexecuted instantiation: sta_info.c:rsn_preauth_send
Unexecuted instantiation: wpa_auth_glue.c:rsn_preauth_send
44
45
static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
46
              struct sta_info *sta)
47
2.19k
{
48
2.19k
}
Unexecuted instantiation: ieee802_1x.c:rsn_preauth_free_station
sta_info.c:rsn_preauth_free_station
Line
Count
Source
47
2.19k
{
48
2.19k
}
Unexecuted instantiation: wpa_auth_glue.c:rsn_preauth_free_station
49
50
#endif /* CONFIG_RSN_PREAUTH */
51
52
#endif /* PREAUTH_H */