HomeFreeBSD

net/hostapd-devel: wpa: Enable receiving priority tagged (VID 0) frames

Description

net/hostapd-devel: wpa: Enable receiving priority tagged (VID 0) frames

Certain internet service providers transmit vlan 0 priority tagged
EAPOL frames from the ONT towards the residential gateway. VID 0
should be ignored, and the frame processed according to the priority
set in the 802.1P bits and the encapsulated EtherType (i.e. EAPOL).

The pcap filter utilized by l2_packet is inadquate for this use case.

Here we modify the pcap filter to accept both unencapsulated and
encapsulated (with VLAN 0) EAPOL EtherTypes. This preserves the
original filter behavior while also matching on encapsulated EAPOL.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Reviewed by: cy
Obtained from: src bb5d6d14d81b
PR: 273696

(cherry picked from commit 92b2d8e1bf08f4b81a5b3b92b30149dfd0807538)

Details

Provenance
rcmAuthored on Sep 12 2023, 5:26 AM
cyCommitted on Sep 15 2023, 2:07 PM
Parents
R11:a313183071ac: net/hostapd: wpa: Enable receiving priority tagged (VID 0) frames
Branches
Unknown
Tags
Unknown