eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 8f09a0c9370575a760e5714ec0634b8fdd77fde6
parent 9f52036b8548a5a6874a5c91cddb117b5eb3227c
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Wed, 27 Feb 2019 16:44:17 -0800

wiphy: Add accessor for supported frequencies

Diffstat:
Msrc/wiphy.c | 6++++++
Msrc/wiphy.h | 2++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/wiphy.c b/src/wiphy.c @@ -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; diff --git a/src/wiphy.h b/src/wiphy.h @@ -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);