ACK: [PATCH 1/2][Xenial SRU] UBUNTU: SAUCE: Redpine: enable power save by default for coex mode
Stefan Bader
stefan.bader at canonical.com
Mon Jul 31 09:29:39 UTC 2017
On 28.07.2017 13:22, Amitkumar Karwar wrote:
> From: Prameela Rani Garnepudi <prameela.j04cs at gmail.com>
>
> BugLink: https://bugs.launchpad.net/bugs/1706991
>
> When Coex mode is enabled, enabling power save will improve
> radio sharing. Hence PS on by default flag is set.
>
> Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs at gmail.com>
> Signed-off-by: Amitkumar Karwar <amit.karwar at redpinesignals.com>
Acked-by: Stefan Bader <stefan.bader at canonical.com>
> ---
> ubuntu/rsi/rsi_91x_mac80211.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/ubuntu/rsi/rsi_91x_mac80211.c b/ubuntu/rsi/rsi_91x_mac80211.c
> index 003f49d..8a4100a 100644
> --- a/ubuntu/rsi/rsi_91x_mac80211.c
> +++ b/ubuntu/rsi/rsi_91x_mac80211.c
> @@ -2835,6 +2835,9 @@ int rsi_mac80211_attach(struct rsi_common *common)
> // NL80211_FEATURE_P2P_GO_OPPPS);
> #endif
>
> + if (common->coex_mode > 1)
> + wiphy->flags |= WIPHY_FLAG_PS_ON_BY_DEFAULT;
> +
> status = ieee80211_register_hw(hw);
> if (status) {
> ven_rsi_dbg(ERR_ZONE, "Failed to register to mac80211\n");
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20170731/e9221170/attachment.sig>
More information about the kernel-team
mailing list