Re: [B.A.T.M.A.N.] [PATCH 2/7] mac80211: add get_expected_throughput API

Johannes Berg
2014-04-25T15:44:56Z

On Mon, 2014-04-14 at 16:03 +0200, Antonio Quartulli wrote:

> + u32 (*get_expected_throughput)(struct ieee80211_sta *sta);

This isn't nice - it forces drivers to conjure up a value.

You should probably at least allow returning 0 for "no idea" or
something.

johannes