linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [FYI] hostapd state with mac80211 on linux
@ 2007-10-25 18:53 Johannes Berg
  2007-10-26 15:46 ` Pavel Roskin
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Johannes Berg @ 2007-10-25 18:53 UTC (permalink / raw)
  To: linux-wireless
  Cc: hostap, Chuck Tuffli, Guillaume Chevillot, Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

Since more and more people seem to be interested in it, here's a quick
status update:

hostapd works with
 - kernel 2.6.24-rc1
 - plus my patches from http://johannes.sipsolutions.net/patches/kernel/all/
 - plus the commit 5c58298c2536252ab95aa2b1497ab47eb878ca5d from net-2.6
   ([NETLINK]: Fix ACK processing after netlink_dump_start)
 - my hostapd patches from http://johannes.sipsolutions.net/patches/hostap/all/

I've done
 - WPA network with TKIP
 - manually assigning IPs
 - ping over the wireless interface
 - ssh over the wireless interface
without any problems.

Hardware is Broadcom chip with b43 driver as the AP and zd1211b chip
with zd1211rw driver (softmac-based) as a station.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-25 18:53 [FYI] hostapd state with mac80211 on linux Johannes Berg
@ 2007-10-26 15:46 ` Pavel Roskin
  2007-10-26 20:42   ` Johannes Berg
  2007-10-29 12:55 ` Guillaume Chevillot
  2007-11-08 17:24 ` Johannes Berg
  2 siblings, 1 reply; 8+ messages in thread
From: Pavel Roskin @ 2007-10-26 15:46 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, Chuck Tuffli, hostap, Alexander Kotelnikov


On Thu, 2007-10-25 at 20:53 +0200, Johannes Berg wrote:
> Since more and more people seem to be interested in it, here's a quick
> status update:
> 
> hostapd works with
>  - kernel 2.6.24-rc1
>  - plus my patches from http://johannes.sipsolutions.net/patches/kernel/all/
>  - plus the commit 5c58298c2536252ab95aa2b1497ab47eb878ca5d from net-2.6
>    ([NETLINK]: Fix ACK processing after netlink_dump_start)

Great, thank you!  Can we have all the above in one place in a publicly
available git repository, please?

>  - my hostapd patches from http://johannes.sipsolutions.net/patches/hostap/all/

And this too, if possible.  Maybe we could have this in hostap master
branch?  All patches except 004 affect the devicescape driver only, and
004 looks benign to me.

-- 
Regards,
Pavel Roskin


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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-26 15:46 ` Pavel Roskin
@ 2007-10-26 20:42   ` Johannes Berg
  0 siblings, 0 replies; 8+ messages in thread
From: Johannes Berg @ 2007-10-26 20:42 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: linux-wireless, Chuck Tuffli, hostap, Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]


> > hostapd works with
> >  - kernel 2.6.24-rc1
> >  - plus my patches from http://johannes.sipsolutions.net/patches/kernel/all/
> >  - plus the commit 5c58298c2536252ab95aa2b1497ab47eb878ca5d from net-2.6
> >    ([NETLINK]: Fix ACK processing after netlink_dump_start)
> 
> Great, thank you!  Can we have all the above in one place in a publicly
> available git repository, please?

No, frankly, I'm too lazy to rebase git all the time. There's a patch
tarball you can download, untar and use with quilt.

> >  - my hostapd patches from http://johannes.sipsolutions.net/patches/hostap/all/
> 
> And this too, if possible.  Maybe we could have this in hostap master
> branch?  All patches except 004 affect the devicescape driver only, and
> 004 looks benign to me.

Similarly, I don't see the point. I don't want these merged into hostapd
yet because the API I'm coming up with isn't finalised, I'm going to
rewrite the beaconing API for sure.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-25 18:53 [FYI] hostapd state with mac80211 on linux Johannes Berg
  2007-10-26 15:46 ` Pavel Roskin
@ 2007-10-29 12:55 ` Guillaume Chevillot
  2007-10-29 16:09   ` Johannes Berg
  2007-11-08 17:24 ` Johannes Berg
  2 siblings, 1 reply; 8+ messages in thread
From: Guillaume Chevillot @ 2007-10-29 12:55 UTC (permalink / raw)
  To: Johannes Berg
  Cc: linux-wireless, hostap, Chuck Tuffli, Guillaume Chevillot,
	Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

> hostapd works with
>  - kernel 2.6.24-rc1
>  - plus my patches from http://johannes.sipsolutions.net/patches/kernel/all/
>  - plus the commit 5c58298c2536252ab95aa2b1497ab47eb878ca5d from net-2.6
>    ([NETLINK]: Fix ACK processing after netlink_dump_start)
>  - my hostapd patches from http://johannes.sipsolutions.net/patches/hostap/all/
I tried with a kernel downloaded from git (so with the netlink commit
already merge into) without success.

Some code of the old interface has been removed so I had to apply some
of your patches manually and tried to reinsert the removed code to be able
to compile. I did this quickly so I suppose I forgot to re-add some
code.

After compiling kernel and hostapd, hostapd complains the same that
before with this error message more :
rmdir[ctrl_interface]: No such file or directory

And stops here.

So I think, you will have to do one more patch for the rc2, ...

Tell me if I am wrong, but your patches "just" keep the old interface,
master mode code and others previously removed. So, new code will have
to be done to re-enable master mode and a driver_mac80211.c (rather than
a driver_deviscape.c) will have to be done for hostapd ?

Regards,
Guillaume

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-29 12:55 ` Guillaume Chevillot
@ 2007-10-29 16:09   ` Johannes Berg
  2007-10-29 16:30     ` Guillaume Chevillot
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2007-10-29 16:09 UTC (permalink / raw)
  To: Guillaume Chevillot
  Cc: linux-wireless, hostap, Chuck Tuffli, Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]


> I tried with a kernel downloaded from git (so with the netlink commit
> already merge into) without success.

I haven't tried really.

> Some code of the old interface has been removed so I had to apply some
> of your patches manually and tried to reinsert the removed code to be able
> to compile. I did this quickly so I suppose I forgot to re-add some
> code.

Which patches? They currently all apply against the version of linux-2.6
I'm running. Or are you talking about hostapd?

> So I think, you will have to do one more patch for the rc2, ...

Well, I'll obviously keep maintaining this series until it can be
merged...

> Tell me if I am wrong, but your patches "just" keep the old interface,
> master mode code and others previously removed. So, new code will have
> to be done to re-enable master mode and a driver_mac80211.c (rather than
> a driver_deviscape.c) will have to be done for hostapd ?

My series has both re-done and old code.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-29 16:09   ` Johannes Berg
@ 2007-10-29 16:30     ` Guillaume Chevillot
  2007-10-29 16:35       ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Guillaume Chevillot @ 2007-10-29 16:30 UTC (permalink / raw)
  To: Johannes Berg
  Cc: Guillaume Chevillot, linux-wireless, hostap, Chuck Tuffli,
	Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

> Which patches? They currently all apply against the version of linux-2.6
> I'm running. Or are you talking about hostapd?
No I'm talking of kernel patches. The 008 patch for example does not
fail to hunk automatically on git kernel source (tested on a friday, on
the main git kernel tree). It applies on 2.6.21-rc1 (I think not tested)
but not on downloaded from git kernel tree (the same probably with
2.6.21-rc1-git5)

So your patches are OK but won't be for the rc2 I presume.

Guillaume

-- 
Guillaume Chevillot

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-29 16:30     ` Guillaume Chevillot
@ 2007-10-29 16:35       ` Johannes Berg
  0 siblings, 0 replies; 8+ messages in thread
From: Johannes Berg @ 2007-10-29 16:35 UTC (permalink / raw)
  To: Guillaume Chevillot
  Cc: linux-wireless, hostap, Chuck Tuffli, Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]



> No I'm talking of kernel patches. The 008 patch for example does not
> fail to hunk automatically on git kernel source (tested on a friday, on
> the main git kernel tree). It applies on 2.6.21-rc1 (I think not tested)
> but not on downloaded from git kernel tree (the same probably with
> 2.6.21-rc1-git5)

Dunno. I make them apply as I update my trees. My patches dir always
contains the output of git-describe to tell you what tree I diffed
against.

> So your patches are OK but won't be for the rc2 I presume.

Trust me, I'll update them.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: [FYI] hostapd state with mac80211 on linux
  2007-10-25 18:53 [FYI] hostapd state with mac80211 on linux Johannes Berg
  2007-10-26 15:46 ` Pavel Roskin
  2007-10-29 12:55 ` Guillaume Chevillot
@ 2007-11-08 17:24 ` Johannes Berg
  2 siblings, 0 replies; 8+ messages in thread
From: Johannes Berg @ 2007-11-08 17:24 UTC (permalink / raw)
  To: linux-wireless
  Cc: hostap, Chuck Tuffli, Guillaume Chevillot, Alexander Kotelnikov

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]


> hostapd works with
>  - kernel 2.6.24-rc1
>  - plus my patches from http://johannes.sipsolutions.net/patches/kernel/all/
>  - plus the commit 5c58298c2536252ab95aa2b1497ab47eb878ca5d from net-2.6
>    ([NETLINK]: Fix ACK processing after netlink_dump_start)
>  - my hostapd patches from http://johannes.sipsolutions.net/patches/hostap/all/

I forgot to mention that it needs libnl, but now I can fix that: while
it used to require libnl from git it should work with the recently
released libnl 1.0-pre7. Hopefully distros will pick that up in the same
way they picked up 1.0-pre6.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

end of thread, other threads:[~2007-11-08 17:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 18:53 [FYI] hostapd state with mac80211 on linux Johannes Berg
2007-10-26 15:46 ` Pavel Roskin
2007-10-26 20:42   ` Johannes Berg
2007-10-29 12:55 ` Guillaume Chevillot
2007-10-29 16:09   ` Johannes Berg
2007-10-29 16:30     ` Guillaume Chevillot
2007-10-29 16:35       ` Johannes Berg
2007-11-08 17:24 ` Johannes Berg

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).