wifi: mac80211: add link information in ieee80211_rx_status
authorVasanthakumar Thiagarajan <quic_vthiagar@quicinc.com>
Wed, 17 Aug 2022 10:42:12 +0000 (16:12 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:41:14 +0000 (10:41 +0200)
commitea9d807b56428d65cf43030cbd7ae5a580077147
tree57c164ff34730ed00a68048dd10369979fc673ef
parentccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131
wifi: mac80211: add link information in ieee80211_rx_status

In MLO, when the address translation from link to MLD is done
in fw/hw, it is necessary to be able to have some information
on the link on which the frame has been received. Extend the
rx API to include link_id and a valid flag in ieee80211_rx_status.
Also make chanes to mac80211 rx APIs to make use of the reported
link_id after sanity checks.

Signed-off-by: Vasanthakumar Thiagarajan <quic_vthiagar@quicinc.com>
Link: https://lore.kernel.org/r/20220817104213.2531-2-quic_vthiagar@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/rx.c