]> git.ipfire.org Git - thirdparty/hostap.git/commit
Set OCV capability based on Association Request frame RSNE
authorAleti Nageshwar Reddy <quic_anageshw@quicinc.com>
Mon, 23 Jan 2023 09:53:31 +0000 (15:23 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 25 Jan 2023 21:47:33 +0000 (23:47 +0200)
commitdc7e330e0b8997bb3611fa0a668303a3f2aa9959
tree2e4a1c6139b1c43a3751016c2a4f89ddb87db95e
parente8706c109e922f288542f02c8c58766ef4e26ed7
Set OCV capability based on Association Request frame RSNE

Currently, OCV self-capability is being set into the RSN supplicant
state machine only during the initial connection and never getting
updated. But for the driver-SME cases the driver may enable/disable OCV
in (Re)Association Request frame RSNE based on the AP chosen to roam.
This will lead to missing synchronization between wpa_supplicant and the
driver. Thus, update OCV self-capability in the wpa_supplicant RSN state
machine based on the (Re)Association Request frame RSNE indicated in the
connect response.

Signed-off-by: Aleti Nageshwar Reddy <quic_anageshw@quicinc.com>
wpa_supplicant/events.c