wireless: rework regulatory domain dependencies depending on the platform
Starting with Linux v4.15, regulatory domains are no longer handled via CRDA, but via the kernel and a flexible database instead. Said database is included in the wireless-regdb-static package, which conflicts with the old wireless-regdb package. To accomodate for this new package, add CRDA as a dependency for ccimx6 platforms only, and incorporate wireless-regdb-static for the rest of the platforms. Additionally, the ccimx6 kernel should inherit the kernel_wireless_regdb .bbclass so the plaintext database is copied to the kernel sources, but since we use the same recipe for all kernel versions and ccimx6 platforms are not yet supported in zeus, omit this change for now. Remove the package-base .bbappend, since only ccimx6ulstarter images include that packagegroup and they require wireless-regdb-static, anyway. By adding the regulatory database, we avoid delays when going to suspend, caused by the kernel waiting for the database to appear. https://jira.digi.com/browse/DEL-7133 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
be60a8f4e2
commit
96c2b2f759
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright (C) 2020 Digi International.
|
||||
|
||||
# wireless-regdb-static conflicts with wireless-regdb required by crda
|
||||
RDEPENDS_packagegroup-base-wifi_remove = "wireless-regdb-static"
|
||||
|
|
@ -7,12 +7,14 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|||
inherit packagegroup
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
crda \
|
||||
hostapd \
|
||||
iw \
|
||||
wireless-regdb-static \
|
||||
wpa-supplicant \
|
||||
wpa-supplicant-cli \
|
||||
wpa-supplicant-passphrase \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}_remove_ccimx6sbc = "hostapd"
|
||||
RDEPENDS_${PN}_remove_ccimx6 = "wireless-regdb-static"
|
||||
RDEPENDS_${PN}_append_ccimx6 = " crda"
|
||||
|
|
|
|||
Loading…
Reference in New Issue