]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: cfg80211: copy multi-link element from the multi-link probe request's frame...
authorMichael-CY Lee <michael-cy.lee@mediatek.com>
Wed, 25 Dec 2024 07:37:25 +0000 (15:37 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 12:53:53 +0000 (13:53 +0100)
commit61dcfa8c2a8f6c53ce77b2c832b82990754b2aa9
treea3524192151c46bb2e74b35b14618a7f110ef051
parent58c131f08851b24f90142b09230c6bf72e2219ac
wifi: cfg80211: copy multi-link element from the multi-link probe request's frame body to the generated elements

According to Draft P802.11be_D7.0 clause 35.3.4.2, if a multi-link
request requests an MLD with which an AP corresponding to the
nontransmitted BSSID, the corresponding multi-link probe response
shall carry a basic multi-mink element of that MLD in the frame body
of the multi-link probe response, whose location is outside of the
Multiple BSSID element carried in the frame.

Therefore additional handing is needed for parsing multi-link probe
response and generating the merged elements so that the MLD in the frame
body can be correctly copied to the generated elements. Otherwise, the
nontransmitted BSS looks like non-MLD.

Signed-off-by: Money Wang <money.wang@mediatek.com>
Signed-off-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://patch.msgid.link/20241225073725.847062-1-michael-cy.lee@mediatek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c