[PATCH v2] ath10k: fix max antenna gain unit

2019-06-11 Thread Sven Eckelmann
From: Sven Eckelmann Most of the txpower for the ath10k firmware is stored as twicepower (0.5 dB steps). This isn't the case for max_antenna_gain - which is still expected by the firmware as dB. The firmware is converting it from dB to the internal (twicepower) representation when it calculates

Re: [PATCH] ath10k: fix max antenna gain unit

2019-06-11 Thread Ben Greear
On 6/11/19 5:19 AM, Sven Eckelmann wrote: From: Sven Eckelmann Most of the txpower for the ath10k firmware is stored as twicepower (0.5 dB steps). This isn't the case for max_antenna_gain - which is still expected by the firmware as dB. The firmware is converting it from dB to the internal

Re: ath10k: TPC: Max antenna gain

2019-06-11 Thread Sven Eckelmann
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

[PATCH] ath10k: fix max antenna gain unit

2019-06-11 Thread Sven Eckelmann
From: Sven Eckelmann Most of the txpower for the ath10k firmware is stored as twicepower (0.5 dB steps). This isn't the case for max_antenna_gain - which is still expected by the firmware as dB. The firmware is converting it from dB to the internal (twicepower) representation when it calculates

ath10k: TPC: Max antenna gain

2019-06-11 Thread Sven Eckelmann
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

Re: ath10k QCA9377 firmware crashes and fails to recover

2019-06-11 Thread Daniel Drake
Hi Kalle, On Thu, May 23, 2019 at 3:36 PM Kalle Valo wrote: > > Daniel Drake writes: > > > We are experiencing failures with QCA9377 wifi, using Linux 4.18 and > > Linux 5.0 with the latest firmware version: > > > > ath10k_pci :02:00.0: firmware crashed! (guid > >