mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-16 17:09:24 +01:00
knownnetworks: add get_vendor_ies operation
This will provide the hotspot module with enough info for it to build the required vendor IEs to be provided with (Re)Association.
This commit is contained in:
parent
689fd7b92b
commit
bff0740829
@ -212,6 +212,16 @@ const char *network_info_get_type(const struct network_info *info)
|
|||||||
return info->ops->get_type(info);
|
return info->ops->get_type(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const struct iovec *network_info_get_extra_ies(const struct network_info *info,
|
||||||
|
struct scan_bss *bss,
|
||||||
|
size_t *num_elems)
|
||||||
|
{
|
||||||
|
if (!info->ops->get_extra_ies)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
return info->ops->get_extra_ies(info, bss, num_elems);
|
||||||
|
}
|
||||||
|
|
||||||
bool network_info_match_hessid(const struct network_info *info,
|
bool network_info_match_hessid(const struct network_info *info,
|
||||||
const uint8_t *hessid)
|
const uint8_t *hessid)
|
||||||
{
|
{
|
||||||
|
@ -38,6 +38,9 @@ struct network_info_ops {
|
|||||||
const char *(*get_path)(const struct network_info *info);
|
const char *(*get_path)(const struct network_info *info);
|
||||||
const char *(*get_name)(const struct network_info *info);
|
const char *(*get_name)(const struct network_info *info);
|
||||||
const char *(*get_type)(const struct network_info *info);
|
const char *(*get_type)(const struct network_info *info);
|
||||||
|
const struct iovec *(*get_extra_ies)(const struct network_info *info,
|
||||||
|
struct scan_bss *bss,
|
||||||
|
size_t *num_elems);
|
||||||
|
|
||||||
bool (*match_hessid)(const struct network_info *info,
|
bool (*match_hessid)(const struct network_info *info,
|
||||||
const uint8_t *hessid);
|
const uint8_t *hessid);
|
||||||
@ -95,6 +98,9 @@ int network_info_touch(struct network_info *info);
|
|||||||
const char *network_info_get_path(const struct network_info *info);
|
const char *network_info_get_path(const struct network_info *info);
|
||||||
const char *network_info_get_name(const struct network_info *info);
|
const char *network_info_get_name(const struct network_info *info);
|
||||||
const char *network_info_get_type(const struct network_info *info);
|
const char *network_info_get_type(const struct network_info *info);
|
||||||
|
const struct iovec *network_info_get_extra_ies(const struct network_info *info,
|
||||||
|
struct scan_bss *bss,
|
||||||
|
size_t *num_elems);
|
||||||
|
|
||||||
bool network_info_match_hessid(const struct network_info *info,
|
bool network_info_match_hessid(const struct network_info *info,
|
||||||
const uint8_t *hessid);
|
const uint8_t *hessid);
|
||||||
|
Loading…
Reference in New Issue
Block a user