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:
parent
bff0740829
commit
b2bfd58378
@ -1158,6 +1158,14 @@ void network_blacklist_add(struct network *network, struct scan_bss *bss)
|
|||||||
l_queue_push_head(network->blacklist, 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,
|
static bool network_property_get_name(struct l_dbus *dbus,
|
||||||
struct l_dbus_message *message,
|
struct l_dbus_message *message,
|
||||||
struct l_dbus_message_builder *builder,
|
struct l_dbus_message_builder *builder,
|
||||||
|
@ -72,3 +72,6 @@ void network_connect_new_hidden_network(struct network *network,
|
|||||||
struct l_dbus_message *message);
|
struct l_dbus_message *message);
|
||||||
|
|
||||||
void network_blacklist_add(struct network *network, struct scan_bss *bss);
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user