mbox series

[RFC,0/2] wifi: mac80211: extend rx API with link_id for MLO connection

Message ID 20220802065019.20791-1-quic_vthiagar@quicinc.com (mailing list archive)
Headers show
Series wifi: mac80211: extend rx API with link_id for MLO connection | expand

Message

Vasanthakumar Thiagarajan Aug. 2, 2022, 6:50 a.m. UTC
In MLO, the frames can be received on any of the affiliated links.
When the address translation for rx frames are done in fw/hw, it
is very important to have an explicit link information reported
for every rx frame to mac80211. Per-link processing includes
stats update, GTK/IGTK/BIGTK retrieval and so on. This patch
set only tries to use the link at the top level APIs, deep
rx handlers are yet to be changed to use the respective
link accordingly.

This series is prepared on top of the latest mld branch.

Base mld commit

commit f69d4554386b4d2b56ca883fb97c92d64e188615
Author: Shaul Triebitz <shaul.triebitz@intel.com>
Date:   Sun Jul 24 11:07:32 2022 +0300

    wifi: mac80211: properly set old_links when removing a link

    In ieee80211_sta_remove_link, valid_links is set to
    the new_links before calling drv_change_sta_links, but
    is used for the old_links.

    Change-Id: I7f74b5d818c6154bc544a75a2933ab924b0c8937
    Fixes: cb71f1d136a6 ("wifi: mac80211: add sta link addition/removal")
    Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>


Vasanthakumar Thiagarajan (2):
  wifi: mac80211: add a new field in ieee80211_rx_status for link id
  wifi: mac80211: use link_id from ieee80211_rx_status to retrieve rx
    link

 include/net/mac80211.h |   4 ++
 net/mac80211/rx.c      | 133 ++++++++++++++++++++++++++++++++++++++---
 2 files changed, 128 insertions(+), 9 deletions(-)