linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* status wireless extensions API for new drivers
@ 2007-12-13 21:15 Bjorge Dijkstra
  2007-12-13 21:31 ` John W. Linville
  2007-12-13 21:33 ` Dan Williams
  0 siblings, 2 replies; 7+ messages in thread
From: Bjorge Dijkstra @ 2007-12-13 21:15 UTC (permalink / raw)
  To: linux-wireless

Hello all,

I have been working on adding support for RNDIS based USB wireless 
devices[1]. Recently I've been getting some help from another developer 
and the state of the driver has improved quite a bit. So we are thinking
about getting it into the mainline kernel.
We have used the Wireless Extensions API, but I get the impression that
things are moving towards the cfg/nl80211 API's. Is it still acceptable
for new drivers trying to get into mainline to use WEXT, or should we
switch to the new API's?

regards,
Bjorge

[1]. http:/www.jooz.net/rndis


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

* Re: status wireless extensions API for new drivers
  2007-12-13 21:15 status wireless extensions API for new drivers Bjorge Dijkstra
@ 2007-12-13 21:31 ` John W. Linville
  2007-12-13 22:07   ` Bjorge Dijkstra
  2007-12-13 21:33 ` Dan Williams
  1 sibling, 1 reply; 7+ messages in thread
From: John W. Linville @ 2007-12-13 21:31 UTC (permalink / raw)
  To: Bjorge Dijkstra; +Cc: linux-wireless

On Thu, Dec 13, 2007 at 10:15:52PM +0100, Bjorge Dijkstra wrote:

> We have used the Wireless Extensions API, but I get the impression that
> things are moving towards the cfg/nl80211 API's. Is it still acceptable
> for new drivers trying to get into mainline to use WEXT, or should we
> switch to the new API's?

WEXT is fine for new drivers.  At this time cfg80211 does not offer
a suitable replacement.

John
-- 
John W. Linville
linville@tuxdriver.com

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

* Re: status wireless extensions API for new drivers
  2007-12-13 21:15 status wireless extensions API for new drivers Bjorge Dijkstra
  2007-12-13 21:31 ` John W. Linville
@ 2007-12-13 21:33 ` Dan Williams
  2007-12-13 22:05   ` Bjorge Dijkstra
  1 sibling, 1 reply; 7+ messages in thread
From: Dan Williams @ 2007-12-13 21:33 UTC (permalink / raw)
  To: Bjorge Dijkstra; +Cc: linux-wireless

On Thu, 2007-12-13 at 22:15 +0100, Bjorge Dijkstra wrote:
> Hello all,
> 
> I have been working on adding support for RNDIS based USB wireless 

Quick question about these; does the firmware on the wireless device
itself talk RNDIS directly?  i.e., is RNDIS intended to replace all the
manufacturer-specific proprietary host<->adapter protocols?  How common
are the devices these days?  I trawled through CDW this weekend and
could only find one or two adapters (out of 30 or so) that were RNDIS.
I assume it's the wave of the Windows future though.

> devices[1]. Recently I've been getting some help from another developer 
> and the state of the driver has improved quite a bit. So we are thinking
> about getting it into the mainline kernel.
> We have used the Wireless Extensions API, but I get the impression that
> things are moving towards the cfg/nl80211 API's. Is it still acceptable
> for new drivers trying to get into mainline to use WEXT, or should we
> switch to the new API's?

Well, if you want to allow your driver to be backported at all, you'll
pretty much have to support WEXT.

_But_, since your driver doesn't have any need for backwards
compatibility requirements since it's not already upstream, you might
want to be the guinea pig for cfg80211/nl80211 :)  If you decided to
only support cfg80211, you'd get WEXT support since cfg80211 provides a
backwards compat solution for WEXT.  Plus you'd be helping out a great
deal by finding and fixing bugs in cfg80211/nl80211 and proving the
framework, which would be a great help.

Dan



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

* Re: status wireless extensions API for new drivers
  2007-12-13 21:33 ` Dan Williams
@ 2007-12-13 22:05   ` Bjorge Dijkstra
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorge Dijkstra @ 2007-12-13 22:05 UTC (permalink / raw)
  To: Dan Williams; +Cc: linux-wireless

Dan Williams wrote:
> 
> Quick question about these; does the firmware on the wireless device
> itself talk RNDIS directly?  i.e., is RNDIS intended to replace all the
> manufacturer-specific proprietary host<->adapter protocols?

Yes, the devices themselves talk RNDIS. It's basically Windows NDIS
driver API calls over a USB transport. What I have created is not much
more than a layer that translates the WEXT calls to appropriate RNDIS
messages to allow the device to be configured. The actual networking
part is handled by rndis_host and usbnet.

> How common
> are the devices these days?  I trawled through CDW this weekend and
> could only find one or two adapters (out of 30 or so) that were RNDIS.
> I assume it's the wave of the Windows future though.
> 

I know of about 5 or 6 different devices and none of them are new, but
they seem to be fairly popular. AFAIK all are based on the same
broadcom 4320 chipset.

> 
> Well, if you want to allow your driver to be backported at all, you'll
> pretty much have to support WEXT.
> 
> _But_, since your driver doesn't have any need for backwards
> compatibility requirements since it's not already upstream, you might
> want to be the guinea pig for cfg80211/nl80211 :)  If you decided to
> only support cfg80211, you'd get WEXT support since cfg80211 provides a
> backwards compat solution for WEXT.  Plus you'd be helping out a great
> deal by finding and fixing bugs in cfg80211/nl80211 and proving the
> framework, which would be a great help.

Well, regular WEXT is already more or less done, so I'd prefer to not
throw that away :)  I was just wondering about the current state of the
wireless api's.

> 
> Dan
> 

regards,
Bjorge


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

* Re: status wireless extensions API for new drivers
  2007-12-13 21:31 ` John W. Linville
@ 2007-12-13 22:07   ` Bjorge Dijkstra
  2007-12-13 22:13     ` John W. Linville
  0 siblings, 1 reply; 7+ messages in thread
From: Bjorge Dijkstra @ 2007-12-13 22:07 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless

John W. Linville wrote:
> 
> WEXT is fine for new drivers.  At this time cfg80211 does not offer
> a suitable replacement.

Ok, thanks. I'll stick to WEXT for now then..

> 
> John

regards,
Bjorge



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

* Re: status wireless extensions API for new drivers
  2007-12-13 22:07   ` Bjorge Dijkstra
@ 2007-12-13 22:13     ` John W. Linville
  2007-12-13 23:01       ` Bjorge Dijkstra
  0 siblings, 1 reply; 7+ messages in thread
From: John W. Linville @ 2007-12-13 22:13 UTC (permalink / raw)
  To: Bjorge Dijkstra; +Cc: linux-wireless

On Thu, Dec 13, 2007 at 11:07:20PM +0100, Bjorge Dijkstra wrote:
> John W. Linville wrote:
>>
>> WEXT is fine for new drivers.  At this time cfg80211 does not offer
>> a suitable replacement.
>
> Ok, thanks. I'll stick to WEXT for now then..

BTW, how is your patchset looking?  If you want it to be in 2.6.25
then you need to post it soon.

FWIW, as long as you have just enough WEXT support to get it to work
with open networks I think that would be enough to get a patch merged.
Having experimented a bit earlier with your patchset, I suspect you
can probably support WEP and maybe more by now...

So, when will we see your patches?

Thanks,

John
-- 
John W. Linville
linville@tuxdriver.com

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

* Re: status wireless extensions API for new drivers
  2007-12-13 22:13     ` John W. Linville
@ 2007-12-13 23:01       ` Bjorge Dijkstra
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorge Dijkstra @ 2007-12-13 23:01 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless

John W. Linville wrote:
> BTW, how is your patchset looking?  If you want it to be in 2.6.25
> then you need to post it soon.
> 

It's currently in the form of a seperate self supporting package based
on an older kernel. So that probably needs a little bit of work to get
it rebased on current kernel. It's not a must for me to get it in 2.6.25
though, so if we miss it that's not a problem.

BTW, when is the approx. deadline for 2.6.25?

> FWIW, as long as you have just enough WEXT support to get it to work
> with open networks I think that would be enough to get a patch merged.
> Having experimented a bit earlier with your patchset, I suspect you
> can probably support WEP and maybe more by now...

Yes, WEP, WPA and WPA2 all should work fine. I'm using it everyday on a
WPA2 network with no issues. I don't have a wired connection here, so I
depend on it working for me :)

> 
> So, when will we see your patches?
> 

I'll try get something out during the weekend.

> Thanks,
> 
> John

regards,
Bjorge


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

end of thread, other threads:[~2007-12-13 23:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 21:15 status wireless extensions API for new drivers Bjorge Dijkstra
2007-12-13 21:31 ` John W. Linville
2007-12-13 22:07   ` Bjorge Dijkstra
2007-12-13 22:13     ` John W. Linville
2007-12-13 23:01       ` Bjorge Dijkstra
2007-12-13 21:33 ` Dan Williams
2007-12-13 22:05   ` Bjorge Dijkstra

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