]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
MBSSID: Send probe response only from transmitting BSS for MBSSID
authorDhanavandhana Kannan <dhanavandhana.kannan@oss.qualcomm.com>
Wed, 8 Oct 2025 03:20:46 +0000 (08:50 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 8 Oct 2025 21:00:38 +0000 (00:00 +0300)
In MBSSID enabled case, when a Probe Request frame with A3=wildcard
BSSID is received and the SSID matches that of a non-TX BSS, the Probe
Response frmae is queued to the driver with non-TX BSS context. But,
mgmt->sa will be set to the TX BSS as it should be used to build the
Probe Response frame. This leads to TX failure as kernel checks the
management address with that of the BSS address, in this case it is the
non-TX BSS address.

Fix this issue by using the TX BSS for queuing the Probe Response frame
to the driver.

Signed-off-by: Dhanavandhana Kannan <dhanavandhana.kannan@oss.qualcomm.com>
Signed-off-by: Manish Dharanenthiran <manish.dharanenthiran@oss.qualcomm.com>
src/ap/beacon.c

index 6cfaf099e5e10ec15c7da094b8f3558a3f26de46..259582357a1eea8e019fedcb04bbffa9d8c87f9d 100644 (file)
@@ -1723,7 +1723,8 @@ void handle_probe_req(struct hostapd_data *hapd,
                                params.ecsa_pos - (u8 *) params.resp;
        }
 
-       ret = hostapd_drv_send_mlme(hapd, params.resp, params.resp_len, noack,
+       ret = hostapd_drv_send_mlme(hostapd_mbssid_get_tx_bss(hapd),
+                                   params.resp, params.resp_len, noack,
                                    csa_offs_len ? csa_offs : NULL,
                                    csa_offs_len, 0);