mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-12 20:28:20 +00:00
wifi_drv: enable soft RFKILL and new front end
* TODO
This commit is contained in:
committed by
Christian Helmuth
parent
4a47b7cb41
commit
ec9e8ecfaa
45
repos/dde_linux/include/wifi/ctrl.h
Normal file
45
repos/dde_linux/include/wifi/ctrl.h
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* \brief Wpa_supplicant CTRL interface
|
||||
* \author Josef Soentgen
|
||||
* \date 2018-07-31
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2018 Genode Labs GmbH
|
||||
*
|
||||
* This file is distributed under the terms of the GNU General Public License
|
||||
* version 2.
|
||||
*/
|
||||
|
||||
#ifndef _WIFI__CTRL_H_
|
||||
#define _WIFI__CTRL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define WPA_CTRL_FD 51
|
||||
|
||||
struct Msg_buffer
|
||||
{
|
||||
unsigned char recv[4096];
|
||||
unsigned char send[1024];
|
||||
unsigned recv_id;
|
||||
unsigned send_id;
|
||||
unsigned char event[1024];
|
||||
unsigned event_id;
|
||||
} __attribute__((packed));
|
||||
|
||||
|
||||
void wpa_ctrl_set_fd(void);
|
||||
|
||||
void *wifi_get_buffer(void);
|
||||
void wifi_notify_cmd_result(void);
|
||||
void wifi_notify_event(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _WIFI__CTRL_H_ */
|
Reference in New Issue
Block a user