2014-10-30 00:26:49 -05:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* Wireless daemon for Linux
|
|
|
|
*
|
2019-10-25 00:43:08 +02:00
|
|
|
* Copyright (C) 2013-2019 Intel Corporation. All rights reserved.
|
2014-10-30 00:26:49 -05:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-03-06 11:16:26 -08:00
|
|
|
/*
|
|
|
|
* Set a maximum to prevent sending too much data to the kernel when hashing
|
|
|
|
* the password (or any other crypto operations involving the password).
|
|
|
|
* This value is not tied to IEEE or any RFC's, just chosen to be long enough
|
|
|
|
*/
|
|
|
|
#define IWD_MAX_PASSWORD_LEN 2048
|
|
|
|
|
2019-05-17 17:05:52 -05:00
|
|
|
struct l_genl;
|
2018-08-17 23:23:19 -05:00
|
|
|
struct l_genl_family;
|
2016-11-02 13:25:10 -07:00
|
|
|
|
|
|
|
const struct l_settings *iwd_get_config(void);
|
2019-05-17 17:05:52 -05:00
|
|
|
struct l_genl *iwd_get_genl(void);
|
2020-04-08 12:27:49 -05:00
|
|
|
struct l_netlink *iwd_get_rtnl(void);
|
2017-05-03 19:53:51 +02:00
|
|
|
|
2018-08-17 23:23:19 -05:00
|
|
|
void netdev_shutdown(void);
|
|
|
|
|
2019-10-11 12:29:26 -07:00
|
|
|
const char *iwd_get_iface_whitelist(void);
|
|
|
|
const char *iwd_get_iface_blacklist(void);
|
|
|
|
|
2019-10-11 12:29:28 -07:00
|
|
|
const char *iwd_get_phy_whitelist(void);
|
|
|
|
const char *iwd_get_phy_blacklist(void);
|
2021-05-05 11:23:53 -07:00
|
|
|
bool iwd_is_developer_mode(void);
|