mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
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.
This commit is contained in:
parent
aa7845ca98
commit
289b8826bf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user