Commit 04c836da authored by Prameela Rani Garnepudi's avatar Prameela Rani Garnepudi Committed by Kleber Sacilotto de Souza

UBUNTU: SAUCE: Redpine: enable power save by default for coex mode

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: default avatarPrameela Rani Garnepudi <prameela.j04cs@gmail.com>
Signed-off-by: default avatarAmitkumar Karwar <amit.karwar@redpinesignals.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent e6d98894
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment