Search Linux Wireless

Re: [PATCH] wifi: mac80211: trace SMPS requests from driver

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

 



On Thu, 2024-02-01 at 10:21 -0800, Jeff Johnson wrote:
> 
> > +
> > +	TP_fast_assign(
> > +		LOCAL_ASSIGN;
> > +		VIF_ASSIGN;
> > +		__entry->link_id =
> > +			ieee80211_vif_is_mld(&sdata->vif) ? link->link_id : -1;
> 
> why go to this trouble?
> why not just print the link_id that was passed into
> ieee80211_request_smps()? just so non-MLD will give -1 instead of 0?
> seems all of the other existing trace functions just print the link_id
> that was provided

Yeah, good point, we should anyway know from the context whether it's
MLO or not.

Didn't really think about it, tbh.

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