ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ath10k-firmware: QCA4019 hw1.0: Add GL.iNet GL-B1300 specific BDFs
@ 2018-03-27  6:48 Dongming Han
  2018-03-27  7:19 ` Sven Eckelmann
  2018-04-19 14:40 ` Kalle Valo
  0 siblings, 2 replies; 5+ messages in thread
From: Dongming Han @ 2018-03-27  6:48 UTC (permalink / raw)
  To: ath10k

[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]

Hi,

Tying to upstream BDFs of GL.iNet GL-B1300 to ath10k-firmware.
This router uses two changed BDFs based on
boardData_1_0_IPQ4019_Y9803_wifi0.bin & boardData_1_0_IPQ4019_Y9803_wifi1.bin.
We changed BDF for target power of both BDFs and FEM control parameter
antCtrlCommon2_G_0_0 of boardData_1_0_IPQ4019_Y9803_wifi0.

I'm not quite sure if ath10k driver need to add these two changed BDF
to work properly
for this board.

I think the ART data is made based on BDF. Maybe the antCtrlCommon logic
and target power parameter is passed to driver by ART but not BDF?
That way we're all happier no need to mantain these change. Please advise.

Now to the questions from the wiki page [1]:

* description for what hardware this is:

  - it is a IPQ4028 based router. More information [2]

* origin of the board file (did you create it yourself or where you
  downloaded)

  - we create it. Can also be extracted from manufacturer firmware[3].

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)

  - bus=ahb,bmi-chip-id=0,bmi-board-id=16,variant=GL-B1300
   sha256sum: 34d5b821826aad1699666ec95df19a1767245ab424068161275a7ace947eedee
  - bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=GL-B1300
   sha256sum: d0abd802b3d04b51f4a40883157e86b1ff3a204c660d0aa3365ae8e55f625a3e

* attach the actual board file (board.bin)

  - The name of the files are equal to the id string in the board-2.bin
    (minus the ".bin")

Many thanks to Sven for his guidance.

[1] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles
[2] https://github.com/openwrt/openwrt/commit/04d3308b6248ef21a6f0bc3378b342906c2d2865
[3] http://www.gl-inet.com/firmware/b1300/clean/

[-- Attachment #2: bus=ahb,bmi-chip-id=0,bmi-board-id=16,variant=GL-B1300.bin --]
[-- Type: application/octet-stream, Size: 12064 bytes --]

[-- Attachment #3: bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=GL-B1300.bin --]
[-- Type: application/octet-stream, Size: 12064 bytes --]

[-- Attachment #4: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-19 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-27  6:48 ath10k-firmware: QCA4019 hw1.0: Add GL.iNet GL-B1300 specific BDFs Dongming Han
2018-03-27  7:19 ` Sven Eckelmann
2018-03-28  6:23   ` Sebastian Gottschall
2018-03-28  7:42     ` Sven Eckelmann
2018-04-19 14:40 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox