[Xenial SRU][PATCH 0/1] ath10k: enhance rf signal strength

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Xenial SRU][PATCH 0/1] ath10k: enhance rf signal strength

Shrirang Bagul
BugLink: https://bugs.launchpad.net/bugs/1736317

[Impact]
Max transmission power on QCA6174 is limited to -50dbm.

[Test Case]
DKMS with this patch applied to ath10k driver from Ubuntu Xenial kernel has
already been verified by CE-QA and deployed.

[Fix]
Adds max_tx_power to field to set transmission power to new FW correctly.
Make affected device to use sample rate quirk.

[Regression Potential]
Minimal. This patch only affects ath10k devices.

Alan Liu (1):
  ath10k: add max_tx_power for QCA6174 WLAN.RM.2.0 firmware

 drivers/net/wireless/ath/ath10k/wmi.c | 1 +
 drivers/net/wireless/ath/ath10k/wmi.h | 1 +
 2 files changed, 2 insertions(+)

--
2.14.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[Xenial SRU][PATCH 1/1] ath10k: add max_tx_power for QCA6174 WLAN.RM.2.0 firmware

Shrirang Bagul
From: Alan Liu <[hidden email]>

BugLink: https://bugs.launchpad.net/bugs/1736317

QCA6174 WLAN.RM.2.0 firmware uses max_tx_power instead of using max_reg_power
to set transmission power. The tx power was about -50dbm, after applying this
change, it become -32dbm.

Signed-off-by: Alan Liu <[hidden email]>
Signed-off-by: Kalle Valo <[hidden email]>
(cherry picked from commit 513527c87a7feab2a5b31db07e5b07864d3c08f7)
Signed-off-by: Shrirang Bagul <[hidden email]>
---
 drivers/net/wireless/ath/ath10k/wmi.c | 1 +
 drivers/net/wireless/ath/ath10k/wmi.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index 7569db0f69b5..49e58b34af2a 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -1573,6 +1573,7 @@ void ath10k_wmi_put_wmi_channel(struct wmi_channel *ch,
  ch->max_power = arg->max_power;
  ch->reg_power = arg->max_reg_power;
  ch->antenna_max = arg->max_antenna_gain;
+ ch->max_tx_power = arg->max_power;
 
  /* mode & flags share storage */
  ch->mode = arg->mode;
diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h
index 72a4ef709577..54fdbefa8172 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.h
+++ b/drivers/net/wireless/ath/ath10k/wmi.h
@@ -1732,6 +1732,7 @@ struct wmi_channel {
  __le32 reginfo1;
  struct {
  u8 antenna_max;
+ u8 max_tx_power;
  } __packed;
  } __packed;
 } __packed;
--
2.14.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [Xenial SRU][PATCH 0/1] ath10k: enhance rf signal strength

Kai-Heng Feng
In reply to this post by Shrirang Bagul


> On 5 Dec 2017, at 3:20 PM, Shrirang Bagul <[hidden email]> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/1736317
>
> [Impact]
> Max transmission power on QCA6174 is limited to -50dbm.
>
> [Test Case]
> DKMS with this patch applied to ath10k driver from Ubuntu Xenial kernel has
> already been verified by CE-QA and deployed.
>
> [Fix]
> Adds max_tx_power to field to set transmission power to new FW correctly.
> Make affected device to use sample rate quirk.
>
> [Regression Potential]
> Minimal. This patch only affects ath10k devices.
>
> Alan Liu (1):
>  ath10k: add max_tx_power for QCA6174 WLAN.RM.2.0 firmware
>
> drivers/net/wireless/ath/ath10k/wmi.c | 1 +
> drivers/net/wireless/ath/ath10k/wmi.h | 1 +
> 2 files changed, 2 insertions(+)
>

Clean cherry-pick with clear intention.

Acked-By: Kai-Heng Feng <[hidden email]>

> --
> 2.14.1
>
>
> --
> kernel-team mailing list
> [hidden email]
> https://lists.ubuntu.com/mailman/listinfo/kernel-team


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [Xenial SRU][PATCH 0/1] ath10k: enhance rf signal strength

Po-Hsu Lin (Sam)
In reply to this post by Shrirang Bagul
Clean cherry-pick.
And since Z, A, B and linux-oem all contain this patch, T does not support
this chip. It's good to target it only on Xenial.
Acked-by: Po-Hsu Lin <[hidden email]>

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team