Message ID | 20240125130410.827701-1-quic_adisi@quicinc.com |
---|---|
Headers | show |
Series | wifi: cfg80211/mac80211: add link_id handling in AP channel switch during Multi-Link Operation | expand |
On Thu, 2024-01-25 at 18:34 +0530, Aditya Kumar Singh wrote: > Currently, during channel switch, no link id information is passed > due to which channel switch is carried on deflink always. I guess I already know what you mean, but ... that's really hard to parse, can you rewrite it? > --- a/include/net/cfg80211.h > +++ b/include/net/cfg80211.h > @@ -1531,6 +1531,8 @@ struct cfg80211_ap_update { > * @punct_bitmap: Preamble puncturing bitmap. Each bit represents > * a 20 MHz channel, lowest bit corresponding to the lowest channel. > * Bit set to 1 indicates that the channel is punctured. > + * @link_id: defines the link on which channel switch is expected during > + * MLO. 0 is case of non-MLO. please use a tab johannes
On Thu, 2024-01-25 at 18:34 +0530, Aditya Kumar Singh wrote: > Currently, function to update beacon counter uses deflink to fetch > the beacon and then update the counter. However, with MLO, there is > a need to update the counter for the beacon in a particular link. > > Add support to use link_id in order to fetch the beacon from a particular > link data during beacon update counter. > Seems it would make sense to put this patch _before_ patch 2, since otherwise in patch 2 it would appear to be kind of working but then not really work? johannes
On 1/26/24 14:48, Johannes Berg wrote: > On Thu, 2024-01-25 at 18:34 +0530, Aditya Kumar Singh wrote: >> Currently, during channel switch, no link id information is passed >> due to which channel switch is carried on deflink always. > > I guess I already know what you mean, but ... that's really hard to > parse, can you rewrite it? > Sure, let me rephrase it. >> --- a/include/net/cfg80211.h >> +++ b/include/net/cfg80211.h >> @@ -1531,6 +1531,8 @@ struct cfg80211_ap_update { >> * @punct_bitmap: Preamble puncturing bitmap. Each bit represents >> * a 20 MHz channel, lowest bit corresponding to the lowest channel. >> * Bit set to 1 indicates that the channel is punctured. >> + * @link_id: defines the link on which channel switch is expected during >> + * MLO. 0 is case of non-MLO. > > please use a tab > Oh, checkpatch did not warn me. Let me take a look still. Thanks for pointing it out.
On 1/26/24 15:01, Johannes Berg wrote: > On Thu, 2024-01-25 at 18:34 +0530, Aditya Kumar Singh wrote: >> Currently, function to update beacon counter uses deflink to fetch >> the beacon and then update the counter. However, with MLO, there is >> a need to update the counter for the beacon in a particular link. >> >> Add support to use link_id in order to fetch the beacon from a particular >> link data during beacon update counter. >> > > Seems it would make sense to put this patch _before_ patch 2, since > otherwise in patch 2 it would appear to be kind of working but then not > really work? > You are right! I will move this to before [2] then followed by csa_finish() changes and then last patch would be to start csa process on given link. Looks fine?