Skip to contentSkip to conversation

Linux capable PDA with WLAN NIC that supports access point mode?

DISCUSSION Joerg Pommnitz 4 participants 8 messages Jul 8, 2008 – Jul 9, 2008

lore
Share & tools
lore
#0 lore raw

Hello all,
I'm looking for either a Linux capable PDA or a NIC that works with a Linux capable PDA that supports access point mode.

Here are my thoughts on this topic:

I know that mac80211 is not there yet, but on the other hand OpenWRT seems to run on a lot of hardware with very different NICs. How does OpenWRT implement the AP functionality?

The SDIO based adapters are probably out of the question. Most of them seem to be of the full mac variation (e.g. libertas_sdio). Correct?

I'm considering a PCCard based NIC with something like the old Compaq iPAQ PC Card Expansion Pack. In this case an Atheros card with Madwifi might work. Does this work? Is there a NIC (Broadcom maybe) that is better suited?

Is there a CompactFlash based WLAN NIC with an AP capable Linux driver?

Signature · 8 lines
Thanks in advance an kind regards
       Joerg


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
#1 lore raw
Quoted 4 lines

I know that mac80211 is not there yet, but on the other hand OpenWRT seems to run on a lot of hardware with very different NICs. How does OpenWRT implement the AP functionality?

Either with hostapd or the broadcom proprietary driver.

Quoted 6 lines

I'm considering a PCCard based NIC with something like the old Compaq iPAQ PC Card Expansion Pack. In this case an Atheros card with Madwifi might work. Does this work? Is there a NIC (Broadcom maybe) that is better suited?

Is there a CompactFlash based WLAN NIC with an AP capable Linux driver?

There's a Broadcom CF card. I have one, but it's not DMA capable in Linux because of the PCMCIA subsystem (IIRC).

If you're willing to invest some work, it should be possible to get the the N810 working with mac80211/p54spi but it's not there yet and I don't have time to work on it.

johannes

#2 lore raw

--- Johannes Berg <[email protected]> schrieb am Di, 8.7.2008:

Quoted 5 lines

Von: Johannes Berg <[email protected]>
Betreff: Re: Linux capable PDA with WLAN NIC that supports access point mode?
An: [email protected]
CC: [email protected]
Datum: Dienstag, 8. Juli 2008, 21:16

Quoted 7 lines
Quoted 1 line

I know that mac80211 is not there yet, but on the other

hand

Quoted 1 line

OpenWRT seems to run on a lot of hardware with very

different NICs. How

Quoted 1 line

does OpenWRT implement the AP functionality?

Either with hostapd or the broadcom proprietary driver.

This is what I suspected, but according to
http://hostap.epitest.fi/hostapd/ only the following drivers are supported:

Supported wireless cards/drivers

* Host AP driver for Prism2/2.5/3
* madwifi (Atheros ar521x)
* Prism54.org (Prism GT/Duette/Indigo)
* BSD net80211 layer (e.g., Atheros driver) (FreeBSD 6-CURRENT)

Looking at the OpenWRT supported hardware list I see a lot of other NICs. Is the hostapd list incomplete?

Quoted 6 lines
Quoted 1 line

I'm considering a PCCard based NIC with something

like the old Compaq iPAQ

Quoted 1 line

PC Card Expansion Pack. In this case an Atheros card

with Madwifi might

Quoted 1 line

work. Does this work? Is there a NIC (Broadcom maybe)

that is better

Quoted 8 lines
Quoted 3 lines

suited?

Is there a CompactFlash based WLAN NIC with an AP

capable Linux driver?

There's a Broadcom CF card. I have one, but it's
not DMA capable in
Linux because of the PCMCIA subsystem (IIRC).

What driver?

Quoted 5 lines

If you're willing to invest some work, it should be possible to get the
the N810 working with mac80211/p54spi but it's not there yet and I don't
have time to work on it.

I thought that the Connexant chip in the N810 resembles a FullMAC card. Can this one support AP mode with the standard firmware?

Quoted 1 line

johannes

      __________________________________________________________

Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

#3 lore raw
Quoted 6 lines
Quoted 4 lines

There's a Broadcom CF card. I have one, but it's
not DMA capable in
Linux because of the PCMCIA subsystem (IIRC).

What driver?

b43 of course.

Quoted 8 lines
Quoted 5 lines

If you're willing to invest some work, it should be possible to get the
the N810 working with mac80211/p54spi but it's not there yet and I don't
have time to work on it.

I thought that the Connexant chip in the N810 resembles a FullMAC card. Can this one support AP mode with the standard firmware?

It's not fullmac.

johannes

#4 lore raw
In reply to Joerg Pommnitz
Quoted 3 lines · Joerg Pommnitz

This is what I suspected, but according to
http://hostap.epitest.fi/hostapd/ only the following drivers are supported:

I don't think the hostapd page would actively advertize support for proprietary driver available only for one embedded platform.

Anyway, from kamikaze 7.09 sources, docs/wireless.tex:

"Each wireless driver has its own configuration script
in /lib/wifi/driver_name.sh which handles driver specific options and configurations. This script is also calling driver specific binaries like wlc for Broadcom, or hostapd and wpa_supplicant for atheros. The reason for using such architecture, is that it abstracts the driver configuration"

That means that hostapd is not used with the proprietary Broadcom driver.

Signature · 2 lines
Regards,
Pavel Roskin
#5 lore raw
In reply to Johannes Berg
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

There's a Broadcom CF card. I have one, but it's
not DMA capable in
Linux because of the PCMCIA subsystem (IIRC).

What driver?

b43 of course.

But b43 is mac80211 based. This would mean that I had to use your experimental access point patches, right?

Quoted 5 lines
Quoted 3 lines

I thought that the Connexant chip in the N810 resembles a FullMAC card. Can this one support AP mode with the standard firmware?

It's not fullmac.

I stand corrected.

      __________________________________________________________

Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

#6 lore raw
Quoted 10 lines · Joerg Pommnitz
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

There's a Broadcom CF card. I have one, but it's
not DMA capable in
Linux because of the PCMCIA subsystem (IIRC).

What driver?

b43 of course.

But b43 is mac80211 based. This would mean that I had to use your experimental access point patches, right?

Yes, of course.

johannes

#7 lore raw
In reply to Johannes Berg
Quoted 4 lines · On Tuesday 08 July 2008 21:16:10 Johannes Berg wrote:
Quoted 1 line

Is there a CompactFlash based WLAN NIC with an AP capable Linux driver?

There's a Broadcom CF card. I have one, but it's not DMA capable in Linux because of the PCMCIA subsystem (IIRC).

Well, there are several issues. One is that DMA on PCMCIA is damn ugly. It was derived from ISA-DMA, so it is ugly by definition. Second thing is that linux-pcmcia doesn't support it, as it doesn't fit into any way linux does DMA. It could possibly get implemented with the old ISA DMA API, but I don't think anybody is going to make that crufty code portable and usable. Third thing is that not all PCMCIA host controllers capable of driving the card can do DMA in hardware. The third point actually is the major point for me to not try to implement it. The PCMCIA bridge chip in my laptop does not support DMA.
I guess a PDA with a CF slot can do DMA, however. (Otherwise the designer has to get kicked ass). So it would theoretically be possible to get DMA working with some ugly hacks. Probably even without touching the damn ugly linux-pcmcia code a lot.

Signature · 1 line
Greetings Michael.