Create iwlwifi-mvm-firmware subpackage and fold some subpackages into it
The remaining splitted iwl*-firmware packages does not follow a logical
pattern. We have firmware for iwl 7xxx/8xxx/9xxx devices provided by
iwl7260-firmware, which for some devices mean a somewhat misleading
package name. Then, a single set of firmware for 3160/3168 devices
are provided in the iwl3160-firmware package. And the remaining firmware
is provided through iwlax2xx-firmware.
Looking at the iwlwifi source in linux, we have this at iwlwifi/Makefile:
iwlwifi-$(CONFIG_IWLMVM) += cfg/7000.o cfg/8000.o cfg/9000.o cfg/22000.o
Where the driver seems to group devices which uses the called MVM
firmware under a single umbrella. Some of these devices are:
cfg/7000
iwlwifi-3160-*.ucode - Intel(R) Dual Band Wireless AC 3160
Intel(R) Dual Band Wireless N 3160
Intel(R) Wireless N 3160
iwlwifi-3168-*.ucode - Intel(R) Dual Band Wireless AC 3168
iwlwifi-7260-*.ucode - Intel(R) Dual Band Wireless AC/N 7260
Intel(R) Wireless N 7260
iwlwifi-7265-*.ucode - Intel(R) Dual Band Wireless AC/N 7265
Intel(R) Wireless N 7265
iwlwifi-7265D-*.ucode - Intel(R) Dual Band Wireless AC 3165
Intel(R) Dual Band Wireless AC/N 7265
Intel(R) Wireless N 7265
cfg/8000
iwlwifi-8000C-*.ucode - Intel(R) Dual Band Wireless N/AC 8260
Intel(R) Dual Band Wireless AC 4165
iwlwifi-8265-*.ucode - Intel(R) Dual Band Wireless AC 8265
Intel(R) Dual Band Wireless AC 8275
cfg/9000
iwlwifi-9000-*.ucode - Killer(R) Wireless-AC 1550s/1550i Wireless Network Adapter (9560NGW)
Killer(R) Wireless-AC 1550s Wireless Network Adapter (9560D2W) 160MHz
Killer(R) Wireless-AC 1550i Wireless Network Adapter (9560NGW) 160MHz
Intel(R) Wireless-AC 9461/9462/9560 160MHz
Intel(R) Wireless-AC 9461/9462/9560
iwlwifi-9260-*.ucode - Killer (R) Wireless-AC 1550 Wireless Network Adapter (9260NGW) 160MHz
Intel(R) Wireless-AC 9162/9260/9260-1/9270/9461/9462
Intel(R) Wireless-AC 9162/9260/9270/9461/9462 160MHz
For cfg/22000 the list looks long and I will not describe everything
here, but should be the remaining list which was covered by
iwlax2xx-firmware.
Thus, we can follow the same logic here and group all firmware under
the new iwlwifi-mvm-firmware:
* we fix the iwl7260-firmware case where it's not only about 7260
devices, and avoid having to use Recommends between it and
iwlax2xx-firmware which in practice means it's already
advised keeping both installed together.
* don't need to keep a small/alone iwl3160-firmware.
* avoid having a device name in the package which can turn misleading
as well, eg. we already have devices with name ax4xx like
"Intel(R) Wi-Fi 6E AX411 160MHz"
v2: Add provides to the obsoleted packages as suggested by Josh Boyer
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>