Re: [ath9k-devel] [PATCH 2/3] ath9k: make rxfilter per HW

2015-06-22 Thread Johannes Berg
On Mon, 2015-06-22 at 13:43 +0200, Janusz Dziedzic wrote: mac80211 configure rxfilter per HW, so we don't need this per channel. As I said before, I think there's value in mac80211 doing it per chanctx or even per vif, and it should be more efficient to do so. It's tempting to do it per vif

[ath9k-devel] [PATCH 2/3] ath9k: make rxfilter per HW

2015-06-22 Thread Janusz Dziedzic
mac80211 configure rxfilter per HW, so we don't need this per channel. This fix problem when chanctx used and ath9k allocate new internal ath_chanctx (eg. when offchannel) and we loose rxfilter configuration. Eg. when p2p_find (with use_chanctx=1), during remain on channel, driver create new

Re: [ath9k-devel] [PATCH 2/3] ath9k: make rxfilter per HW

2015-06-22 Thread Johannes Berg
On Mon, 2015-06-22 at 13:58 +0200, Johannes Berg wrote: On Mon, 2015-06-22 at 13:43 +0200, Janusz Dziedzic wrote: mac80211 configure rxfilter per HW, so we don't need this per channel. As I said before, I think there's value in mac80211 doing it per chanctx or even per vif, and it should

Re: [ath9k-devel] [PATCH 2/3] ath9k: make rxfilter per HW

2015-06-22 Thread Felix Fietkau
On 2015-06-22 13:59, Johannes Berg wrote: On Mon, 2015-06-22 at 13:58 +0200, Johannes Berg wrote: On Mon, 2015-06-22 at 13:43 +0200, Janusz Dziedzic wrote: mac80211 configure rxfilter per HW, so we don't need this per channel. As I said before, I think there's value in mac80211 doing it