<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/net/hostapd, branch 2025Q3</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=2025Q3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=2025Q3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2025-04-08T21:08:33Z</updated>
<entry>
<title>hostapd/* wpa_supplicant/*: Support CCMP-256/GMCP-256</title>
<updated>2025-04-08T21:08:33Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-04-07T20:03:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=60ebc751f74f5777a5f616398efd0ce6ac1b7987'/>
<id>urn:sha1:60ebc751f74f5777a5f616398efd0ce6ac1b7987</id>
<content type='text'>
Chase src/fa06d18b3b87 adding support for CCMP-256/GMCP-256.
</content>
</entry>
<entry>
<title>net/hostapd* security/wpa-supplicant*: Fix 13 and 14 builds</title>
<updated>2025-03-17T13:15:29Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-03-16T14:42:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=5cef4558c1690749b8f9dfb3747ea927e33a5edf'/>
<id>urn:sha1:5cef4558c1690749b8f9dfb3747ea927e33a5edf</id>
<content type='text'>
The updates imported from 15-CURRENT included features not implemented
in FreeBSD 13 and 14. #ifdef them out.

Fixes:		995f5b9b0e4d
PR:		285371
</content>
</entry>
<entry>
<title>net/nhostapd*, security/wpa_supplicant*: Sync drivers_bsd.c from src</title>
<updated>2025-03-15T22:43:27Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-03-13T20:46:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=995f5b9b0e4dc582efaf9fb961125af852cb3a57'/>
<id>urn:sha1:995f5b9b0e4dc582efaf9fb961125af852cb3a57</id>
<content type='text'>
src/ commits to drviers_bsd.c in src have fixed a number of problems
with wpa_supplicant/hostapd and FreeBSD. Bring those changes into the
ports.

PR:		285371
Tested by:	Matthias Apitz &lt;guru@unixarea.de&gt;
MFH		2025Q1
</content>
</entry>
<entry>
<title>net/hostapd: Sync driver_bsd.c with base system</title>
<updated>2024-09-13T23:04:20Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-09-13T23:04:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=471e97cc05623b26579bf54748175d3202abd712'/>
<id>urn:sha1:471e97cc05623b26579bf54748175d3202abd712</id>
<content type='text'>
Replace driver_bsd.c with the one from src. It utilizes facilities
and features already in FreeBSD.
</content>
</entry>
<entry>
<title>net/hostapd: Update to 2.11</title>
<updated>2024-07-21T13:06:30Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-21T12:15:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=284379f1045c63c3f7b3fc47109241dc1e1a9441'/>
<id>urn:sha1:284379f1045c63c3f7b3fc47109241dc1e1a9441</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net/hostapd:  Fix 15-CURRENT 108de784513d build</title>
<updated>2024-06-02T05:32:10Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-06-02T05:23:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=66318d0a56a837820885398a68c9a86a4dc13cd5'/>
<id>urn:sha1:66318d0a56a837820885398a68c9a86a4dc13cd5</id>
<content type='text'>
On FreeBSD systems without 108de784513d the old definition will be used
while on 108de784513d and newer the duplicate case will be removed.

Obtained from:	src 676041c41ba5
Discussed with:	imp
</content>
</entry>
<entry>
<title>net/hostapd*: Work around lack of MLME support</title>
<updated>2024-03-04T16:44:36Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-02-27T04:27:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=2dc822b9e7c44abf61594cbc31379837bb35973d'/>
<id>urn:sha1:2dc822b9e7c44abf61594cbc31379837bb35973d</id>
<content type='text'>
hostap MLME uses Linux data structures and definitions not available
in FreeBSD. The ability for hostapd to select the frequency (channel)
depends Linux MLME, though strictly it's not required. Work around the
Linux MLME requirement to configure device frequency.

The detailed description is: hostapd will only set the channel (frequency)
when Linux MLME is configured. Enabling NEED_AP_MLME will result in
numerous build errors due do Linux data structures and definitions not
available under FreeBSD. The code to set the frequency from the selected
channel is only within the NEED_AP_MLME code path because without MLME,
hostapd_get_hw_features() is an inline that always returns -1 whereas with
MLME hostapd_get_hw_features() will obtain hardware features from the
kernel. Until such time we simply set the frequency as configured.

PR:		276375
MFH:		2024Q1
</content>
</entry>
<entry>
<title>net/hostapd: Sanitize MANPREFIX</title>
<updated>2024-01-22T16:52:30Z</updated>
<author>
<name>Muhammad Moinur Rahman</name>
<email>bofh@FreeBSD.org</email>
</author>
<published>2024-01-22T15:56:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=c0d016fcfcbd8a7a2769aca2075ba6df0f1f069c'/>
<id>urn:sha1:c0d016fcfcbd8a7a2769aca2075ba6df0f1f069c</id>
<content type='text'>
Approved by:    portmgr (blanket)
</content>
</entry>
<entry>
<title>net/hostapd: wpa: Enable receiving priority tagged (VID 0) frames</title>
<updated>2023-09-12T05:51:29Z</updated>
<author>
<name>R. Christian McDonald</name>
<email>rcm@rcm.sh</email>
</author>
<published>2023-09-12T05:26:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=33410dc2fce35423090de7566b10b2ce4ba5795c'/>
<id>urn:sha1:33410dc2fce35423090de7566b10b2ce4ba5795c</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>net/hostapd: Fix uninitialized packet pointer on error</title>
<updated>2023-09-12T05:51:16Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-09-12T05:17:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=e7f23d81ae4b522701ab73482a3bb3e3a76f6e67'/>
<id>urn:sha1:e7f23d81ae4b522701ab73482a3bb3e3a76f6e67</id>
<content type='text'>
The packet pointer (called packet) will remain uninitialized when
pcap_next_ex() returns an error. This occurs when the wlan
interface is shut down using ifconfig destroy. Adding a NULL
assignment to packet duplicates what pcap_next() does.

The reason we use pcap_next_ex() in this instance is because with
pacp_next() when we receive a null pointer if there was an error
or if no packets were read. With pcap_next_ex() we can differentiate
between an error and legitimately no packets were received.

PR:             270649, 273696
Obtained from:	src 953efa5b200f
Reported by:    Robert Morris &lt;rtm@lcs.mit.edu&gt;
MFH:		2023Q3
</content>
</entry>
</feed>
