Commit d3ccc659 authored by Felix Fietkau's avatar Felix Fietkau Committed by Treehugger Robot
Browse files

UPSTREAM: wifi: cfg80211: add option for vif allowed radios



This allows users to prevent a vif from affecting radios other than the
configured ones. This can be useful in cases where e.g. an AP is running
on one radio, and triggering a scan on another radio should not disturb it.

Changing the allowed radios list for a vif is supported, but only while
it is down.

While it is possible to achieve the same by always explicitly specifying
a frequency list for scan requests and ensuring that the wrong channel/band
is never accidentally set on an unrelated interface, this change makes
multi-radio wiphy setups a lot easier to deal with for CLI users.

By itself, this patch only enforces the radio mask for scanning requests
and remain-on-channel. Follow-up changes build on this to limit configured
frequencies.

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/eefcb218780f71a1549875d149f1196486762756.1728462320.git-series.nbd@nbd.name


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 395802076
Change-Id: I0f9868264710a2ccf14582a4a209e762204cc7ea
(cherry picked from commit 3607798a)
Signed-off-by: default avatarKavita Kavita <quic_kkavita@quicinc.com>
parent 5445e42a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment