* support for bridging ethernet and 802.11
@ 2007-05-10 16:18 Kumar Gala
[not found] ` <CCA1D7C0-D44A-450D-A76E-DAE792E0CB37-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2007-05-10 16:18 UTC (permalink / raw)
To: netdev
I'm wondering how to tell if a given driver/device in the kernel
supports the ability to bridge between ethernet and 802.11. From
searching the web it looks like only the prism driver/device supports
this.
- k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: support for bridging ethernet and 802.11
[not found] ` <CCA1D7C0-D44A-450D-A76E-DAE792E0CB37-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
@ 2007-05-10 17:06 ` Johannes Berg
[not found] ` <1178816781.3806.31.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2007-05-10 17:06 UTC (permalink / raw)
To: Kumar Gala; +Cc: netdev, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
[adding linux-wireless]
On Thu, 2007-05-10 at 11:18 -0500, Kumar Gala wrote:
> I'm wondering how to tell if a given driver/device in the kernel
> supports the ability to bridge between ethernet and 802.11. From
> searching the web it looks like only the prism driver/device supports
> this.
Normally wireless drivers do 802.3 framing as the 802.11 standard more
or less requires, so it should "just work". Am I missing something?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: support for bridging ethernet and 802.11
[not found] ` <1178816781.3806.31.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
@ 2007-05-10 17:12 ` Jouni Malinen
[not found] ` <20070510171213.GD24712-r/za7OOdgF0ztatW0fm/fQ@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Jouni Malinen @ 2007-05-10 17:12 UTC (permalink / raw)
To: Johannes Berg; +Cc: Kumar Gala, netdev, linux-wireless
On Thu, May 10, 2007 at 07:06:21PM +0200, Johannes Berg wrote:
> On Thu, 2007-05-10 at 11:18 -0500, Kumar Gala wrote:
> > I'm wondering how to tell if a given driver/device in the kernel
> > supports the ability to bridge between ethernet and 802.11. From
> > searching the web it looks like only the prism driver/device supports
> > this.
> Normally wireless drivers do 802.3 framing as the 802.11 standard more
> or less requires, so it should "just work". Am I missing something?
IEEE 802.11 allows only the own MAC address to be used as the source
address (addr2) when operating as a non-AP STA in BSS (client in Managed
mode). In other words, layer 2 bridging does not work properly. AP mode
and WDS links can be used for bridging without problems, but this will
of course require the driver to support these.
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: support for bridging ethernet and 802.11
[not found] ` <20070510171213.GD24712-r/za7OOdgF0ztatW0fm/fQ@public.gmane.org>
@ 2007-05-10 17:19 ` Johannes Berg
[not found] ` <1178817575.3806.36.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2007-05-10 17:19 UTC (permalink / raw)
To: Jouni Malinen; +Cc: Kumar Gala, netdev, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
On Thu, 2007-05-10 at 10:12 -0700, Jouni Malinen wrote:
> IEEE 802.11 allows only the own MAC address to be used as the source
> address (addr2) when operating as a non-AP STA in BSS (client in Managed
> mode). In other words, layer 2 bridging does not work properly. AP mode
> and WDS links can be used for bridging without problems, but this will
> of course require the driver to support these.
Ah forgot about that, I had only thought about AP/wired bridging. How
would the prism driver actually do bridging in STA mode though?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: support for bridging ethernet and 802.11
[not found] ` <1178817575.3806.36.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
@ 2007-05-10 17:25 ` Jouni Malinen
2007-05-10 18:25 ` Kumar Gala
0 siblings, 1 reply; 6+ messages in thread
From: Jouni Malinen @ 2007-05-10 17:25 UTC (permalink / raw)
To: Johannes Berg; +Cc: Kumar Gala, netdev, linux-wireless
On Thu, May 10, 2007 at 07:19:35PM +0200, Johannes Berg wrote:
> Ah forgot about that, I had only thought about AP/wired bridging. How
> would the prism driver actually do bridging in STA mode though?
If that is referring to Host AP driver, there is support for using WDS
in client mode. If the AP understands this, the client could use
standard frames for its own packets (i.e., SA=own MAC addr) and WDS
frames for frames from all other addresses. There are some experimental
modes in Host AP driver that (if I remember correctly ;-) may allow this
to be used on a single netdev (i.e., no additional netdev needed for the
WDS link) and as such, this would look like working layer 2 bridging
between wlan0 and eth0 even in managed mode.
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: support for bridging ethernet and 802.11
2007-05-10 17:25 ` Jouni Malinen
@ 2007-05-10 18:25 ` Kumar Gala
0 siblings, 0 replies; 6+ messages in thread
From: Kumar Gala @ 2007-05-10 18:25 UTC (permalink / raw)
To: Jouni Malinen; +Cc: Johannes Berg, netdev, linux-wireless
On May 10, 2007, at 12:25 PM, Jouni Malinen wrote:
> On Thu, May 10, 2007 at 07:19:35PM +0200, Johannes Berg wrote:
>
>> Ah forgot about that, I had only thought about AP/wired bridging. How
>> would the prism driver actually do bridging in STA mode though?
>
> If that is referring to Host AP driver, there is support for using WDS
> in client mode. If the AP understands this, the client could use
> standard frames for its own packets (i.e., SA=own MAC addr) and WDS
> frames for frames from all other addresses. There are some
> experimental
> modes in Host AP driver that (if I remember correctly ;-) may allow
> this
> to be used on a single netdev (i.e., no additional netdev needed
> for the
> WDS link) and as such, this would look like working layer 2 bridging
> between wlan0 and eth0 even in managed mode.
I'm a little confused. It seems from the thread that there are
several forums of bridging.
What I'm trying to accomplish is to take all traffic from eth0 to
wlan0 (and the other way around). I'm happy to configure and
associate wlan0 with an AP.
I believe the current USB adapter I've got is using the SOFTMAC code
right now.
- k
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-05-10 18:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 16:18 support for bridging ethernet and 802.11 Kumar Gala
[not found] ` <CCA1D7C0-D44A-450D-A76E-DAE792E0CB37-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2007-05-10 17:06 ` Johannes Berg
[not found] ` <1178816781.3806.31.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
2007-05-10 17:12 ` Jouni Malinen
[not found] ` <20070510171213.GD24712-r/za7OOdgF0ztatW0fm/fQ@public.gmane.org>
2007-05-10 17:19 ` Johannes Berg
[not found] ` <1178817575.3806.36.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
2007-05-10 17:25 ` Jouni Malinen
2007-05-10 18:25 ` Kumar Gala
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).