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)
commit4bdc873a5fda60557478a4294983cf71e7eccea6
tree9dff872cb6185655fbf710067fc33839fd5f3c3c
parent7b58c5873325f008083adcf1d31b69f814453357
firmware/ipq-wifi: Extend for multi-chip boards

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>
package/firmware/ipq-wifi/Makefile
package/firmware/ipq-wifi/board-asus_map-ac2200.bin [new symlink]
package/firmware/ipq-wifi/board-qxwlan_e2600ac.bin [new symlink]