NAK: [PATCH 1/2] UBUNTU: Redpine: enable power save by default for coex mode
Shrirang Bagul
shrirang.bagul at canonical.com
Fri Jul 28 04:13:23 UTC 2017
On Thu, 2017-07-27 at 20:52 +0530, 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>
> ---
> 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");
More information about the kernel-team
mailing list