Skip to contentSkip to conversation

ath10k: calibration data through Device Tree?

DISCUSSION Kalle Valo 1 participant 2 messages Oct 2, 2014 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Kalle Valo

author
#0 lore raw

Hi Device Tree gurus,

ath10k is a wireless driver for Qualcomm Atheros 802.11ac hardware and located in drivers/net/wireless/ath/ath10k/. Currently it only supports PCI devices.

Some of the devices store the calibration data to the host flash and the bootloader reads the data from the flash. And now we need a method to deliver the calibration data from bootloader to ath10k. Basically our requirements are:

* ath10k must support any number of radios (one radio per PCI device).

* The calibration data is now 2116 bytes, in the future it might be longer. The data is unique for each radio and is created at the factory.

* ath10k must be able to reliably map the PCI device (=radio) to the correct calibration data. Maybe with using PCI bus and slot numbers?

We have been trying to find similar cases from other drivers but no luck. Basically my question is how to do this properly with Device Tree? Especially how to map the calibration data to correct PCI device? Are there any examples which would help us to implement this?

Signature · 6 lines
Kalle Valo

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

ath10k is a wireless driver for Qualcomm Atheros 802.11ac hardware and located in drivers/net/wireless/ath/ath10k/. Currently it only supports PCI devices.

Great, I used an old address:

5.1.0 - Unknown address error 550-'5.1.6 <[email protected]>: Recipient address rejected: User has moved to devicetree at vger.kernel.org'

I'll resend the mail to the new address.

Signature · 6 lines
Kalle Valo

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