3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 18:59:22 +01:00

network: add network_get_vendor_ies

This is to encapsulate any vendor IE building required for certain
network types. Currently only hotspot requries this.
This commit is contained in:
James Prestwood 2019-09-09 09:49:09 -07:00 committed by Denis Kenzior
parent bff0740829
commit b2bfd58378
2 changed files with 11 additions and 0 deletions

View File

@ -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,

View File

@ -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);