/*
 * \brief  Wpa_supplicant thread of the wifi driver
 * \author Josef Soentgen
 * \date   2014-03-03
 */

/*
 * Copyright (C) 2014-2017 Genode Labs GmbH
 *
 * This file is distributed under the terms of the GNU General Public License
 * version 2 or later.
 */

#ifndef _WIFI__WPA_H_
#define _WIFI__WPA_H_


namespace Genode {
	struct Env;
	struct Blockade;
}

class Wpa_thread
{
	private:

		Genode::Blockade &_blockade;
		int               _exit;

		static void * _entry_trampoline(void *arg);

		void _entry();

	public:

		Wpa_thread(Genode::Env &, Genode::Blockade &);
};

#endif /* _WIFI__WPA_H_ */
