Message ID | 20201228162839.369156-8-bryan.odonoghue@linaro.org |
---|---|
State | New |
Headers | show |
Series | wcn36xx: Enable downstream consistent Wake on Lan | expand |
Bryan O'Donoghue <bryan.odonoghue@linaro.org> writes: > Set a flag to indicate magic packet wakeup support on wcn36xx. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > drivers/net/wireless/ath/wcn36xx/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/wcn36xx/main.c > b/drivers/net/wireless/ath/wcn36xx/main.c > index 579bb7f4db9c..cfa2e2d20a20 100644 > --- a/drivers/net/wireless/ath/wcn36xx/main.c > +++ b/drivers/net/wireless/ath/wcn36xx/main.c > @@ -173,7 +173,7 @@ static struct ieee80211_supported_band wcn_band_5ghz = { > #ifdef CONFIG_PM > > static const struct wiphy_wowlan_support wowlan_support = { > - .flags = WIPHY_WOWLAN_ANY > + .flags = WIPHY_WOWLAN_ANY | WIPHY_WOWLAN_MAGIC_PKT > }; Shouldn't this be the last patch so that we don't enable the feature until it's fully implemented? This makes a difference when doing a bisect, for example. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
On 11/01/2021 11:38, Kalle Valo wrote: > Bryan O'Donoghue <bryan.odonoghue@linaro.org> writes: > >> Set a flag to indicate magic packet wakeup support on wcn36xx. >> >> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> >> --- >> drivers/net/wireless/ath/wcn36xx/main.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/net/wireless/ath/wcn36xx/main.c >> b/drivers/net/wireless/ath/wcn36xx/main.c >> index 579bb7f4db9c..cfa2e2d20a20 100644 >> --- a/drivers/net/wireless/ath/wcn36xx/main.c >> +++ b/drivers/net/wireless/ath/wcn36xx/main.c >> @@ -173,7 +173,7 @@ static struct ieee80211_supported_band wcn_band_5ghz = { >> #ifdef CONFIG_PM >> >> static const struct wiphy_wowlan_support wowlan_support = { >> - .flags = WIPHY_WOWLAN_ANY >> + .flags = WIPHY_WOWLAN_ANY | WIPHY_WOWLAN_MAGIC_PKT >> }; > > Shouldn't this be the last patch so that we don't enable the feature > until it's fully implemented? This makes a difference when doing a > bisect, for example. > Sure, I'll add the flags from the subsequent patch and stack on-top so the enable is the last patch for magic packet and gtk rekey _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 579bb7f4db9c..cfa2e2d20a20 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -173,7 +173,7 @@ static struct ieee80211_supported_band wcn_band_5ghz = { #ifdef CONFIG_PM static const struct wiphy_wowlan_support wowlan_support = { - .flags = WIPHY_WOWLAN_ANY + .flags = WIPHY_WOWLAN_ANY | WIPHY_WOWLAN_MAGIC_PKT }; #endif
Set a flag to indicate magic packet wakeup support on wcn36xx. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.2 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx