Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749753 - net-wireless/hostapd-2.9-r3 lacks ocv support
Summary: net-wireless/hostapd-2.9-r3 lacks ocv support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-17 13:39 UTC by Andrew Savchenko
Modified: 2021-06-02 12:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2020-10-17 13:39:35 UTC
Hi!

Looks like hostapd lacks ocv support:

# /etc/init.d/hostapd start
hostapd               | * Caching service dependencies ...                                                                                               [ ok ]
hostapd               | * Starting hostapd ...
hostapd               |Configuration file: /etc/hostapd/hostapd.conf
hostapd               |Line 1651: unknown configuration item 'ocv'
hostapd               |1 errors found in configuration file '/etc/hostapd/hostapd.conf'
hostapd               |Failed to set up interface with /etc/hostapd/hostapd.conf
hostapd               |Failed to initialize interface
hostapd               | * start-stop-daemon: failed to start `/usr/sbin/hostapd'
hostapd               | * Failed to start hostapd                                

Though ocv option with its description is present in the hostapd.conf.

As can be seen from package's defconfig, ocv is present, but disabled by default:
# Support Operating Channel Validation
#CONFIG_OCV=y

I suggest to add OCV support to the ebuild using the ocv USE flag.

Just for the record:

net-wireless/hostapd-2.9-r3::gentoo was built with the following:
USE="crda ipv6 netlink sqlite suiteb wps -internal-tls -libressl -logwatch -savedconfig"
Comment 1 Larry the Git Cow gentoo-dev 2021-06-02 12:59:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6a43b65ba6a96b1121aac9de2431b646aef0c0

commit 7a6a43b65ba6a96b1121aac9de2431b646aef0c0
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-02 12:57:06 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-02 12:59:32 +0000

    net-wireless/hostapd: enable RSN operating channel validation support
    
    Closes: https://bugs.gentoo.org/749753
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-wireless/hostapd/hostapd-2.9-r4.ebuild | 1 +
 net-wireless/hostapd/hostapd-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)