eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit b2bfd5837817d4bf20e02eb1fa17df010d28e988
parent bff074082994970156d5bf70c10951cf68a111ee
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon,  9 Sep 2019 09:49:09 -0700

network: add network_get_vendor_ies

This is to encapsulate any vendor IE building required for certain
network types. Currently only hotspot requries this.

Diffstat:
Msrc/network.c | 8++++++++
Msrc/network.h | 3+++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/network.c b/src/network.c @@ -1158,6 +1158,14 @@ void network_blacklist_add(struct network *network, struct scan_bss *bss) l_queue_push_head(network->blacklist, bss); } +const struct iovec *network_get_extra_ies(struct network *network, + size_t *num_elems) +{ + struct scan_bss *bss = network_bss_select(network, false); + + return network_info_get_extra_ies(network->info, bss, num_elems); +} + static bool network_property_get_name(struct l_dbus *dbus, struct l_dbus_message *message, struct l_dbus_message_builder *builder, diff --git a/src/network.h b/src/network.h @@ -72,3 +72,6 @@ void network_connect_new_hidden_network(struct network *network, struct l_dbus_message *message); void network_blacklist_add(struct network *network, struct scan_bss *bss); + +const struct iovec *network_get_extra_ies(struct network *network, + size_t *num_elems);