firmware/ipq-wifi: Extend for multi-chip boards
authorJeff Kletsky <git-commits@allycomm.com>
Sun, 14 Apr 2019 20:20:57 +0000 (13:20 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 18 May 2019 11:43:22 +0000 (13:43 +0200)
This package provides board-specific reference ("cal") data
on an interim basis until included in the upstream distros

While originally conceived for IPQ4019-based boards, similar needs
are appearing with three-radio devices. For some of these devices,
both a board-2.bin file needs to be supplied both for the IPQ4019
as well as for the other radio on the board.

This patch allows new or multiple overrides to be specified by:

  * Adding board name to ALLWIFIBOARDS
  * Placing file(s) in this directory named as
      board-<devicename>.<qca4019|qca9888|qca9984>
  * Adding
      $(eval $(call generate-ipq-wifi-package,<device>,<display name>))

(along with suitable package selection for the board)

At this time, QCA4019, QCA9888, and QCA9984 are supported.
Extension to other chips should be straightforward.

The existing files, board-*.bin, are "grandfathered" as QCA4019.

The package name has been retained for compatability reasons.
At this time it DEPENDS:=@TARGET_ipq40xx, limiting its visibility.

Build-tested-on: asus_map-ac2200, alfa-network_ap120c-ac,
    avm_fritzbox-7530, avm_fritzrepeater-3000, engenius_eap1300,
    engenius_ens620ext, linksys_ea6350v3, qxwlan-e2600ac-c1/-c2

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
board-asus_map-ac2200.bin [new symlink]
board-qxwlan_e2600ac.bin [new symlink]

diff --git a/board-asus_map-ac2200.bin b/board-asus_map-ac2200.bin
new file mode 120000 (symlink)
index 0000000..d6e8b35
--- /dev/null
@@ -0,0 +1 @@
+board-map-ac2200.bin
\ No newline at end of file
diff --git a/board-qxwlan_e2600ac.bin b/board-qxwlan_e2600ac.bin
new file mode 120000 (symlink)
index 0000000..acccf88
--- /dev/null
@@ -0,0 +1 @@
+board-qxwlan-e2600ac.bin
\ No newline at end of file