Search Linux Wireless

Re: [PATCH v2] mac80211: better rate control algorithm selection

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

 



> > +# objects for PID algorithm
> > +rc80211_pid-y := rc80211_pid_algo.o
> > +rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o

> > +# build helper for PID algorithm
> > +rc-pid-y := $(rc80211_pid-y)
> 
> Is this extra indirection ( rc80211_pid-y ) a preparation
> for future rate algorithms or was it just coped from my proposal?
> It is not needed and it does not help readability.

As far as I can tell rc80211_pid-y is needed to build rc80211_pid.o from
rc80211_pid_algo.o and rc80211_pid_debugfs.o for the modular case, no?
Hence, I just wanted to keep it symmetric for the non-modular case.

> A second note - but more as a personal taste..
> I prefer += assignment in preference of continued lines.
> So 
> +mac80211-y := \
>  	ieee80211.o \
>   	ieee80211_ioctl.o \
>  	sta_info.o \
> 
> would become:
> +mac80211-y := ieee80211.o ieee80211_ioctl.o
> +mac80211-y += sta_info.o

Yeah, I was hoping the diff would be smaller this way because it was
already this way before.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux