* Adhoc-demo support in mac80211
@ 2009-03-24 16:59 ming li
2009-03-24 17:55 ` Kalle Valo
0 siblings, 1 reply; 9+ messages in thread
From: ming li @ 2009-03-24 16:59 UTC (permalink / raw)
To: linux-wireless
Folks,
I am wondering how hard it is to add support for ahdemo mode in mac80211.
My understanding of ahdemo is that it does not have the beacons or the
association process as in adhoc mode. Does this mean that I can just
comment out the beacon and association code of adhoc mode and make it
ahdemo? Any info will be highly appreciated.
Thanks,
Ming
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 16:59 Adhoc-demo support in mac80211 ming li
@ 2009-03-24 17:55 ` Kalle Valo
2009-03-24 20:33 ` Johannes Berg
2009-03-24 20:48 ` ming li
0 siblings, 2 replies; 9+ messages in thread
From: Kalle Valo @ 2009-03-24 17:55 UTC (permalink / raw)
To: ming li; +Cc: linux-wireless
ming li <mingli@cs.umass.edu> writes:
> I am wondering how hard it is to add support for ahdemo mode in mac80211.
> My understanding of ahdemo is that it does not have the beacons or the
> association process as in adhoc mode.
Can you provide more information about this Adhoc-demo mode? I have
never heard of it.
--
Kalle Valo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 17:55 ` Kalle Valo
@ 2009-03-24 20:33 ` Johannes Berg
2009-03-24 20:48 ` ming li
1 sibling, 0 replies; 9+ messages in thread
From: Johannes Berg @ 2009-03-24 20:33 UTC (permalink / raw)
To: Kalle Valo; +Cc: ming li, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
On Tue, 2009-03-24 at 19:55 +0200, Kalle Valo wrote:
> Can you provide more information about this Adhoc-demo mode? I have
> never heard of it.
I /think/ it's a pre-standards version of IBSS. I think I had an ancient
11b card that supported it somehow...
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 17:55 ` Kalle Valo
2009-03-24 20:33 ` Johannes Berg
@ 2009-03-24 20:48 ` ming li
2009-03-24 20:53 ` Johannes Berg
2009-03-24 21:08 ` Alina Friedrichsen
1 sibling, 2 replies; 9+ messages in thread
From: ming li @ 2009-03-24 20:48 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless
Hi,
The adhoc-demo mode is also called pseudo-adhoc mode. It is simply the
ad-hoc mode without control pkts. It does not probe for or associate
to adjacent adhoc networks. The user has to set all the nodes to the
same channel manually. The good thing of adhoc-demo is that it does
not have the beaconing overhead or the IBSS merging/splitting problem.
We used adhoc-demo mode under madwifi for long time and it worked
perfectly. Now we have to shift to ath9k but found out the mode is not
supported. I am just wondering if there is an easy way to hack adhoc
mode to disable beaconing and association.
Thanks,
Ming
On Tue, Mar 24, 2009 at 1:55 PM, Kalle Valo <kalle.valo@iki.fi> wrote:
> ming li <mingli@cs.umass.edu> writes:
>
>> I am wondering how hard it is to add support for ahdemo mode in mac80211.
>> My understanding of ahdemo is that it does not have the beacons or the
>> association process as in adhoc mode.
>
> Can you provide more information about this Adhoc-demo mode? I have
> never heard of it.
>
> --
> Kalle Valo
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 20:48 ` ming li
@ 2009-03-24 20:53 ` Johannes Berg
2009-03-24 20:58 ` ming li
2009-03-24 21:08 ` Alina Friedrichsen
1 sibling, 1 reply; 9+ messages in thread
From: Johannes Berg @ 2009-03-24 20:53 UTC (permalink / raw)
To: ming li; +Cc: Kalle Valo, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
On Tue, 2009-03-24 at 16:48 -0400, ming li wrote:
> The adhoc-demo mode is also called pseudo-adhoc mode. It is simply the
> ad-hoc mode without control pkts. It does not probe for or associate
> to adjacent adhoc networks. The user has to set all the nodes to the
> same channel manually. The good thing of adhoc-demo is that it does
> not have the beaconing overhead or the IBSS merging/splitting problem.
Do you really need to disable beaconing, or would it be sufficient for
you to just fix the BSSID and the channel? You can do those two already
easily, something like
iwconfig wlan0 ap ...
iwconfig wlan0 channel ...
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 20:53 ` Johannes Berg
@ 2009-03-24 20:58 ` ming li
2009-03-24 21:10 ` Alina Friedrichsen
2009-03-25 8:57 ` Johannes Berg
0 siblings, 2 replies; 9+ messages in thread
From: ming li @ 2009-03-24 20:58 UTC (permalink / raw)
To: Johannes Berg; +Cc: Kalle Valo, linux-wireless
Yes, I have to disable beaconing. Is there any easy way to disable
them? Will this confuse the state machine in mac80211?
BTW, even if you do "iwconfig wlan0 ap..." the IBSS domain still might
split when the link loss rate is high, right?
On Tue, Mar 24, 2009 at 4:53 PM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Tue, 2009-03-24 at 16:48 -0400, ming li wrote:
>
>> The adhoc-demo mode is also called pseudo-adhoc mode. It is simply t=
he
>> ad-hoc mode without control pkts. It does not probe for or associate
>> to adjacent adhoc networks. The user has to set all the nodes to the
>> same channel manually. The good thing of adhoc-demo is that it does
>> not have the beaconing overhead or the IBSS merging/splitting proble=
m.
>
> Do you really need to disable beaconing, or would it be sufficient fo=
r
> you to just fix the BSSID and the channel? You can do those two alrea=
dy
> easily, something like
> =A0 =A0 =A0 =A0iwconfig wlan0 ap ...
> =A0 =A0 =A0 =A0iwconfig wlan0 channel ...
>
> johannes
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 20:58 ` ming li
@ 2009-03-24 21:10 ` Alina Friedrichsen
2009-03-25 8:57 ` Johannes Berg
1 sibling, 0 replies; 9+ messages in thread
From: Alina Friedrichsen @ 2009-03-24 21:10 UTC (permalink / raw)
To: ming li, johannes; +Cc: linux-wireless, kalle.valo
Hi!
> BTW, even if you do "iwconfig wlan0 ap..." the IBSS domain still migh=
t
> split when the link loss rate is high, right?
No, the BSSID is fixed for ever. I have implement it.
Regards
Alina
--=20
Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt? Der kann`s mit all=
en: http://www.gmx.net/de/go/multimessenger01
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 20:58 ` ming li
2009-03-24 21:10 ` Alina Friedrichsen
@ 2009-03-25 8:57 ` Johannes Berg
1 sibling, 0 replies; 9+ messages in thread
From: Johannes Berg @ 2009-03-25 8:57 UTC (permalink / raw)
To: ming li; +Cc: Kalle Valo, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
On Tue, 2009-03-24 at 16:58 -0400, ming li wrote:
> Yes, I have to disable beaconing. Is there any easy way to disable
> them? Will this confuse the state machine in mac80211?
Not really, it should work, with the expected problems.
I'm not going to support it in mac80211 though -- so you're going to
rely on a patch to the kernel forever forward.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Adhoc-demo support in mac80211
2009-03-24 20:48 ` ming li
2009-03-24 20:53 ` Johannes Berg
@ 2009-03-24 21:08 ` Alina Friedrichsen
1 sibling, 0 replies; 9+ messages in thread
From: Alina Friedrichsen @ 2009-03-24 21:08 UTC (permalink / raw)
To: ming li; +Cc: Kalle Valo, linux-wireless
Hello Ming!
> The good thing of adhoc-demo is that it does
> not have the beaconing overhead or=20
I personally don't like the idea implementing this non-standard mode in=
mac80211 as a separate mode, but maybe allow the user to disable beaco=
ning with a nl80211 call?
Johannes, what do you think about it?
> the IBSS merging/splitting problem.
With mac80211 you can set a fixed BSSID like with madwifi to solve this=
Problem.
iwconfig wlan0 ap 42:ca:ff:ee:fe:ed
Regards
Alina
--=20
Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal gesch=FCtz=
t?
Jetzt absichern: https://homebanking.gmx.net/?mc=3Dmail@footer.hb
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-25 8:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 16:59 Adhoc-demo support in mac80211 ming li
2009-03-24 17:55 ` Kalle Valo
2009-03-24 20:33 ` Johannes Berg
2009-03-24 20:48 ` ming li
2009-03-24 20:53 ` Johannes Berg
2009-03-24 20:58 ` ming li
2009-03-24 21:10 ` Alina Friedrichsen
2009-03-25 8:57 ` Johannes Berg
2009-03-24 21:08 ` Alina Friedrichsen
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).