Search Linux Wireless

XD3200 (QCA9563 + PA) ath9k TX low

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Developers,

I have a Yuncore XD3200 device contains QCA9563 and ext. PA
(SKY65174-21). I would like to use LEDE however the TX is very low on
2.4 GHz.

I experience the following on the client (AP TX-Power 20 dBm 100mW):
- with QSDK (the device's factory software) the TX level is -40 dBm
- with LEDE 17.01.4 (ath9k) the TX level is -51 dBm

In the following post there is workaround mentioned to fix the issue on LEDE.

QCA9561 PA bias level: set AR_CH0_TOP_XPABIASLVL instead of
AR_CH0_TOP2_XPABIASLVL

https://forum.lede-project.org/t/xd3200-qca9563-slow-ath9k-2-4ghz-lna-pa/1320
https://github.com/oe1rfc/lede-qca9561-pa-bias/commit/88dcdee6b0b86d489afb9bc54010c04063695e5e



@@ -0,0 +1,15 @@
+--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
++++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+@@ -3538,9 +3538,10 @@ static void ar9003_hw_xpa_bias_level_app
+  int bias = ar9003_modal_header(ah, is2ghz)->xpaBiasLvl;
+
+  if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah) ||
+-     AR_SREV_9531(ah) || AR_SREV_9561(ah))
++     AR_SREV_9531(ah))
+  REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias);
+- else if (AR_SREV_9462(ah) || AR_SREV_9550(ah) || AR_SREV_9565(ah))
++ else if (AR_SREV_9462(ah) || AR_SREV_9550(ah) || AR_SREV_9565(ah) ||
++     AR_SREV_9561(ah))
+  REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);
+  else {
+  REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);



And indeed it seems the patch fixes the problem. TX level becomes the
same on LEDE as on QSDK.

Could you please help me if it is a ath9k issue or there is a problem
with the XD3200 device?

Thank you!
David



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux