linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* some ideas about pseudo_adhoc (as rtl8187 cannot do beacon generation)
@ 2010-02-12  8:08 Daniel Golle
  2010-02-13  8:31 ` Benoit PAPILLAULT
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Golle @ 2010-02-12  8:08 UTC (permalink / raw)
  To: linux-wireless

hi!
i've got an rtl8187l and want to use it in Ad-Hoc mode (actually 
pseudo_adhoc would actually even be enough!). i researched a little bit 
and found out that ad-hoc-, master- and mesh-mode are unsupported due to 
the lack of beacon generation support in the mac80211 version of the 
rtl8187 driver.
as the softmac card probably doesn't support generating beacons in 
firmware, does that mean we need to setup a beacon generation fork 
repeatedly calling
ieee80211_beacon_get
and then sending the beacon? (very roughly, i'm guessing after reading 
any 802.11 code for 20 minutes)
probably a timing-critical task which needs to bypass the usual buffers 
and such i can imagine...

anyway. pseudo_adhoc (i.e. ad-hoc without beacons) is a nice thing and 
works great for use with user-space mesh-routing solutions such as OLSR, 
batman or babel. however, i guess as pseudo_adhoc is violating the 
standards (though it is very usefull) it might never be supported by 
anything else than proprietary drivers made by Atheros (afaik).

so. i want to use this hardware (RTL8187L) for this task (OLSR). any 
ideas? where should i start wasting my brain-time?

ot: anyone ever tried compiling the FullMAC r8187 driver (aircrack) for 
Atheros/MIPS systems?

cheers

daniel

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

* Re: some ideas about pseudo_adhoc (as rtl8187 cannot do beacon generation)
  2010-02-12  8:08 some ideas about pseudo_adhoc (as rtl8187 cannot do beacon generation) Daniel Golle
@ 2010-02-13  8:31 ` Benoit PAPILLAULT
  0 siblings, 0 replies; 2+ messages in thread
From: Benoit PAPILLAULT @ 2010-02-13  8:31 UTC (permalink / raw)
  To: Daniel Golle; +Cc: linux-wireless

Daniel Golle a écrit :
> hi!
> i've got an rtl8187l and want to use it in Ad-Hoc mode (actually 
> pseudo_adhoc would actually even be enough!). i researched a little 
> bit and found out that ad-hoc-, master- and mesh-mode are unsupported 
> due to the lack of beacon generation support in the mac80211 version 
> of the rtl8187 driver.
> as the softmac card probably doesn't support generating beacons in 
> firmware, does that mean we need to setup a beacon generation fork 
> repeatedly calling
> ieee80211_beacon_get
> and then sending the beacon? (very roughly, i'm guessing after reading 
> any 802.11 code for 20 minutes)
> probably a timing-critical task which needs to bypass the usual 
> buffers and such i can imagine...
TSF synchronisation is indeed critical since lots of mecanism like 
power-save, IBSS merges, ... requires a proper TSF. I don't know how 
accurate kernel timers are, but they might not match the IBSS expectation.
>
> anyway. pseudo_adhoc (i.e. ad-hoc without beacons) is a nice thing and 
> works great for use with user-space mesh-routing solutions such as 
> OLSR, batman or babel. however, i guess as pseudo_adhoc is violating 
> the standards (though it is very usefull) it might never be supported 
> by anything else than proprietary drivers made by Atheros (afaik).
>
> so. i want to use this hardware (RTL8187L) for this task (OLSR). any 
> ideas? where should i start wasting my brain-time?
Pseudo-IBSS is just like IBSS except :
- you don't send beacons
- BSSID is fixed at 00:00:00:00:00:00 (so SSID is useless .... and since 
there's no beacon anyway).

Maybe you could image an IBSS-like mode where :
- you don't send beacons (or at least don't rely on them)
- you still reply to Probe Request by Probe Response (so you can still 
scan, search for an SSID and synchronize the BSSID). However, you can 
have splits without proper handling of IBSS merges...

I would implement this latter since it's closer to the standard 802.11 
IBSS mode, which means less modifications in current and less 
interoperability problems.

>
> ot: anyone ever tried compiling the FullMAC r8187 driver (aircrack) 
> for Atheros/MIPS systems?
>
> cheers
>
> daniel
Regards,
Benoit


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

end of thread, other threads:[~2010-02-13  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12  8:08 some ideas about pseudo_adhoc (as rtl8187 cannot do beacon generation) Daniel Golle
2010-02-13  8:31 ` Benoit PAPILLAULT

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