* ath10k: TPC: Max antenna gain
@ 2019-06-11 10:59 Sven Eckelmann
2019-06-11 12:14 ` Sven Eckelmann
0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2019-06-11 10:59 UTC (permalink / raw)
To: ath10k; +Cc: Maharaja Kennadyrajan, Maharaja Kennadyrajan
[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]
Hi,
the firmware doesn't seem to parse the max_antenna gain from
ath10k_update_channel_list anymore. At least the
/sys/kernel/debug/ieee80211/phy0/ath10k/tpc_stats shows me max antenna gain 0
when I set it in ath10k_update_channel_list to 12.
grep Gain /sys/kernel/debug/ieee80211/phy*/ath10k/tpc_stats
/sys/kernel/debug/ieee80211/phy0/ath10k/tpc_stats:Antenna Gain = 9 Reg. Max Antenna Gain = 0
/sys/kernel/debug/ieee80211/phy1/ath10k/tpc_stats:Antenna Gain = 8 Reg. Max Antenna Gain = 0
/sys/kernel/debug/ieee80211/phy2/ath10k/tpc_stats:Antenna Gain = 9 Reg. Max Antenna Gain = 0
Just tested it here on QCA9888 and QCA4019 with 10.4-3.5.3-00057. Is there a
version which is known to work?
Kind regards,
Sven
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: ath10k: TPC: Max antenna gain 2019-06-11 10:59 ath10k: TPC: Max antenna gain Sven Eckelmann @ 2019-06-11 12:14 ` Sven Eckelmann 0 siblings, 0 replies; 2+ messages in thread From: Sven Eckelmann @ 2019-06-11 12:14 UTC (permalink / raw) To: ath10k; +Cc: Maharaja Kennadyrajan, Maharaja Kennadyrajan [-- Attachment #1.1: Type: text/plain, Size: 1075 bytes --] On Tuesday, 11 June 2019 12:59:25 CEST Sven Eckelmann wrote: > Hi, > > the firmware doesn't seem to parse the max_antenna gain from > ath10k_update_channel_list anymore. At least the > /sys/kernel/debug/ieee80211/phy0/ath10k/tpc_stats shows me max antenna gain 0 > when I set it in ath10k_update_channel_list to 12. [...] Just checked the code a little bit more and there seem to be two problems. One is in ath10k and the other one is in my PoC change. The problem in the latter is the missing change in the vdev_restart. But the problem in ath10k is more interesting. It seems to be that the firmware expects the max_antenna_gain in dBm but the ath10k driver sends it in twicepower (0.5 dBm steps). At least this is what I see in tpc_stats when setting all max_antenna_gain to 12. And the funniest part is that the configured 9 dBm is shown as 12 twicepower (6 dB) in tpc_stats for 5GHz PHYs when using the US country code (but not when using Germany or checking 2.4GHz PHYs). Is there some hardcoded limiter in the firmware for FCC 5GHz? Kind regards, Sven [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-11 12:15 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-06-11 10:59 ath10k: TPC: Max antenna gain Sven Eckelmann 2019-06-11 12:14 ` Sven Eckelmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox