Re: [RFC v4 8/8] mac80211: use Kconfig counters to determine feature optimisation

2015-11-13 Thread Steven Rostedt
On Fri, 13 Nov 2015 17:35:39 +0100 Johannes Berg wrote: > On Fri, 2015-11-13 at 11:29 -0500, Steven Rostedt wrote: > > > > - select MAC80211_HW_HAS_RATE_CONTROL_OFF > > > - select MAC80211_HW_RX_INCLUDES_FCS_OFF > > > > What happened to these two? > > I removed the _OFF ones entirely, and

Re: [RFC v4 8/8] mac80211: use Kconfig counters to determine feature optimisation

2015-11-13 Thread Johannes Berg
On Fri, 2015-11-13 at 11:29 -0500, Steven Rostedt wrote: > > - select MAC80211_HW_HAS_RATE_CONTROL_OFF > > - select MAC80211_HW_RX_INCLUDES_FCS_OFF > > What happened to these two? I removed the _OFF ones entirely, and instead with this patch am now relying on modified logic:  _on  = flags_c

Re: [RFC v4 8/8] mac80211: use Kconfig counters to determine feature optimisation

2015-11-13 Thread Steven Rostedt
On Thu, 12 Nov 2015 09:47:53 +0100 Johannes Berg wrote: > From: Johannes Berg > > Drivers that would like to have feature flag optimisations are > currently required to select _ON and _OFF symbols for each one, > indicating whether they'd like to be optimised for being on or > off respectively.

[RFC v4 8/8] mac80211: use Kconfig counters to determine feature optimisation

2015-11-12 Thread Johannes Berg
From: Johannes Berg Drivers that would like to have feature flag optimisations are currently required to select _ON and _OFF symbols for each one, indicating whether they'd like to be optimised for being on or off respectively. This handles badly, if a new feature flag is added then all such driv