freebsd-ports/net/hostapd
Cy Schubert 2dc822b9e7 net/hostapd*: Work around lack of MLME support
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
2024-03-04 08:44:36 -08:00
..
files net/hostapd*: Work around lack of MLME support 2024-03-04 08:44:36 -08:00
distinfo
Makefile net/hostapd*: Work around lack of MLME support 2024-03-04 08:44:36 -08:00
pkg-descr
pkg-message