Thread (9 messages) 9 messages, 4 authors, 2014-06-06

Re: compat-wireless-2014-05-22 breaks ath10k in an Archer C7 v2

From: Ben Greear <hidden>
Date: 2014-06-05 16:08:35

On 06/05/2014 03:26 AM, Kalle Valo wrote:
Andy Lutomirski [off-list ref] writes:
quoted
On Thu, May 29, 2014 at 12:48 AM, Michal Kazior [off-list ref] wrote:
quoted
+ath10k@lists.infradead.org

On 28 May 2014 20:35, Andy Lutomirski [off-list ref] wrote:
quoted
It dies with 'otp calibration failed: 2'.

Some older version of the driver seemed to work fine.
ath10k did not verify otp result before so it could load successfully
despite errors.

Someone raised this problem yesterday on IRC. I'm not really sure how
we should deal with this properly.
Ideally, someone from Atheros could figure out what the error is.
Michal already did. The error means that for some reason the
calibaration data was not found from OTP. OTP is the storage area where
the calibration data is normally stored within QCA9880.
I fought this with .387 firmware and WLE900VX NICs.  If it's a common
problem with more than a single NIC (ie, not just a bad piece of
hardware), then one could load my firmware and my ath10k patches.

I have a way to effectively get text debug messages out of the
OTP firmware code and can probably debug this (eventually...busy
with other things currently).

If you know the basic hardware architecture of the NIC, then you can at least
make a better guess of the calibration data and choose an eeprom
table that is a better match than just total failure of OTP.
quoted
Barring that, the card seems to work okay without otp (I don't even
know what otp is), so just warning and continuing to load might be
better than bailing.
This means that your card is not properly calibrated and it doesn't
function in an optimal way (for example range or throughput is less than
what it could be).
And, your MAC address will be wrong and identical to all other devices of this
type, which means the second one of these NICs
on your network will make everything go to hell.

Thanks,
Ben

-- 
Ben Greear [off-list ref]
Candela Technologies Inc  http://www.candelatech.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help