Skip to contentSkip to conversation

ath10k-firmware: QCA4019 hw1.0/QCA9888 hw2.0: Add OpenMesh A62 specific BDFs

DISCUSSION Sven Eckelmann 4 participants 11 messages Mar 29, 2018 – Apr 20, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi,

I am currently starting to prepare the OpenMesh A62 support for Openwrt. This AP requires three special BDFs to get the Wi-Fi PHYs working (correctly). The bmi-board-id='s would clash with one of the the IPQ401X AP-DK boards because QCA doesn't provide special IDs for customers and seems to use the AP-DK board-ids in the wifi firmware to change its behavior.

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

* description for what hardware this is:

- it is a QCA4018 based module (based on qcom-ipq4019-ap.dk04.1)
- one QCA4018 radio is used as 2.4GHz radio
- one QCA4018 radio is used as 5GHz radio
- an additional QCA9888 5GHz radio is attached via PCI

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

- it was created by the ODM and QCA for the OpenMesh A62
- was provided by the ODM to OpenMesh for this product (this includes distribution)
- it is the latest release from 2018-03-29

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

- QCA4019 hw1.0

    + bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
      sha256sum:
      df5dc5a55506e2a58dcb0b8542f40226d3bfd530a6fc0bc90c728ab18a57144c
    + bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
      sha256sum:
      96c3d044fe26522c75313c210ace6f85d5bdcdbce3350214d92467501a01fb88

- QCA9888 hw2.0

    + bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
      sha256sum:
      c85b23763e748abeb7e8c42e243dab1fc58d1bff94111e4058bdf31ddb14cefa

* 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")

Kind regards,
Sven

[1] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw
Quoted 11 lines · Sven Eckelmann

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

- QCA4019 hw1.0

    + bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
      sha256sum:
      df5dc5a55506e2a58dcb0b8542f40226d3bfd530a6fc0bc90c728ab18a57144c
    + bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
      sha256sum:
      96c3d044fe26522c75313c210ace6f85d5bdcdbce3350214d92467501a01fb88
Quoted 5 lines

- QCA9888 hw2.0

    + bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
      sha256sum:
      c85b23763e748abeb7e8c42e243dab1fc58d1bff94111e4058bdf31ddb14cefa

BTW, in the future md5sum would be more useful as ath10k-bdencoder --info prints that. I added that to the wiki as well:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles

Signature · 6 lines
Kalle Valo

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw
In reply to Sven Eckelmann
Quoted 36 lines · Sven Eckelmann

I am currently starting to prepare the OpenMesh A62 support for Openwrt. This AP requires three special BDFs to get the Wi-Fi PHYs working (correctly). The bmi-board-id='s would clash with one of the the IPQ401X AP-DK boards because QCA doesn't provide special IDs for customers and seems to use the AP-DK board-ids in the wifi firmware to change its behavior.

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

* description for what hardware this is:

- it is a QCA4018 based module (based on qcom-ipq4019-ap.dk04.1)
- one QCA4018 radio is used as 2.4GHz radio
- one QCA4018 radio is used as 5GHz radio
- an additional QCA9888 5GHz radio is attached via PCI

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

- it was created by the ODM and QCA for the OpenMesh A62
- was provided by the ODM to OpenMesh for this product (this includes distribution)
- it is the latest release from 2018-03-29

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

- QCA4019 hw1.0

    + bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
      sha256sum:
      df5dc5a55506e2a58dcb0b8542f40226d3bfd530a6fc0bc90c728ab18a57144c
    + bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
      sha256sum:
      96c3d044fe26522c75313c210ace6f85d5bdcdbce3350214d92467501a01fb88

- QCA9888 hw2.0

Quoted 8 lines
    + bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
      sha256sum:
      c85b23763e748abeb7e8c42e243dab1fc58d1bff94111e4058bdf31ddb14cefa

* 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")

I added these now, please check the results:

https://github.com/kvalo/ath10k-firmware/commit/a262aac7cfe5ae5833378b4f1b0634f873a4df4d

New:
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62

Changed:

Deleted:

1 board image(s) added, 0 changed, 0 deleted, 14 in total

New:
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62

Changed:

Deleted:

1 board image(s) added, 0 changed, 0 deleted, 15 in total

New:
bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62

Changed:

Deleted:

1 board image(s) added, 0 changed, 0 deleted, 16 in total

Signature · 5 lines
Kalle Valo
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#3 lore raw

On Donnerstag, 19. April 2018 10:20:41 CEST Kalle Valo wrote:
[...]

Quoted 14 lines
Quoted 14 lines

- QCA4019 hw1.0

    + bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
      sha256sum:
      df5dc5a55506e2a58dcb0b8542f40226d3bfd530a6fc0bc90c728ab18a57144c
    + bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
      sha256sum:
      96c3d044fe26522c75313c210ace6f85d5bdcdbce3350214d92467501a01fb88

- QCA9888 hw2.0

    + bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
      sha256sum:
      c85b23763e748abeb7e8c42e243dab1fc58d1bff94111e4058bdf31ddb14cefa

[...]

Quoted 3 lines

I added these now, please check the results:

https://github.com/kvalo/ath10k-firmware/commit/

a262aac7cfe5ae5833378b4f1b0634f873a4df4d

Quoted 1 line

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Kind regards,
Sven

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#4 lore raw
Quoted 19 lines · Sven Eckelmann

On Donnerstag, 19. April 2018 10:20:41 CEST Kalle Valo wrote:
[...]

Quoted 14 lines
Quoted 14 lines

- QCA4019 hw1.0

    + bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
      sha256sum:
      df5dc5a55506e2a58dcb0b8542f40226d3bfd530a6fc0bc90c728ab18a57144c
    + bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
      sha256sum:
      96c3d044fe26522c75313c210ace6f85d5bdcdbce3350214d92467501a01fb88

- QCA9888 hw2.0

    + bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
      sha256sum:
      c85b23763e748abeb7e8c42e243dab1fc58d1bff94111e4058bdf31ddb14cefa

[...]

Quoted 2 lines

I added these now, please check the results:

Quoted 7 lines
Quoted 1 line

https://github.com/kvalo/ath10k-firmware/commit/

a262aac7cfe5ae5833378b4f1b0634f873a4df4d

Quoted 1 line

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Thanks for noticing, I'll fix that. But please separate different hw to different mails, this way I can process them one hw version at the time.

Signature · 5 lines
Kalle Valo
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#5 lore raw
Quoted 25 lines · Kalle Valo
Quoted 23 lines · Sven Eckelmann

On Donnerstag, 19. April 2018 10:20:41 CEST Kalle Valo wrote:
[...]

Quoted 14 lines
Quoted 14 lines

- QCA4019 hw1.0

    + bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
      sha256sum:
      df5dc5a55506e2a58dcb0b8542f40226d3bfd530a6fc0bc90c728ab18a57144c
    + bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
      sha256sum:
      96c3d044fe26522c75313c210ace6f85d5bdcdbce3350214d92467501a01fb88

- QCA9888 hw2.0

    + bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
      sha256sum:
      c85b23763e748abeb7e8c42e243dab1fc58d1bff94111e4058bdf31ddb14cefa

[...]

Quoted 3 lines

I added these now, please check the results:

https://github.com/kvalo/ath10k-firmware/commit/

a262aac7cfe5ae5833378b4f1b0634f873a4df4d

Quoted 1 line
Quoted 6 lines
Quoted 3 lines

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Thanks for noticing, I'll fix that. But please separate different hw to different mails, this way I can process them one hw version at the time.

Fixed now, please double check:

https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0

https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

Signature · 5 lines
Kalle Valo
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#6 lore raw
Quoted 4 lines · On Donnerstag, 19. April 2018 14:33:04 CEST Kalle Valo wrote:
Quoted 4 lines
Quoted 3 lines

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Quoted 8 lines
Quoted 2 lines

Thanks for noticing, I'll fix that. But please separate different hw to different mails, this way I can process them one hw version at the time.

Fixed now, please double check:

https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0

https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

Ok, will use md5sum and split my submission based on the wifi hw.

The board-2.bin's look fine now.

pending
=======

* Asus RT-AC58U

- submitted before the guide was published
- http://lists.infradead.org/pipermail/ath10k/2017-March/009454.html

* Netgear EX6100v2/EX6150v2

- http://lists.infradead.org/pipermail/ath10k/2018-February/010845.html

* 8devices Jalapeno

- http://lists.infradead.org/pipermail/ath10k/2018-March/010916.html

accepted
========

* OpenMesh A42

- http://lists.infradead.org/pipermail/ath10k/2017-November/010470.html
- http://lists.infradead.org/pipermail/ath10k/2017-December/010543.html
- https://github.com/kvalo/ath10k-firmware/commit/5cd2bacd8e22217335e539b416d0cb8d59f8e312

* Meraki MR33

- http://lists.infradead.org/pipermail/ath10k/2018-April/011179.html
- https://github.com/kvalo/ath10k-firmware/commit/66be3a48d9cf17ace8413cf478a5954483393af4

* Compex WLE1216V5-20 + Compex ?

- http://lists.infradead.org/pipermail/ath10k/2018-March/010998.html
- https://github.com/kvalo/ath10k-firmware/commit/b1dd338046a385743c483a47e8eef276adaba0c0

* AVM FRITZ!Box 4040

- http://lists.infradead.org/pipermail/ath10k/2018-April/011178.html
- https://github.com/kvalo/ath10k-firmware/commit/81a745e6a529565438ee4aea357a8a59e9564848

* OpenMesh A62

- http://lists.infradead.org/pipermail/ath10k/2018-March/011081.html
- https://github.com/kvalo/ath10k-firmware/commit/a262aac7cfe5ae5833378b4f1b0634f873a4df4d
- https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0
- https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

* GL.iNet GL-B1300

- http://lists.infradead.org/pipermail/ath10k/2018-March/011058.html
- https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

Kind regards,
Sven

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#7 lore raw
Quoted 8 lines · Sven Eckelmann
Quoted 7 lines · On Donnerstag, 19. April 2018 14:33:04 CEST Kalle Valo wrote:
Quoted 6 lines
Quoted 3 lines

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Thanks for noticing, I'll fix that. But please separate different hw to different mails, this way I can process them one hw version at the time.

Quoted 8 lines
Quoted 5 lines

Fixed now, please double check:

https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0

https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

Ok, will use md5sum and split my submission based on the wifi hw.

BTW, I also updated the documentation about this:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles

Quoted 1 line

The board-2.bin's look fine now.

Great, thanks for testing.

Quoted 8 lines

pending
=======

* Asus RT-AC58U

- submitted before the guide was published
- http://lists.infradead.org/pipermail/ath10k/2017-March/009454.html

Quoted 7 lines

* Netgear EX6100v2/EX6150v2

- http://lists.infradead.org/pipermail/ath10k/2018-February/010845.html

* 8devices Jalapeno

- http://lists.infradead.org/pipermail/ath10k/2018-March/010916.html

Thanks for the list, it was really helpful. I think I have now added all pending board files, but please let me know if I missed anything.

Signature · 5 lines
Kalle Valo
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#8 lore raw
Quoted 2 lines · On Donnerstag, 19. April 2018 15:11:21 CEST Kalle Valo wrote:

Thanks for the list, it was really helpful. I think I have now added all pending board files, but please let me know if I missed anything.

Sorry about missing the Asus RT-AC58U BDF update.

I went through added files and at least the ones submitted by me look fine (and I couldn't find anything problematic in the other ones). Thanks for going through all submissions and integrating them.

pending
=======

* Asus RT-AC58U

- waiting for v2 of the BDFs to be integrated
- http://lists.infradead.org/pipermail/ath10k/2018-January/010770.html
- v1 files: https://github.com/kvalo/ath10k-firmware/commit/a47bcf1e58c4d8914af0951a80fd8861368b700d

accepted
========

* OpenMesh A42

- http://lists.infradead.org/pipermail/ath10k/2017-November/010470.html
- http://lists.infradead.org/pipermail/ath10k/2017-December/010543.html
- https://github.com/kvalo/ath10k-firmware/commit/5cd2bacd8e22217335e539b416d0cb8d59f8e312

* Meraki MR33

- http://lists.infradead.org/pipermail/ath10k/2018-April/011179.html
- https://github.com/kvalo/ath10k-firmware/commit/66be3a48d9cf17ace8413cf478a5954483393af4

* Compex WLE1216V5-20 + Compex ?

- http://lists.infradead.org/pipermail/ath10k/2018-March/010998.html
- https://github.com/kvalo/ath10k-firmware/commit/b1dd338046a385743c483a47e8eef276adaba0c0

* AVM FRITZ!Box 4040

- http://lists.infradead.org/pipermail/ath10k/2018-April/011178.html
- https://github.com/kvalo/ath10k-firmware/commit/81a745e6a529565438ee4aea357a8a59e9564848

* OpenMesh A62

- http://lists.infradead.org/pipermail/ath10k/2018-March/011081.html
- https://github.com/kvalo/ath10k-firmware/commit/a262aac7cfe5ae5833378b4f1b0634f873a4df4d
- https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0
- https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

* GL.iNet GL-B1300

- http://lists.infradead.org/pipermail/ath10k/2018-March/011058.html
- https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

* 8devices Jalapeno

- http://lists.infradead.org/pipermail/ath10k/2018-March/010916.html
- https://github.com/kvalo/ath10k-firmware/commit/71e50312b54cc972657a7b08c470088447cb9676

* Netgear EX6100v2/EX6150v2

- http://lists.infradead.org/pipermail/ath10k/2018-February/010845.html
- https://github.com/kvalo/ath10k-firmware/commit/dfe4b7de42e1c40dfd03526ffe7955089c4eef63

Kind regards,
Sven

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#9 lore raw
In reply to Sven Eckelmann
Quoted 19 lines · On Donnerstag, 19. April 2018 16:47:22 CEST Sven Eckelmann wrote:
Quoted 4 lines · On Donnerstag, 19. April 2018 14:33:04 CEST Kalle Valo wrote:
Quoted 4 lines
Quoted 3 lines

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Quoted 8 lines
Quoted 2 lines

Thanks for noticing, I'll fix that. But please separate different hw to different mails, this way I can process them one hw version at the time.

Fixed now, please double check:

https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0

https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

Ok, will use md5sum and split my submission based on the wifi hw.

The board-2.bin's look fine now.

Quoted 7 lines

pending
=======

* Asus RT-AC58U

- submitted before the guide was published
- http://lists.infradead.org/pipermail/ath10k/2017-March/009454.html

I made a v2 back in 2018 January.

http://lists.infradead.org/pipermail/ath10k/2018-January/010770.html

This was necessary since ASUS updated the board file.

Regards,
Christian

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#10 lore raw
Quoted 25 lines · Christian Lamparter
Quoted 24 lines · On Donnerstag, 19. April 2018 16:47:22 CEST Sven Eckelmann wrote:
Quoted 4 lines · On Donnerstag, 19. April 2018 14:33:04 CEST Kalle Valo wrote:
Quoted 4 lines
Quoted 3 lines

Unfortunately, this is wrong. Please check the mail again. The bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62 BDF is for the QCA9888 hw2.0 board-2.bin and not the QCA4019 hw1.0.

Quoted 8 lines
Quoted 2 lines

Thanks for noticing, I'll fix that. But please separate different hw to different mails, this way I can process them one hw version at the time.

Fixed now, please double check:

https://github.com/kvalo/ath10k-firmware/commit/a315471a5f4c9890e2ed1bdb008b7aae5c885ae0

https://github.com/kvalo/ath10k-firmware/commit/c3604f7d3ff61d1905aac644c721372f3c2a9663

Ok, will use md5sum and split my submission based on the wifi hw.

The board-2.bin's look fine now.

pending
=======

* Asus RT-AC58U

Quoted 7 lines
Quoted 2 lines

- submitted before the guide was published
- http://lists.infradead.org/pipermail/ath10k/2017-March/009454.html

I made a v2 back in 2018 January.

http://lists.infradead.org/pipermail/ath10k/2018-January/010770.html

This was necessary since ASUS updated the board file.

Oh, I missed that. I already pushed the update with 2017 board files, but I'll try to update them in the next few days.

Signature · 5 lines
Kalle Valo
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k