mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
wiphy: add getter for 'supports_cmds_auth_assoc'
This commit is contained in:
parent
e7c7e7de41
commit
af3d0d21a0
@ -404,6 +404,11 @@ bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wiphy_supports_cmds_auth_assoc(struct wiphy *wiphy)
|
||||||
|
{
|
||||||
|
return wiphy->support_cmds_auth_assoc;
|
||||||
|
}
|
||||||
|
|
||||||
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature)
|
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature)
|
||||||
{
|
{
|
||||||
return wiphy->feature_flags & feature;
|
return wiphy->feature_flags & feature;
|
||||||
|
@ -79,6 +79,7 @@ uint32_t wiphy_get_supported_bands(struct wiphy *wiphy);
|
|||||||
const struct scan_freq_set *wiphy_get_supported_freqs(
|
const struct scan_freq_set *wiphy_get_supported_freqs(
|
||||||
const struct wiphy *wiphy);
|
const struct wiphy *wiphy);
|
||||||
bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss);
|
bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss);
|
||||||
|
bool wiphy_supports_cmds_auth_assoc(struct wiphy *wiphy);
|
||||||
bool wiphy_can_randomize_mac_addr(struct wiphy *wiphy);
|
bool wiphy_can_randomize_mac_addr(struct wiphy *wiphy);
|
||||||
bool wiphy_rrm_capable(struct wiphy *wiphy);
|
bool wiphy_rrm_capable(struct wiphy *wiphy);
|
||||||
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature);
|
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature);
|
||||||
|
Loading…
Reference in New Issue
Block a user