linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mac80211-7.0.4 ieee80211_ptr trouble
@ 2007-04-21  8:27 Dick
  2007-04-21 18:56 ` John W. Linville
  2007-04-23 17:13 ` James Ketrenos
  0 siblings, 2 replies; 8+ messages in thread
From: Dick @ 2007-04-21  8:27 UTC (permalink / raw)
  To: linux-wireless

Hi all,

I'm trying to compile compatible mac80211 modules with
linux-2.6.20-gentoo-r6 but I'm missing the ieee80211_ptr in struct
net_device.

/var/tmp/portage/net-wireless/mac80211-7.0.4/work/mac80211-7.0.4/compatible/net/mac80211/ieee80211_ioctl.c: In functie 'ieee80211_ioctl_get_hw_features':
/var/tmp/portage/net-wireless/mac80211-7.0.4/work/mac80211-7.0.4/compatible/net/mac80211/ieee80211_ioctl.c:119: fout: 'struct net_device' has no member named 'ieee80211_ptr'
/var/tmp/portage/net-wireless/mac80211-7.0.4/work/mac80211-7.0.4/compatible/net/mac80211/ieee80211_ioctl.c: In functie 'ieee80211_ioctl_scan':
/var/tmp/portage/net-wireless/mac80211-7.0.4/work/mac80211-7.0.4/compatible/net/mac80211/ieee80211_ioctl.c:172: fout: 'struct net_device' has no member named 'ieee80211_ptr'

What am I doing wrong, what happened to ieee80211_ptr?

Thanks in advance,
Dick


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: mac80211-7.0.4 ieee80211_ptr trouble
@ 2007-04-22 20:51 Dick Marinus
  2007-04-23 17:33 ` James Ketrenos
  0 siblings, 1 reply; 8+ messages in thread
From: Dick Marinus @ 2007-04-22 20:51 UTC (permalink / raw)
  To: linux-wireless

Op zaterdag 21-04-2007 om 22:23 uur [tijdzone +0200], schreef Johannes
Berg:
> No, you misunderstood me. The compat package includes a header file
that
> does these defines, but apparently you're missing it.

Ah, it seems ieee80211_ptr doesn't cause the problem, make unmodified
failed:
===
Checking kernel compatibility in:
        /lib/modules/2.6.20-gentoo-r6/source//
 * Kernel requires compatibility version:
   - Requires net_device::ieee80211_ptr compat
   - Requires class_dev -> dev API compat
   - Requires to_net_dev API compat
   - Requires device_rename compat
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
 + Applying: patches/ieee80211_ptr.patch
        Re-use ax25_ptr in net_device for ieee80211_ptr
 + Running: ieee80211_ptr.sh
        Type-cast reused void* ax25_ptr to struct wireless_dev *
 + Applying: patches/remove_debugfs.patch
        Remove DEBUGFS usage (due to class_dev breakage)
 + Applying: patches/class_dev_to_dev-wireless-ieee80211_ptr.patch
        Reverse class_dev to dev changes when ieee80211_ptr is used
 + Applying: patches/add_to_net_dev.patch
        Add to_net_dev back in (newer kernels have it in netdevice.h)
-----patch failure output-----
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Add to_net_dev back in (newer kernels have it in netdevice.h)
|--- pre/net/mac80211/ieee80211_sysfs.c 2007-04-17 15:54:31.000000000
-0700
|+++ post/net/mac80211/ieee80211_sysfs.c        2007-04-17
15:55:57.000000000 -0700
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

patches/add_to_net_dev.patch failed. Terminating.
If patch or script failed, check pre/ and post/ for current stage.
===
ieee80211_sysfs doesn't seem to exist in {pre,post}/net/mac80211/
neither in /usr/src/linux.

should it have been in the mac80211-7.0.4 tarball?

Thanks,

Dick


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-23 19:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-21  8:27 mac80211-7.0.4 ieee80211_ptr trouble Dick
2007-04-21 18:56 ` John W. Linville
2007-04-21 19:54   ` Johannes Berg
     [not found]     ` <1177186573.13434.5.camel@localhost>
2007-04-21 20:23       ` Johannes Berg
2007-04-23 17:13 ` James Ketrenos
  -- strict thread matches above, loose matches on Subject: below --
2007-04-22 20:51 Dick Marinus
2007-04-23 17:33 ` James Ketrenos
2007-04-23 19:33   ` Dick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).