eiwd

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

commit 289b8826bf8d44401ea284e1af9ac349105c9970
parent aa7845ca98d3b5d1116f8d495c7f629298c9e90a
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Thu,  5 Aug 2021 15:49:46 -0500

netdev: Always send RM Enabled Capabilities

If the driver supports RRM, then we might as well always send the RM
Enabled Capabilities IE (and use the USE_RRM flag).  802.11-2020
suggests that this IE can be sent whenever
dot11RadioMeasurementActivated is true, and this setting is independent
of whether the peer supports RRM.  There's nothing to indicate that an
STA should not send these IEs if the AP is not RRM enabled.

Diffstat:
Msrc/netdev.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c @@ -2914,7 +2914,7 @@ static struct l_genl_msg *netdev_build_cmd_connect(struct netdev *netdev, rm_enabled_capabilities = wiphy_get_rm_enabled_capabilities(netdev->wiphy); - if (rm_enabled_capabilities && bss->capability & IE_BSS_CAP_RM) { + if (rm_enabled_capabilities) { iov[iov_elems].iov_base = (void *) rm_enabled_capabilities; iov[iov_elems].iov_len = rm_enabled_capabilities[1] + 2; iov_elems += 1;