[RESEND PATCH] Update PMK parameters in WPA state machine before association

Beniamino Galvani bgalvani at redhat.com
Fri Sep 30 07:35:05 PDT 2022


On Thu, Sep 29, 2022 at 01:30:45PM +0300, Jouni Malinen wrote:
> 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?

Makes sense, I'll send a new patch.

Thanks,
Beniamino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20220930/a4a3cd5c/attachment.sig>


More information about the Hostap mailing list