HomeFreeBSD

security/wpa_supplicant: wpa: Enable receiving priority tagged (VID 0) frames

Description

security/wpa_supplicant: 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
MFH: 2023Q3

Details

Provenance
rcmAuthored on Sep 12 2023, 5:24 AM
cyCommitted on Sep 12 2023, 5:51 AM
Parents
R11:2150c312db2f: net/hostapd-devel: Fix uninitialized packet pointer on error
Branches
Unknown
Tags
Unknown