ToDo #216

athn ar9485 support

Added by Stefan Sperling over 5 years ago. Updated over 5 years ago.

Status:Neu Start date:03/15/2014
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Add support for AR9485 to athn(4) driver.

athn.diff Magnifier (22.4 kB) Stefan Sperling, 03/15/2014 10:02 am

athn2.diff Magnifier (23.2 kB) Stefan Sperling, 03/15/2014 03:29 pm

History

#1 Updated by Stefan Sperling over 5 years ago

Blocking problem: Currently TX/IQ calibration fails, preventing the device from starting up properly during 'ifconfig athn0 up'.

Here's my current diff against CVS. It doesn't fix the real problem, it just disables calibration:

+ AR_CLRBITS(sc, AR_PHY_TX_IQCAL_CONTROL_0,
+ AR_PHY_TX_IQCAL_CONTROL_0_ENABLE_TXIQ_CAL);

and then fails later (the PHY chip complains about TX errors).
Also, it's full of debug output. Some parts of this (e.g. register macros
in header files and the maxchains stuff) could actually be committed if
they don't affect existing code.

I believe that ar9003.c has never been working. We don't use it
for any chipset that already works with athn. It is full of untested
code and the problems are hard for me to spot. I believe Damien
wrote this file without having any hardware available to test with.

One thing that still needs checking is if the code in the Linux ath9k
driver in ar9003_rtt.c might be relevant to our problem.

#2 Updated by Stefan Sperling over 5 years ago

  • File athn2.diffMagnifier added
  • Tracker changed from Feature to ToDo

Slightly different diff which has TX/IQ calibration enabled:

+ AR_SETBITS(sc, AR_PHY_TX_IQCAL_CONTROL_0,
+ AR_PHY_TX_IQCAL_CONTROL_0_ENABLE_TXIQ_CAL);

and also includes PCI attachment goo.

Also available in: Atom PDF