targets: adapt ath10k selection to OpenWrt 19.07

This changes the ath10k firmware and driver selection, as
ath10k-ct is now the default in upstream OpenWrt.

However, for 802.11s operation we need the QCA firmware and driver.
This commit is contained in:
David Bauer 2019-08-15 00:38:38 +02:00 committed by Martin Weinelt
parent dc8d5d3ca9
commit 82cdd5f808
3 changed files with 18 additions and 18 deletions

View File

@ -4,10 +4,10 @@ config 'CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=64'
local ATH10K_PACKAGES = {} local ATH10K_PACKAGES = {}
local ATH10K_PACKAGES_QCA9887 = {} local ATH10K_PACKAGES_QCA9887 = {}
local ATH10K_PACKAGES_QCA9888 = {} local ATH10K_PACKAGES_QCA9888 = {}
if env.GLUON_WLAN_MESH == 'ibss' then if env.GLUON_WLAN_MESH == '11s' then
ATH10K_PACKAGES = {'-kmod-ath10k', 'kmod-ath10k-ct', '-ath10k-firmware-qca988x', 'ath10k-firmware-qca988x-ct'} ATH10K_PACKAGES = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca988x', '-ath10k-firmware-qca988x-ct'}
ATH10K_PACKAGES_QCA9887 = {'-kmod-ath10k', 'kmod-ath10k-ct', '-ath10k-firmware-qca9887', 'ath10k-firmware-qca9887-ct'} ATH10K_PACKAGES_QCA9887 = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca9887', '-ath10k-firmware-qca9887-ct'}
ATH10K_PACKAGES_QCA9888 = {'-kmod-ath10k', 'kmod-ath10k-ct', '-ath10k-firmware-qca9888', 'ath10k-firmware-qca9888-ct'} ATH10K_PACKAGES_QCA9888 = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca9888', '-ath10k-firmware-qca9888-ct'}
end end

View File

@ -1,8 +1,8 @@
config 'CONFIG_GLUON_SPECIALIZE_KERNEL=y' config 'CONFIG_GLUON_SPECIALIZE_KERNEL=y'
local ATH10K_PACKAGES = {} local ATH10K_PACKAGES = {}
if env.GLUON_WLAN_MESH == 'ibss' then if env.GLUON_WLAN_MESH == '11s' then
ATH10K_PACKAGES = {'-kmod-ath10k', 'kmod-ath10k-ct', '-ath10k-firmware-qca988x', 'ath10k-firmware-qca988x-ct'} ATH10K_PACKAGES = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca988x', '-ath10k-firmware-qca988x-ct'}
end end

View File

@ -1,19 +1,19 @@
local ATH10K_PACKAGES_IPQ40XX = {} local ATH10K_PACKAGES_IPQ40XX = {}
local ATH10K_PACKAGES_IPQ40XX_QCA9888 = {'ath10k-firmware-qca9888'} local ATH10K_PACKAGES_IPQ40XX_QCA9888 = {}
if env.GLUON_WLAN_MESH == 'ibss' then if env.GLUON_WLAN_MESH == '11s' then
ATH10K_PACKAGES_IPQ40XX = { ATH10K_PACKAGES_IPQ40XX = {
'-kmod-ath10k', 'kmod-ath10k',
'kmod-ath10k-ct', '-kmod-ath10k-ct',
'-ath10k-firmware-qca4019', 'ath10k-firmware-qca4019',
'ath10k-firmware-qca4019-ct', '-ath10k-firmware-qca4019-ct',
} }
ATH10K_PACKAGES_IPQ40XX_QCA9888 = { ATH10K_PACKAGES_IPQ40XX_QCA9888 = {
'-kmod-ath10k', 'kmod-ath10k',
'kmod-ath10k-ct', '-kmod-ath10k-ct',
'-ath10k-firmware-qca4019', 'ath10k-firmware-qca4019',
'ath10k-firmware-qca4019-ct', '-ath10k-firmware-qca4019-ct',
'-ath10k-firmware-qca9888', 'ath10k-firmware-qca9888',
'ath10k-firmware-qca9888-ct', '-ath10k-firmware-qca9888-ct',
} }
end end