mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-05 12:52:37 +01:00
50acc11f07
This is a replacement for station's static select_akm_suite. This was done because wiphy can make a much more intellegent decision about the akm suite by checking the wiphy supported features e.g. SAE support. This allows a connection to hybrid WPA2/WPA3 AP's if SAE is not supported in the kernel.
48 lines
1.7 KiB
C
48 lines
1.7 KiB
C
/*
|
|
*
|
|
* Wireless daemon for Linux
|
|
*
|
|
* Copyright (C) 2013-2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
struct wiphy;
|
|
struct scan_bss;
|
|
|
|
enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy,
|
|
uint16_t mask);
|
|
enum ie_rsn_akm_suite wiphy_select_akm(struct wiphy *wiphy,
|
|
struct scan_bss *bss);
|
|
|
|
struct wiphy *wiphy_find(int wiphy_id);
|
|
|
|
const char *wiphy_get_path(struct wiphy *wiphy);
|
|
uint32_t wiphy_get_supported_bands(struct wiphy *wiphy);
|
|
bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss);
|
|
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature);
|
|
bool wiphy_has_ext_feature(struct wiphy *wiphy, uint32_t feature);
|
|
uint8_t wiphy_get_max_num_ssids_per_scan(struct wiphy *wiphy);
|
|
bool wiphy_supports_iftype(struct wiphy *wiphy, uint32_t iftype);
|
|
bool wiphy_supports_adhoc_rsn(struct wiphy *wiphy);
|
|
|
|
bool wiphy_init(struct l_genl_family *in, const char *whitelist,
|
|
const char *blacklist);
|
|
bool wiphy_exit(void);
|