[RESEND PATCH] Update PMK parameters in WPA state machine before association
Jouni Malinen
j at w1.fi
Thu Sep 29 03:30:45 PDT 2022
On Fri, Sep 23, 2022 at 03:48:07PM +0200, Beniamino Galvani wrote:
> Currently, PMK parameters in the WPA state machine are set from
> configuration only when the interface is initialized.
>
> If those parameters are changed later (for example, via D-Bus) and
> then a new association starts, the new values will not have effect.
>
> Update the parameters also before a new association.
This does not feel correct.. The control interface for updating these
parameters is already calling wap_sm_set_param() immediately when the
value is updated. This might have an impact even for the current
association, so forcing an update when starting a new one would not
cover that. Shouldn't the D-Bus interface handler be updated to call
wpa_sm_set_param() instead to match the design in
wpa_supplicant/ctrl_iface.c?
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list