OSDN Git Service

mac80211: fix struct ieee80211_tx_info size
authorAvraham Stern <avraham.stern@intel.com>
Wed, 2 Feb 2022 08:49:47 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:26:53 +0000 (16:26 +0100)
commitea5907db2a9ccf37fdb6d1e67bcb620c1fea10f8
tree5c7ce37330f5a6546b1d860828031227a8364cfb
parent97634ef4bf07fbf8a4adbee2a94e452fdd073d69
mac80211: fix struct ieee80211_tx_info size

The size of the status_driver_data field was not adjusted when
the is_valid_ack_signal field was added.
Since the size of struct ieee80211_tx_info is limited, replace
the is_valid_ack_signal field with a flags field, and adjust the
struct size accordingly.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220202104617.0ff363d4fa56.I45792c0187034a6d0e1c99a7db741996ef7caba3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath10k/txrx.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath11k/dp_tx.c
include/net/mac80211.h
net/mac80211/status.c