Search Linux Wireless

Re: [PATCH v7 3/5] wifi: mac80211: handle set csa/after_csa beacon on per link basis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2024-01-30 at 10:02 +0530, Aditya Kumar Singh wrote:
> In order to support CSA with MLO, there is a need to handle the functions
> ieee80211_set_csa_beacon() and ieee80211_set_after_csa_beacon() on per
> link basis.

nit: "on a per link"

> Add changes for the same.

Is that some cultural thing?

I always find this phrasing with "for the same" very odd, and would
rather say something useful such as "Implement this by passing the
correct link data"... but I see this a lot, hence the question.

> @@ -3658,7 +3659,7 @@ static int __ieee80211_csa_finalize(struct ieee80211_link_data *link_data)
>  
>  	sdata->vif.bss_conf.csa_active = false;
>  
> -	err = ieee80211_set_after_csa_beacon(sdata, &changed);
> +	err = ieee80211_set_after_csa_beacon(&sdata->deflink, &changed);

weren't you just saying deflink shouldn't be used?

> @@ -3928,7 +3930,7 @@ __ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev,
>  	if (sdata->vif.bss_conf.color_change_active)
>  		ieee80211_color_change_abort(sdata);
>  
> -	err = ieee80211_set_csa_beacon(sdata, params, &changed);
> +	err = ieee80211_set_csa_beacon(&sdata->deflink, params, &changed);

dito

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux