Exploit database

GH-25fc1985744fec336f986521e61a3fb7

chertogun/cve-2020-27301-hostapd

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-27301

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files103
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/ap/p2p_hostapd.h

Text · 888 bytes
/*
 * hostapd / P2P integration
 * Copyright (c) 2009-2010, Atheros Communications
 *
 * This software may be distributed under the terms of the BSD license.
 * See README for more details.
 */

#ifndef P2P_HOSTAPD_H
#define P2P_HOSTAPD_H

#ifdef CONFIG_P2P

int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
			    char *buf, size_t buflen);
int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
			int duration);
void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd);
void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd);


#else /* CONFIG_P2P */

static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd,
					  struct sta_info *sta,
					  char *buf, size_t buflen)
{
	return 0;
}

#endif /* CONFIG_P2P */

u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);

#endif /* P2P_HOSTAPD_H */