The kernel commit 'mac80211: filter multicast data packets on AP /
AP_VLAN' started filtering out the test frame used in
ap_vlan_without_station and that resulted in false failures. For now,
ignore that "error" case to avoid claiming failures when the kernel is
doing what it is expected to do.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
if out is not None:
lines = out.splitlines()
if len(lines) < 1:
- raise Exception("first frame not observed")
+ # Newer kernel versions filter out frames when there are no
+ # authorized stations on an AP/AP_VLAN interface, so do not
+ # trigger an error here.
+ logger.info("first frame not observed")
state = 1
for l in lines:
is_protected = int(l, 16)