mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
knownnetworks: move network_info into knownnetworks
This commit is contained in:
parent
1921990acd
commit
5caf8796cd
@ -21,7 +21,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
enum security;
|
enum security;
|
||||||
struct network_info;
|
|
||||||
struct scan_freq_set;
|
struct scan_freq_set;
|
||||||
|
|
||||||
enum known_networks_event {
|
enum known_networks_event {
|
||||||
@ -29,6 +28,16 @@ enum known_networks_event {
|
|||||||
KNOWN_NETWORKS_EVENT_REMOVED,
|
KNOWN_NETWORKS_EVENT_REMOVED,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct network_info {
|
||||||
|
char ssid[33];
|
||||||
|
enum security type;
|
||||||
|
struct l_queue *known_frequencies;
|
||||||
|
struct timespec connected_time; /* Time last connected */
|
||||||
|
int seen_count; /* Ref count for network.info */
|
||||||
|
bool is_hidden:1;
|
||||||
|
bool is_autoconnectable:1;
|
||||||
|
};
|
||||||
|
|
||||||
typedef bool (*known_networks_foreach_func_t)(const struct network_info *info,
|
typedef bool (*known_networks_foreach_func_t)(const struct network_info *info,
|
||||||
void *user_data);
|
void *user_data);
|
||||||
|
|
||||||
|
@ -75,13 +75,3 @@ 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);
|
||||||
|
|
||||||
struct network_info {
|
|
||||||
char ssid[33];
|
|
||||||
enum security type;
|
|
||||||
struct l_queue *known_frequencies;
|
|
||||||
struct timespec connected_time; /* Time last connected */
|
|
||||||
int seen_count; /* Ref count for network.info */
|
|
||||||
bool is_hidden:1;
|
|
||||||
bool is_autoconnectable:1;
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user