c37e743e73842471cd3633d80016822ed1898ccc
2 * wpa_supplicant / ubus support
3 * Copyright (c) 2018, Daniel Golle <daniel@makrotopia.org>
4 * Copyright (c) 2013, Felix Fietkau <nbd@nbd.name>
6 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
12 struct wpa_supplicant
;
13 #include "wps_supplicant.h"
18 struct wpas_ubus_bss
{
19 struct ubus_object obj
;
22 void wpas_ubus_add_bss(struct wpa_supplicant
*wpa_s
);
23 void wpas_ubus_free_bss(struct wpa_supplicant
*wpa_s
);
26 void wpas_ubus_notify(struct wpa_supplicant
*wpa_s
, const struct wps_credential
*cred
);
30 struct wpas_ubus_bss
{};
32 static inline void wpas_ubus_add_iface(struct wpa_supplicant
*wpa_s
)
36 static inline void wpas_ubus_free_iface(struct wpa_supplicant
*wpa_s
)
40 static inline void wpas_ubus_add_bss(struct wpa_supplicant
*wpa_s
)
44 static inline void wpas_ubus_free_bss(struct wpa_supplicant
*wpa_s
)
48 static inline void wpas_ubus_notify(struct wpa_supplicant
*wpa_s
, struct wps_credential
*cred
)