Re: [RFC] mac80211_hwsim: report survey data for scanned channels

2017-03-06 Thread Johannes Berg
On Sat, 2017-03-04 at 11:10 +0200, Jouni Malinen wrote: > On Tue, Feb 21, 2017 at 11:31:18AM +0100, Johannes Berg wrote: > > Currently, hwsim is reporting survey data (only a fake noise floor) > > for the current channel. This breaks when the multi-channel support > > is enabled since then there's

Re: [RFC] mac80211_hwsim: report survey data for scanned channels

2017-03-04 Thread Jouni Malinen
On Tue, Feb 21, 2017 at 11:31:18AM +0100, Johannes Berg wrote: > Currently, hwsim is reporting survey data (only a fake noise floor) > for the current channel. This breaks when the multi-channel support > is enabled since then there's no current channel. > > Make the dummy implementation closer

[RFC] mac80211_hwsim: report survey data for scanned channels

2017-02-21 Thread Johannes Berg
From: Johannes Berg Currently, hwsim is reporting survey data (only a fake noise floor) for the current channel. This breaks when the multi-channel support is enabled since then there's no current channel. Make the dummy implementation closer to a real one and only