diff options
author | 2022-06-01 14:16:00 +0200 | |
---|---|---|
committer | 2022-06-20 12:55:38 +0200 | |
commit | e5c0ee01fedf2df42426ac4b3c45b4c5cd49de4a (patch) | |
tree | 27999aa42efc69dfc8860d4cbb21d8fddcc24f6f /net/mac80211/ieee80211_i.h | |
parent | wifi: mac80211: sort trace.h file (diff) | |
download | linux-e5c0ee01fedf2df42426ac4b3c45b4c5cd49de4a.tar.gz linux-e5c0ee01fedf2df42426ac4b3c45b4c5cd49de4a.tar.bz2 linux-e5c0ee01fedf2df42426ac4b3c45b4c5cd49de4a.zip |
wifi: mac80211: status: look up band only where needed
For MLD, we might eventually not really know the band on status,
but some code assumes it's there. Move the sband lookup deep to
the code that actually needs it, to make it clear where exactly
it's needed and for what purposes.
For rate control, at least initially we won't support it in MLO,
so that won't be an issue.
For TX monitoring, we may have to elide the rate and/or rely on
ieee80211_tx_status_ext() for rate information.
This also simplifies the function prototypes.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index c3387ffe27f5..8286e607152c 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -2036,7 +2036,6 @@ struct sk_buff * ieee80211_build_data_template(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, u32 info_flags); void ieee80211_tx_monitor(struct ieee80211_local *local, struct sk_buff *skb, - struct ieee80211_supported_band *sband, int retry_count, int shift, bool send_to_cooked, struct ieee80211_tx_status *status); |