Re: failed to run otp: -22

2018-04-24 Thread Arvid Picciani
yes, found it :) ath10k coming up now. thanks! On Mon, Apr 23, 2018 at 11:27 PM, Christian Lamparter wrote: > On Montag, 23. April 2018 22:31:22 CEST Arvid Picciani wrote: >> from where does ath10k know where to look for it? all i know about is >> ath79_register_wmac in arch

Re: failed to run otp: -22

2018-04-23 Thread Christian Lamparter
On Montag, 23. April 2018 22:31:22 CEST Arvid Picciani wrote: > from where does ath10k know where to look for it? all i know about is > ath79_register_wmac in arch init. That points to a partition called > "wifi" which makes ath9k work, but not ath10k. It's this file:

Re: failed to run otp: -22

2018-04-23 Thread Arvid Picciani
cool. thanks alot for pointing me in the right direction! On Mon, Apr 23, 2018 at 11:10 PM, Adrian Chadd wrote: > Hi! > > That's a good question. > > There should be similar hacks on openwrt/lede for ath10k calibration > data. I know there's at least hard-coded hacks for

Re: failed to run otp: -22

2018-04-23 Thread Adrian Chadd
Hi! That's a good question. There should be similar hacks on openwrt/lede for ath10k calibration data. I know there's at least hard-coded hacks for Dakota (IPQ4019) in ath10k with the internal radio cailbration data being in flash, but I don't know about the generic solution. Sorry! -a On 23

Re: failed to run otp: -22

2018-04-23 Thread Arvid Picciani
from where does ath10k know where to look for it? all i know about is ath79_register_wmac in arch init. That points to a partition called "wifi" which makes ath9k work, but not ath10k. On Mon, Apr 23, 2018 at 9:40 PM, Adrian Chadd wrote: > hi! > > So, OTP is "one time

Re: failed to run otp: -22

2018-04-23 Thread Adrian Chadd
hi! So, OTP is "one time programmable" (ie, fuse-blown) memory in the NIC itself. It's one place you can put calibration data. For TP-Link AP units then yes, it's in NOR flash and not OTP. So chances are you've overwritten it. -adrian On 23 April 2018 at 12:17, Arvid Picciani

Re: failed to run otp: -22

2018-04-23 Thread Adrian Chadd
hi! It should be in OTP on the QCA9880 chip. Which board is this? -adiran On 23 April 2018 at 12:11, Arvid Picciani wrote: > thanks for the response. That sounds bad. > Does ath10k load the calibration stuff different than ath9k? Ath9k works > just fine on the same board. >

Re: failed to run otp: -22

2018-04-23 Thread Adrian Chadd
Hi, That's designed for debugging. It means you'll have an invalid MAC address and no calibration information so your NIC won't work very well. The reason why needs to be figured out! -adrian On 23 April 2018 at 09:56, Arvid Picciani wrote: > Hi, > > Is it ok to run a