Skip to contentSkip to conversation

QCA6174 SDIO support?

DISCUSSION Marek Behun 3 participants 5 messages Jan 8, 2018 – Jan 9, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hello,

we at CZ.NIC are trying the current ath10k driver with High Latency + SDIO support (which was done by Silex Technology) on our board. The supported chip, QCA9377, works, but we only have 1x1 MIMO boards with this chip. We are trying to get it work with 8274B-SR (QCA6174) ( http://www.fn-link.com/a-b-g-n-ac-wi-fi-bt-module/8274b-sr.html )

There is already some code in sdio.c mentoining QCA6174, but there are no nodes in ath10k_hw_params. Because QCA6174 is supported via PCI bus, I tried to write the ath10k_hw_params node (see patch
http://blackhole.sk/~kabel/src/qca6174.patch ) but do not know if the changes I did are enough, because the driver fails after loading firmware.

And the firmware is another point: Does board-sdio.bin have to be different from board.bin? Do we have to create this binary ourselves, or should the 8274B-SR board manufacturer sent us one? (We didn't receive anything from fn-link.)

Any information is good, please let us know even if you have NDA on this and therefore cannot give any more information about this.

Thank you.

Marek Behun, CZ.NIC

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

#1 lore raw

try this branch

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath10k-pending-sdio-usb

Am 08.01.2018 um 01:28 schrieb Marek Behun:

Quoted 32 lines

Hello,

we at CZ.NIC are trying the current ath10k driver with High Latency + SDIO support (which was done by Silex Technology) on our board. The supported chip, QCA9377, works, but we only have 1x1 MIMO boards with this chip. We are trying to get it work with 8274B-SR (QCA6174) ( http://www.fn-link.com/a-b-g-n-ac-wi-fi-bt-module/8274b-sr.html )

There is already some code in sdio.c mentoining QCA6174, but there are no nodes in ath10k_hw_params. Because QCA6174 is supported via PCI bus, I tried to write the ath10k_hw_params node (see patch
http://blackhole.sk/~kabel/src/qca6174.patch ) but do not know if the changes I did are enough, because the driver fails after loading firmware.

And the firmware is another point: Does board-sdio.bin have to be different from board.bin? Do we have to create this binary ourselves, or should the 8274B-SR board manufacturer sent us one? (We didn't receive anything from fn-link.)

Any information is good, please let us know even if you have NDA on this and therefore cannot give any more information about this.

Thank you.

Marek Behun, CZ.NIC

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

Signature · 17 lines
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: [email protected]
Tel.: +496251-582650 / Fax: +496251-5826565


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

This branch is almost the same as mine (orig + high latency patches + sdio patches), therefore no QCA6174 SDIO node in ath10k_hw_params_list.

Quoted 39 lines · On Mon, 8 Jan 2018 02:31:59 +0100 Sebastian Gottschall…

try this branch

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath10k-pending-sdio-usb

Am 08.01.2018 um 01:28 schrieb Marek Behun:

Quoted 33 lines

Hello,

we at CZ.NIC are trying the current ath10k driver with High Latency
+ SDIO support (which was done by Silex Technology) on our board. The supported chip, QCA9377, works, but we only have 1x1 MIMO boards with this chip. We are trying to get it work with 8274B-SR (QCA6174)
( http://www.fn-link.com/a-b-g-n-ac-wi-fi-bt-module/8274b-sr.html )

There is already some code in sdio.c mentoining QCA6174, but there are no nodes in ath10k_hw_params. Because QCA6174 is supported via PCI bus, I tried to write the ath10k_hw_params node (see patch
http://blackhole.sk/~kabel/src/qca6174.patch ) but do not know if the changes I did are enough, because the driver fails after loading firmware.

And the firmware is another point: Does board-sdio.bin have to be different from board.bin? Do we have to create this binary ourselves, or should the 8274B-SR board manufacturer sent us one? (We didn't receive anything from fn-link.)

Any information is good, please let us know even if you have NDA on this and therefore cannot give any more information about this.

Thank you.

Marek Behun, CZ.NIC

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

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

#3 lore raw

Am 08.01.2018 um 03:00 schrieb Marek Behun:

Quoted 2 lines

This branch is almost the same as mine (orig + high latency patches + sdio patches), therefore no QCA6174 SDIO node in ath10k_hw_params_list.

the problem i see is that this chipset is not available as SDIO chipset from qualcom. i cannot find any official specs for it qualcom declares it as pcie only interface. qca6134 is sdio, but its no ath10k chipset and not 802.11ac capable

Quoted 43 lines
Quoted 38 lines · On Mon, 8 Jan 2018 02:31:59 +0100 Sebastian Gottschall…

try this branch

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath10k-pending-sdio-usb

Am 08.01.2018 um 01:28 schrieb Marek Behun:

Quoted 33 lines

Hello,

we at CZ.NIC are trying the current ath10k driver with High Latency
+ SDIO support (which was done by Silex Technology) on our board. The supported chip, QCA9377, works, but we only have 1x1 MIMO boards with this chip. We are trying to get it work with 8274B-SR (QCA6174)
( http://www.fn-link.com/a-b-g-n-ac-wi-fi-bt-module/8274b-sr.html )

There is already some code in sdio.c mentoining QCA6174, but there are no nodes in ath10k_hw_params. Because QCA6174 is supported via PCI bus, I tried to write the ath10k_hw_params node (see patch
http://blackhole.sk/~kabel/src/qca6174.patch ) but do not know if the changes I did are enough, because the driver fails after loading firmware.

And the firmware is another point: Does board-sdio.bin have to be different from board.bin? Do we have to create this binary ourselves, or should the 8274B-SR board manufacturer sent us one? (We didn't receive anything from fn-link.)

Any information is good, please let us know even if you have NDA on this and therefore cannot give any more information about this.

Thank you.

Marek Behun, CZ.NIC

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

Signature · 17 lines
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: [email protected]
Tel.: +496251-582650 / Fax: +496251-5826565


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#4 lore raw
In reply to Marek Behun
Quoted 31 lines · Marek Behun

This branch is almost the same as mine (orig + high latency patches + sdio patches), therefore no QCA6174 SDIO node in ath10k_hw_params_list.

Quoted 25 lines · On Mon, 8 Jan 2018 02:31:59 +0100 Sebastian Gottschall…

try this branch

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath10k-pending-sdio-usb

Am 08.01.2018 um 01:28 schrieb Marek Behun:

Quoted 20 lines

Hello,

we at CZ.NIC are trying the current ath10k driver with High Latency
+ SDIO support (which was done by Silex Technology) on our board. The supported chip, QCA9377, works, but we only have 1x1 MIMO boards with this chip. We are trying to get it work with 8274B-SR (QCA6174)
( http://www.fn-link.com/a-b-g-n-ac-wi-fi-bt-module/8274b-sr.html )

There is already some code in sdio.c mentoining QCA6174, but there are no nodes in ath10k_hw_params. Because QCA6174 is supported via PCI bus, I tried to write the ath10k_hw_params node (see patch
http://blackhole.sk/~kabel/src/qca6174.patch ) but do not know if the changes I did are enough, because the driver fails after loading firmware.

And the firmware is another point: Does board-sdio.bin have to be different from board.bin? Do we have to create this binary ourselves, or should the 8274B-SR board manufacturer sent us one? (We didn't receive anything from fn-link.)

board-sdio.bin is nothing but the board.bin variant used by SDIO modules. Check with the board/module vendor for the board.bin. This is one possible cause for the firmware assert.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Any information is good, please let us know even if you have NDA on this and therefore cannot give any more information about this.

Thank you.

Quoted 9 lines
Quoted 8 lines
Quoted 7 lines

Marek Behun, CZ.NIC

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

You also need to get the firmware-x.bin for QCA6174 SDIO module. I do not think that the PCIe firmware of QCA6174 or the SDIO firmware of QCA9377 would be compatible with this. If you do not have one, probably this information from Erik (https://github.com/erstrom/linux-ath/wiki/Firmware) would be of some help.

Regards,
Alagu Sankar

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