All of lore.kernel.org
 help / color / mirror / Atom feed
* ath9k/mac80211 wrong hw RX filter? - tests, dpp_pkex* failed
@ 2020-03-21 14:04 Janusz Dziedzic
  2020-04-15 20:22 ` Jouni Malinen
  0 siblings, 1 reply; 2+ messages in thread
From: Janusz Dziedzic @ 2020-03-21 14:04 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jouni Malinen, Johannes Berg

Hello,

Just check dpp_pkex* test cases in my remote test environment (ath9k
devices) and seems by default fail:
 - supplicant using remain_on_channel here
 - we don't receive broadcast action frame(s) (PKEX exchange request)
 - I suspect HW rx filter configuration don't work correctly here

In case will add monitor interface to the iface that ath9k station
using, test case always pass (we receive this action frame(s) when
remain-on-channel).

janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c
config-home.py -r t2-ath9k-1 -r t2-ath9k-2 -h dpp_pkex
REF   (dev): t2-ath9k-1
REF   (dev): t2-ath9k-2
RUN check_devices
PASS
START - dpp_pkex (1/1)
FAILED (DPP authentication did not succeed (Responder)) - 30.925673s
Failed test cases:
dpp_pkex

janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c
config-home.py -r t2-ath9k-1 -r t2-ath9k-2 -m t2-ath9k-1 -h dpp_pkex
REF   (dev): t2-ath9k-1
REF   (dev): t2-ath9k-2
MON: t2-ath9k-1
RUN check_devices
PASS
START - dpp_pkex (1/1)
PASS () - 2.396301s

Seems we pass this for hwsim, but I suspect we don't use hwsim filters?

I see that wpa_supplicant register different action frames and finally
we configure this in mgmt_frame_register() next
ieee80211_mgmt_frame_register().
Do we miss some functionality here (in mac80211) or this is pure ath9k bug?

Interesting, that 'monitor trick' doesn't work for intel-ax200.

janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c
config-home.py -r t3-intel-ax200 -r t2-ath9k-2 -h dpp_pkex
REF   (dev): t3-intel-ax200
REF   (dev): t2-ath9k-2
RUN check_devices
PASS
START - dpp_pkex (1/1)
FAILED (DPP authentication did not succeed (Responder)) - 31.242791s
Failed test cases:
dpp_pkex

janusz@e4300:~/work/hostap-hwsim/tests/remote$ ./run-tests.py -c
config-home.py -r t3-intel-ax200 -r t2-ath9k-2 -m t3-intel-ax200 -h
dpp_pkex
REF   (dev): t3-intel-ax200
REF   (dev): t2-ath9k-2
MON: t3-intel-ax200
RUN check_devices
PASS
START - dpp_pkex (1/1)
FAILED (DPP authentication did not succeed (Responder)) - 32.449632s
Failed test cases:
dpp_pkex

BR
Janusz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-15 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 14:04 ath9k/mac80211 wrong hw RX filter? - tests, dpp_pkex* failed Janusz Dziedzic
2020-04-15 20:22 ` Jouni Malinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.