mac80211: swap NEED_TXPROCESSING and HW_80211_ENCAP tx flags
authorFelix Fietkau <nbd@nbd.name>
Tue, 8 Sep 2020 12:36:57 +0000 (14:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 10:13:06 +0000 (12:13 +0200)
commitcc20ff2c6b5d3e28747c6d30ecd097ea1a4d2502
tree92e2176dfa1d580283a7f87ce50384c58513d23d
parentc74114d7d51521bd785bf6aa0f90ee87d99bee8a
mac80211: swap NEED_TXPROCESSING and HW_80211_ENCAP tx flags

In order to unify the tx status path, the hw 802.11 encapsulation flag
needs to survive the trip to the tx status call.
Since we don't have any free bits in info->flags, we need to move one.
IEEE80211_TX_INTFL_NEED_TXPROCESSING is only used internally in mac80211,
and only before the call into the driver.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200908123702.88454-10-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath11k/dp_tx.c
drivers/net/wireless/ath/ath11k/mac.c
include/net/mac80211.h
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_ps.c
net/mac80211/rx.c
net/mac80211/status.c
net/mac80211/tx.c