]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211_hwsim: send NDP for link (de)activation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Sep 2022 14:12:48 +0000 (16:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2022 08:14:36 +0000 (10:14 +0200)
commit06ba83a4f0fd8b50939599fd6ac0c4c0002c1993
treebbbac2b39993d78d8bfd9f7913a0626918b6fc05
parent2ec565e07f222f4a82bc5caf2f2d0b1349894094
wifi: mac80211_hwsim: send NDP for link (de)activation

In hwsim we now track when we receive NDP (or other frames
carrying a PM bit) to see if a link should be active, but
then of course we also need to transmit NDPs to at least
set a link to inactive when we deacivate it. Implement that
as well as sending an NDP when we activate a link, which
allows receiving frames before transmitting any.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c