Commit 4970e393 authored by Michael-CY Lee's avatar Michael-CY Lee Committed by Johannes Berg
Browse files

wifi: mac80211: determine missing link_id in ieee80211_rx_for_interface() based on frequency



For broadcast frames, every interface might have to process it and
therefore the link_id cannot be determined in the driver.

In mac80211, when the frame is about to be forwarded to each interface,
we can use the member "freq" in struct ieee80211_rx_status to determine
the "link_id" for each interface.

Signed-off-by: default avatarMichael-CY Lee <michael-cy.lee@mediatek.com>
Reviewed-by: default avatarMoney Wang <money.wang@mediatek.com>
Link: https://patch.msgid.link/20250721062929.1662700-1-michael-cy.lee@mediatek.com


[simplify, remove unnecessary link->conf check]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c639a44a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment