On Wed, Oct 28, 2020 at 10:25 PM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: [...] > Wouldn't it make more sense to push that a layer down > into ieee80211_rx_napi(), or actually now perhaps even > better ieee80211_rx_list(), so we get it even if the driver called that > API in the first place? > > You might only care about hwsim at this point, but perhaps hwsim would > get optimised .. Yes, ieee80211_rx_list() seems to be a reasonable place to move these annotations to. Thanks for the suggestion. I've incorporated this change into v5: https://lkml.kernel.org/r/20201029173620.2121359-1-aleksandrnogikh@xxxxxxxxx