summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-02-26 20:27:50 -0800
committerCy Schubert <cy@FreeBSD.org>2024-03-04 08:44:36 -0800
commit2dc822b9e7c44abf61594cbc31379837bb35973d (patch)
treef54b19e1004c4a32772949c33556285b7d895c6d /www
parentnet-mgmt/p5-Prometheus-Tiny: Add new port (diff)
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
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions