]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix dpp_listen in DPP responder scenario
authorMichal Kazior <michal@plume.com>
Tue, 15 Dec 2020 09:34:54 +0000 (09:34 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 6 Feb 2021 14:06:15 +0000 (16:06 +0200)
commit3a00a86bb948f50f4506f4ad1dc3b5b5b845f435
tree6d14abbb2168c390a2fcc566873406695ea80e84
parent9ec28b657e4cd420c2ddd9e5f752fdcd4a9fdd1f
hostapd: Fix dpp_listen in DPP responder scenario

Some time ago it was found some drivers are setting their hw/ucode RX
filters restrictively enough to prevent broadcast DPP Action frames from
being received at upper layers in the stack.

A set of patches was introduced to the kernel and
ath9k driver as well as wpa_supplicant, e.g.,

  a39e9af90 ("nl80211: DPP listen mode callback")
  4d2ec436e ("DPP: Add driver operation for enabling/disabling listen mode")

However, the hostapd code itself was not calling the new multicast
registration. As such the AP side of things wasn't working as expected
in some scenarios. I've found this while trying to get ath9k working as
an AP Responder/Configurator.

The problem wasn't seen on, e.g., mac80211 hwsim driver.

Extend the wpa_supplicant mechanism to work with hostapd as well.

Signed-off-by: Michal Kazior <michal@plume.com>
src/ap/ap_drv_ops.c
src/ap/ap_drv_ops.h
src/ap/dpp_hostapd.c