Skip to contentSkip to conversation

Ad-hoc mode of ath9k

ath9k-devel Jinsung Lee 3 participants 6 messages Nov 5, 2009

lore
Share & tools
lore
#0 lore raw

Hi, all.

I'm currently using ad-hoc mode for point-to-point connection on ath9k driver.

The two nearby nodes are set to have the same essid and same channel and same rate using the following command:

"iwconfig wlan1 mode ad-hoc essid LJS channel 40 rate 6M txpower 20" and then,

"ifconfig wlan1 192.168.254.xx netmask 255.255.0.0 broadcast 192.168.255.255 up".

After inputting the above commands, I tried to test the connection between two nodes using "ping", but it failed, only showing "Destination Host Unreachable".

I could easily find the reason, which is because the two nodes have different "cell id", thus meaning the different network.

At that time, the "dmesg" of two nodes showed the following logs, respectively.

One node

[  523.502013] wlan1: Trigger new scan to find an IBSS to join
[  529.000184] wlan1: Trigger new scan to find an IBSS to join
[  532.436019] wlan1: Creating new IBSS network, BSSID aa:4c:76:bb:33:a6

Another node

[  754.687641] wlan1: Trigger new scan to find an IBSS to join
[  762.000017] wlan1: Trigger new scan to find an IBSS to join
[  765.436029] wlan1: Creating new IBSS network, BSSID b6:23:0e:2c:d8:e4

Why do they get to have different bssids although they are very close to each other?

Can it be thought of a kind of bug?

In addition to this, even if they have the same bssid (or cell id), they can't sometimes communicate with ping.

Actually, I really need the ad-hoc mode support for my experiment.

Thus, this kind of question is very important to me.

Please leave your opinion.

Thanks.

--

Regards,

Jinsung Lee

--

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091105/07ac8210/attachment.htm

#1 lore raw

Maybe 802.11N not support adhoc very well.

In 802.11N draft, Nothing about adhoc.

2009/11/5 Jinsung Lee <[email protected]>

Quoted 88 lines

Hi, all.

I?m currently using ad-hoc mode for point-to-point connection on ath9k driver.

The two nearby nodes are set to have the same essid and same channel and same rate using the following command:

?iwconfig wlan1 mode ad-hoc essid LJS channel 40 rate 6M txpower 20? and then,

?ifconfig wlan1 192.168.254.xx netmask 255.255.0.0 broadcast 192.168.255.255 up?.

After inputting the above commands, I tried to test the connection between two nodes using ?ping?, but it failed, only showing ?Destination Host Unreachable?.

I could easily find the reason, which is because the two nodes have different ?cell id?, thus meaning the different network.

At that time, the ?dmesg? of two nodes showed the following logs, respectively.

One node

[  523.502013] wlan1: Trigger new scan to find an IBSS to join
[  529.000184] wlan1: Trigger new scan to find an IBSS to join
[  532.436019] wlan1: Creating new IBSS network, BSSID aa:4c:76:bb:33:a6

Another node

[  754.687641] wlan1: Trigger new scan to find an IBSS to join
[  762.000017] wlan1: Trigger new scan to find an IBSS to join
[  765.436029] wlan1: Creating new IBSS network, BSSID b6:23:0e:2c:d8:e4

Why do they get to have different bssids although they are very close to each other?

Can it be thought of a kind of bug?

In addition to this, even if they have the same bssid (or cell id), they can?t sometimes communicate with ping.

Actually, I really need the ad-hoc mode support for my experiment.

Thus, this kind of question is very important to me.

Please leave your opinion.

Thanks.

--

Regards,

Jinsung Lee

--

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 6 lines
Yongheng Qi

Mobile: +86 1390 119 7481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091105/b0e07478/attachment-0001.htm 
#2 lore raw

Thanks.

So far, I haven?t used 802.11n since it can?t provide the rate setting in ad-hoc mode.

That is what I?m using only 802.11abg using ath9k driver.

But it has some problem related to a kind of association operation, as I mentioned before.

Can one recommend the ath9k or ath5k instead of madwifi, I mean, in terms of stability of operation? (Of course, only ath9k provides 802.11n chipset)

--

Regards,

Jinsung Lee

--

From: Yongheng Qi [mailto:jetever at gmail.com]
Sent: Thursday, November 05, 2009 5:18 PM
To: Jinsung Lee
Cc: ath9k-devel at venema.h4ckr.net
Subject: Re: [ath9k-devel] Ad-hoc mode of ath9k

Maybe 802.11N not support adhoc very well.

In 802.11N draft, Nothing about adhoc.

2009/11/5 Jinsung Lee <[email protected]>

Hi, all.

I?m currently using ad-hoc mode for point-to-point connection on ath9k driver.

The two nearby nodes are set to have the same essid and same channel and same rate using the following command:

?iwconfig wlan1 mode ad-hoc essid LJS channel 40 rate 6M txpower 20? and then,

?ifconfig wlan1 192.168.254.xx netmask 255.255.0.0 broadcast 192.168.255.255 up?.

After inputting the above commands, I tried to test the connection between two nodes using ?ping?, but it failed, only showing ?Destination Host Unreachable?.

I could easily find the reason, which is because the two nodes have different ?cell id?, thus meaning the different network.

At that time, the ?dmesg? of two nodes showed the following logs, respectively.

One node

[  523.502013] wlan1: Trigger new scan to find an IBSS to join
[  529.000184] wlan1: Trigger new scan to find an IBSS to join
[  532.436019] wlan1: Creating new IBSS network, BSSID aa:4c:76:bb:33:a6

Another node

[  754.687641] wlan1: Trigger new scan to find an IBSS to join
[  762.000017] wlan1: Trigger new scan to find an IBSS to join
[  765.436029] wlan1: Creating new IBSS network, BSSID b6:23:0e:2c:d8:e4

Why do they get to have different bssids although they are very close to each other?

Can it be thought of a kind of bug?

In addition to this, even if they have the same bssid (or cell id), they can?t sometimes communicate with ping.

Actually, I really need the ad-hoc mode support for my experiment.

Thus, this kind of question is very important to me.

Please leave your opinion.

Thanks.

--

Regards,

Jinsung Lee

--

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 7 lines
Yongheng Qi  

Mobile: +86 1390 119 7481

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091105/308f9952/attachment-0001.htm 
#3 lore raw

No, the 802.11n rate control is different with b/g, It is include HT40, MIMO.

Maybe you can try to set the b/g rate.

2009/11/5 Jinsung Lee <[email protected]>

Quoted 137 lines

Thanks.

So far, I haven?t used 802.11n since it can?t provide the rate setting in ad-hoc mode.

That is what I?m using only 802.11abg using ath9k driver.

But it has some problem related to a kind of association operation, as I mentioned before.

Can one recommend the ath9k or ath5k instead of madwifi, I mean, in terms of stability of operation? (Of course, only ath9k provides 802.11n chipset)

--

Regards,

Jinsung Lee

--

*From:* Yongheng Qi [mailto:jetever at gmail.com]
*Sent:* Thursday, November 05, 2009 5:18 PM
*To:* Jinsung Lee
*Cc:* ath9k-devel at venema.h4ckr.net
*Subject:* Re: [ath9k-devel] Ad-hoc mode of ath9k

Maybe 802.11N not support adhoc very well.

In 802.11N draft, Nothing about adhoc.

2009/11/5 Jinsung Lee <[email protected]>

Hi, all.

I?m currently using ad-hoc mode for point-to-point connection on ath9k driver.

The two nearby nodes are set to have the same essid and same channel and same rate using the following command:

?iwconfig wlan1 mode ad-hoc essid LJS channel 40 rate 6M txpower 20? and then,

?ifconfig wlan1 192.168.254.xx netmask 255.255.0.0 broadcast 192.168.255.255 up?.

After inputting the above commands, I tried to test the connection between two nodes using ?ping?, but it failed, only showing ?Destination Host Unreachable?.

I could easily find the reason, which is because the two nodes have different ?cell id?, thus meaning the different network.

At that time, the ?dmesg? of two nodes showed the following logs, respectively.

One node

[  523.502013] wlan1: Trigger new scan to find an IBSS to join
[  529.000184] wlan1: Trigger new scan to find an IBSS to join
[  532.436019] wlan1: Creating new IBSS network, BSSID aa:4c:76:bb:33:a6

Another node

[  754.687641] wlan1: Trigger new scan to find an IBSS to join
[  762.000017] wlan1: Trigger new scan to find an IBSS to join
[  765.436029] wlan1: Creating new IBSS network, BSSID b6:23:0e:2c:d8:e4

Why do they get to have different bssids although they are very close to each other?

Can it be thought of a kind of bug?

In addition to this, even if they have the same bssid (or cell id), they can?t sometimes communicate with ping.

Actually, I really need the ad-hoc mode support for my experiment.

Thus, this kind of question is very important to me.

Please leave your opinion.

Thanks.

--

Regards,

Jinsung Lee

--

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

--
Yongheng Qi

Mobile: +86 1390 119 7481

Signature · 6 lines
Yongheng Qi

Mobile: +86 1390 119 7481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091105/6fc17cef/attachment.htm 
#4 lore raw

There was a patch to fix just that, i.e. the bssid(cell id) mismatch problem. or you can manually set cell id on both nodes, make sure they're identical, in that case you do not need apply the mentioned patch, and ibss/adhoc will work.

xxiao

Quoted 263 lines · Yongheng Qi

From: Yongheng Qi <[email protected]>
Subject: Re: [ath9k-devel] Ad-hoc mode of ath9k
To: "Jinsung Lee" <[email protected]>
Cc: ath9k-devel at venema.h4ckr.net
Date: Thursday, November 5, 2009, 2:39 AM
No, the 802.11n rate control is different
with b/g, It is include HT40, MIMO.

Maybe you can try to set the b/g rate.

2009/11/5 Jinsung Lee <[email protected]>

Thanks.

?

So far, I
haven?t used 802.11n since it can?t provide the rate setting in ad-hoc mode.

That is
what I?m using only 802.11abg using ath9k
driver.

But it has
some problem related to a kind of association operation, as I mentioned before.

Can one
recommend the ath9k or ath5k instead of madwifi, I mean, in terms of stability of operation? (Of course, only ath9k provides 802.11n
chipset)

?

--

Regards,

Jinsung
Lee

--

?

From: Yongheng Qi [mailto:jetever at gmail.com]

Sent: Thursday, November 05, 2009 5:18 PM

To: Jinsung Lee

Cc ath9k-devel at venema.h4ckr.net

Subject: Re: [ath9k-devel] Ad-hoc mode of
ath9k

?

Maybe 802.11N
not support adhoc very well.

In 802.11N draft, Nothing about adhoc.

2009/11/5 Jinsung
Lee <[email protected]>

Hi,
all.

?

I?m
currently using ad-hoc mode for point-to-point connection on ath9k driver.

The
two nearby nodes are set to have the same essid and same channel and same rate
using the following command:

?iwconfig
wlan1 mode ad-hoc essid LJS channel 40 rate 6M txpower 20? and then,

?ifconfig
wlan1 192.168.254.xx netmask 255.255.0.0 broadcast 192.168.255.255 up?.

?

After
inputting the above commands, I tried to test the
connection between two nodes
using ?ping?, but it failed, only showing
?Destination Host Unreachable?.

I
could easily find the reason, which is because the two nodes have different ?cell
id?, thus meaning the different network.

At
that time, the ?dmesg? of two nodes showed the
following logs, respectively.

?

One
node

[?
523.502013] wlan1: Trigger new scan to find an IBSS to join

[?
529.000184] wlan1: Trigger new scan to find an IBSS to join

[?
532.436019] wlan1: Creating new IBSS network, BSSID aa:4c:76:bb:33:a6

?

Another
node

[?
754.687641] wlan1: Trigger new scan to find an IBSS to join

[?
762.000017] wlan1: Trigger new scan to find an IBSS to join

[?
765.436029] wlan1: Creating new IBSS network, BSSID b6:23:0e:2c:d8:e4

?

Why
do they get to have different bssids although they are very close to each
other?

Can
it be thought of a kind of bug?

In
addition to this, even if they have the same bssid (or cell id), they can?t
sometimes communicate with ping.

?

Actually,
I really need the ad-hoc mode support for my
experiment.

Thus,
this kind of question is very important to me.

Please
leave your opinion.

Thanks.

?

?

--

Regards,

Jinsung
Lee

--

?

_______________________________________________

ath9k-devel mailing list

ath9k-devel at lists.ath9k.org

https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 26 lines
Yongheng Qi ?



Mobile: +86 1390 119 7481









-- 
Yongheng Qi ?

Mobile: +86 1390 119 7481


-----Inline Attachment Follows-----

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
#5 lore raw

Dear xxiao,

Thanks for the reply.
According to your comment, I tried to find the patch, but I couldn't.
Could you let me know where the patch can be found?
On the other hand, I installed the 2.6.32.rc6 kernel and compat-wireless-2009-11-05 altogether on the two nodes. This combination still exhibits the same problem.
They make their cell id different even though I set the same essid for them.
So, both nodes can't connect in ad-hoc mode so far.

--
Regards,
Jinsung Lee
--

-----Original Message-----
From: xxiao [mailto:austinxxh-ath9k at yahoo.com]
Sent: Thursday, November 05, 2009 9:43 PM
To: Jinsung Lee; Yongheng Qi
Cc: ath9k-devel at venema.h4ckr.net
Subject: Re: [ath9k-devel] Ad-hoc mode of ath9k

There was a patch to fix just that, i.e. the bssid(cell id) mismatch problem. or you can manually set cell id on both nodes, make sure they're identical, in that case you do not need apply the mentioned patch, and ibss/adhoc will work.

xxiao

Quoted 263 lines · Yongheng Qi

From: Yongheng Qi <[email protected]>
Subject: Re: [ath9k-devel] Ad-hoc mode of ath9k
To: "Jinsung Lee" <[email protected]>
Cc: ath9k-devel at venema.h4ckr.net
Date: Thursday, November 5, 2009, 2:39 AM
No, the 802.11n rate control is different
with b/g, It is include HT40, MIMO.

Maybe you can try to set the b/g rate.

2009/11/5 Jinsung Lee <[email protected]>

Thanks.

So far, I
haven?t used 802.11n since it can?t provide the rate setting in ad-hoc mode.

That is
what I?m using only 802.11abg using ath9k
driver.

But it has
some problem related to a kind of association operation, as I mentioned before.

Can one
recommend the ath9k or ath5k instead of madwifi, I mean, in terms of stability of operation? (Of course, only ath9k provides 802.11n
chipset)

--

Regards,

Jinsung
Lee

--

From: Yongheng Qi [mailto:jetever at gmail.com]

Sent: Thursday, November 05, 2009 5:18 PM

To: Jinsung Lee

Cc ath9k-devel at venema.h4ckr.net

Subject: Re: [ath9k-devel] Ad-hoc mode of
ath9k

Maybe 802.11N
not support adhoc very well.

In 802.11N draft, Nothing about adhoc.

2009/11/5 Jinsung
Lee <[email protected]>

Hi,
all.

I?m
currently using ad-hoc mode for point-to-point connection on ath9k driver.

The
two nearby nodes are set to have the same essid and same channel and same rate
using the following command:

?iwconfig
wlan1 mode ad-hoc essid LJS channel 40 rate 6M txpower 20? and then,

?ifconfig
wlan1 192.168.254.xx netmask 255.255.0.0 broadcast 192.168.255.255 up?.

After
inputting the above commands, I tried to test the
connection between two nodes
using ?ping?, but it failed, only showing
?Destination Host Unreachable?.

I
could easily find the reason, which is because the two nodes have different ?cell
id?, thus meaning the different network.

At
that time, the ?dmesg? of two nodes showed the
following logs, respectively.

One
node

[
523.502013] wlan1: Trigger new scan to find an IBSS to join

[
529.000184] wlan1: Trigger new scan to find an IBSS to join

[
532.436019] wlan1: Creating new IBSS network, BSSID aa:4c:76:bb:33:a6

Another
node

[
754.687641] wlan1: Trigger new scan to find an IBSS to join

[
762.000017] wlan1: Trigger new scan to find an IBSS to join

[
765.436029] wlan1: Creating new IBSS network, BSSID b6:23:0e:2c:d8:e4

Why
do they get to have different bssids although they are very close to each
other?

Can
it be thought of a kind of bug?

In
addition to this, even if they have the same bssid (or cell id), they can?t
sometimes communicate with ping.

Actually,
I really need the ad-hoc mode support for my
experiment.

Thus,
this kind of question is very important to me.

Please
leave your opinion.

Thanks.

--

Regards,

Jinsung
Lee

--

_______________________________________________

ath9k-devel mailing list

ath9k-devel at lists.ath9k.org

https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 26 lines
Yongheng Qi  



Mobile: +86 1390 119 7481









-- 
Yongheng Qi  

Mobile: +86 1390 119 7481


-----Inline Attachment Follows-----

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel