[PATCH 07/13] wcn36xx: Flag WIPHY_WOWLAN_MAGIC_PKT

Bryan O'Donoghue bryan.odonoghue at linaro.org
Mon Jan 11 06:49:20 EST 2021


On 11/01/2021 11:38, Kalle Valo wrote:
> Bryan O'Donoghue <bryan.odonoghue at linaro.org> writes:
> 
>> Set a flag to indicate magic packet wakeup support on wcn36xx.
>>
>> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at 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



More information about the wcn36xx mailing list