wifi: add block scan list to a device section of key file.
Summary
This commit extends the configuration file, adds a possibility to specify device list for which a scan is unnecessary.
Purpose
On system startup (not all wireless devices are configured) NM starts periodic scans on all of interfaces. It creates a load on the dbus and NM, some services are failing with timeout because of it. Usually, it happens when a system has several virtual interfaces on one physical chip - wpa_supplicant sends scan results to all siblings. For example, if the system has 3 virtual interfaces, NM starts 3 scans and receives 3 scan results on each. So NM receives 9 scan results (mainly with the same APs since all scans are done on one chip).
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable -
the NEWS file is updated when the change deserves to be mentioned, for example for new features, behavior changes, API deprecations, etc.