Bug 230731 - Request d80211 headers in kernel-headers
Request d80211 headers in kernel-headers
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John W. Linville
Brian Brock
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2007-03-02 10:30 EST by Nicolas Chauvet (kwizart)
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-26 10:09:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nicolas Chauvet (kwizart) 2007-03-02 10:30:57 EST
Description of problem:When trying to compile hostapd with enabled d80211 stack
originally developed from devicescape, it need to uses d80211 headers that are
not relative to a kernel varriant...

Version-Release number of selected component (if applicable): 2.6.21rc1
This is applicable to 
How reproducible:

Steps to Reproduce:
1.Build user space tools that need to find headers in
%{_includir}/something_for_d80211 (example hostapd, but that may be applicable
also for wpa_supplicant)
2.BR kernel-headers
Actual results:
It do not find headers to use d80211 based wireless devices.

Expected results:
It should just compile fine...

Additional info: see Review request to hostapd #230449
Comment 1 Nicolas Chauvet (kwizart) 2007-03-02 10:38:20 EST
that was %{_includedir}/... sorry for the typo
There is no *80211* files that are relative to devicescape 80211 stack with
kernel-headers bundled with fc7 t2
Comment 2 John W. Linville 2007-03-08 11:01:40 EST
I think the headers are fine as-is.  If anything, hostapd shouldn't be looking 
at headers that aren't intended for userland applications.

Still, I sympathize w/ your predicament.  Have you tried installing the 
kernel-devel package?  I think that will give you the headers you need until 
hostapd gets its act together.
Comment 3 Nicolas Chauvet (kwizart) 2007-03-31 20:16:14 EDT
Sorry for the late answear...
I was waiting for a new snapshoot to work with the renamed mac80211 stack
Actually i cannot find theses headers neither inside kernel-headers nor inside

But they are provided by the mac80211 version from intel 
so i'm still using it for now for hostapd. As far as i have tested, only theses
files are needed.
[builder@Kwizatz BUILD]$ find . -name ieee80211_common.h
[builder@Kwizatz BUILD]$ find . -name hostapd_ioctl.h

Of course you are the prefered reviewer for the hostapd review:

About your last comment, i may have missed something. Since hostapd is a
userland application shouldn't it "BuildRequires" kernel-headers more than
kernel-devel ? 

Comment 4 John W. Linville 2007-07-26 10:09:09 EDT
Per irc conversation...

Those headers are not really intended for userland.  Later versions of hostapd 
will need to use the nl80211 api when it is ready to support AP configuration.

In the meantime, I think the best option for a hostapd package is to snapshot 
the needed headers and either rebuild for every kernel release or make the 
package depend on the fedora release.  I will make an effort to preserve the 
existing hostap api in F-7 kernels through at least F-7's lifespan.

Note You need to log in before you can comment on or make changes to this bug.