Johannes Berg | 2 Jan 15:04
Favicon

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

Hi Sam,

Thanks for your reply.

> MAC80211_RC_PID build-in =>
>     rc80211_pid_algo as build-in
>     rc80211_pid_debugfs as build-in if CONFIG_MAC80211_DEBUGFS equals y (is enabled)
> 
> MAC80211_RC_PID module =>
>    rc80211_pid.o as a module 
>    rc80211_pid_algo.o and rc80211_pid_debugfs.o are ignored

Well, 'ignored' may be too strong since rc80211_pid.o is built from the
latter two objects.

> # If RC algorithm in build-in
> rate-rc-y := rc80211_pid_algo.o
> rate-rc-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
> 
> # If RC algorithm is modular
> rate-rc-m := rc80211_pid.o

I don't think that will work since the system won't know how to build
rc80211_pid.o. I have another patch inspired by yours which is much
better than my first, just need to test it.

johannes

Gmane