AP/driver: Add link ID to send EAPOL callbacks
EAPOL frames may need to be transmitted from the link address and not MLD address. For example, in case of authentication between AP MLD and legacy STA. Add link_id parameter to EAPOL send APIs. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
parent
c5271faf55
commit
172b0a9a2b
12 changed files with 40 additions and 19 deletions
|
@ -377,7 +377,7 @@ static inline int wpa_drv_tx_control_port(struct wpa_supplicant *wpa_s,
|
|||
if (!wpa_s->driver->tx_control_port)
|
||||
return -1;
|
||||
return wpa_s->driver->tx_control_port(wpa_s->drv_priv, dest, proto,
|
||||
buf, len, no_encrypt);
|
||||
buf, len, no_encrypt, -1);
|
||||
}
|
||||
|
||||
static inline int wpa_drv_hapd_send_eapol(struct wpa_supplicant *wpa_s,
|
||||
|
@ -388,7 +388,7 @@ static inline int wpa_drv_hapd_send_eapol(struct wpa_supplicant *wpa_s,
|
|||
if (wpa_s->driver->hapd_send_eapol)
|
||||
return wpa_s->driver->hapd_send_eapol(wpa_s->drv_priv, addr,
|
||||
data, data_len, encrypt,
|
||||
own_addr, flags);
|
||||
own_addr, flags, -1);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue