mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
wiphy: Add accessor for supported frequencies
This commit is contained in:
parent
9f52036b85
commit
8f09a0c937
@ -235,6 +235,12 @@ uint32_t wiphy_get_supported_bands(struct wiphy *wiphy)
|
||||
return scan_freq_set_get_bands(wiphy->supported_freqs);
|
||||
}
|
||||
|
||||
const struct scan_freq_set *wiphy_get_supported_freqs(
|
||||
const struct wiphy *wiphy)
|
||||
{
|
||||
return wiphy->supported_freqs;
|
||||
}
|
||||
|
||||
bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss)
|
||||
{
|
||||
struct ie_rsn_info rsn_info;
|
||||
|
@ -45,6 +45,8 @@ struct wiphy *wiphy_find(int wiphy_id);
|
||||
|
||||
const char *wiphy_get_path(struct wiphy *wiphy);
|
||||
uint32_t wiphy_get_supported_bands(struct wiphy *wiphy);
|
||||
const struct scan_freq_set *wiphy_get_supported_freqs(
|
||||
const struct wiphy *wiphy);
|
||||
bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss);
|
||||
bool wiphy_can_randomize_mac_addr(struct wiphy *wiphy);
|
||||
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature);
|
||||
|
Loading…
Reference in New Issue
Block a user