2023-09-25 13:26:06

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] wifi: cfg80211/mac80211: add support for AP channel switch with MLO

On Mon, 2023-09-25 at 17:28 +0530, Aditya Kumar Singh wrote:
>
> -void ieee80211_csa_finish(struct ieee80211_vif *vif)
> +void ieee80211_csa_finish(struct ieee80211_vif *vif, unsigned int link_id)
> {
> struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
> struct ieee80211_local *local = sdata->local;
> + struct ieee80211_link_data *link_data;
> +
> + if (WARN_ON(link_id > IEEE80211_MLD_MAX_NUM_LINKS))
> + return;

>=.

You also have that in the other patch.

johannes


2023-09-25 20:02:14

by Aditya Kumar Singh

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] wifi: cfg80211/mac80211: add support for AP channel switch with MLO

On 9/25/23 18:42, Johannes Berg wrote:
> On Mon, 2023-09-25 at 17:28 +0530, Aditya Kumar Singh wrote:
>>
>> -void ieee80211_csa_finish(struct ieee80211_vif *vif)
>> +void ieee80211_csa_finish(struct ieee80211_vif *vif, unsigned int link_id)
>> {
>> struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
>> struct ieee80211_local *local = sdata->local;
>> + struct ieee80211_link_data *link_data;
>> +
>> + if (WARN_ON(link_id > IEEE80211_MLD_MAX_NUM_LINKS))
>> + return;
>
>> =.
>
> You also have that in the other patch.Sure, got it. Thanks.