]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Control the registration for RRM frame with driver_param
authorSunil Dutt <usdutt@codeaurora.org>
Mon, 27 Apr 2020 09:06:16 +0000 (14:36 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 20 May 2020 21:30:54 +0000 (00:30 +0300)
commitdb0d0b84af89dcf7bb09a666931d97d93f80e749
tree7f620ac571600ed01d45e081df6b82f044416557
parentdd2daf0848ed8854065cc5cfca07a0538cd380af
nl80211: Control the registration for RRM frame with driver_param

wpa_supplicant registered to process the Radio Measurement Request
frames unconditionally. This would prevent other location based
applications from handling these frames. Enable such a use case by
allowing wpa_supplicant to be configured not to register to process
these frames. This can now be done by adding "no_rrm=1" to the
driver_param configuration parameter.

In addition, wpa_driver_nl80211_init() does not have the provision to
take driver_params. Hence, resubscribe again with cfg80211 when this
driver parameter "no_rrm=1" is set after the initial setup steps.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211.h