Re: [Madwifi-devel] ath5k and IBSS/adhoc mode

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <madwifi-devel@...>
Cc: <ath5k-users@...>, Joerg Pommnitz <pommnitz@...>
Date: Tuesday, October 16, 2007 - 9:45 am

hello!

some kind of "pseudo IBSS" mode is working for me... it's actually not full 
IBSS mode, but something a bit above "ahdemo" mode. this means that no 
beacons are sent, but that probe requests are answered. i can use this in A 
and G mode and get a decent performance (around 25Mbps in A mode) between two 
nodes with an AR5212 chipset on my desk. i assume these have been the 
most "extensive" tests in "pseudo IBSS" mode so far ;)

i use the following steps to do that:

root@one:~# modprobe ath5k
root@one:~# iwconfig wlan0 mode ad-hoc essid ath5k channel 60
root@one:~# ifconfig wlan0 10.0.0.1

this will not create the ibss:

root@one:~# iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"ath5k"
          Mode:Ad-Hoc  Frequency:2.452 GHz  Cell: Not-Associated
          Tx-Power=17 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

you have to trigger one scan, in order to get it started:

root@one:~# iwlist wlan0 scan >/dev/null
root@one:~# iwconfig wlan0
wlan0     IEEE 802.11a  ESSID:"ath5k"
          Mode:Ad-Hoc  Frequency:5.3 GHz  Cell: 46:79:1F:0B:99:80
          Tx-Power=17 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

same procedure on the second node...

if the thruput drops (the rate control is know to be not so good) you can 
force a fixed rate with:

root@one:~# iwconfig wlan0 rate 54M

thats about it... if you have wpa_supplicant running in the background (as 
with most modern distributions) you might be able to skip the scanning step.

bruno

On Tuesday 16 October 2007 16:35:42 Joerg Pommnitz wrote:



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Madwifi-devel mailing list
Madwifi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-devel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Madwifi-devel] ath5k and IBSS/adhoc mode, Joerg Pommnitz, (Tue Oct 16, 3:35 am)
Re: [Madwifi-devel] ath5k and IBSS/adhoc mode, bruno randolf, (Tue Oct 16, 9:45 am)
Re: [Madwifi-devel] ath5k and IBSS/adhoc mode, Jiri Slaby, (Wed Oct 17, 4:36 am)
Re: [Madwifi-devel] ath5k and IBSS/adhoc mode, bruno randolf, (Fri Oct 19, 4:48 am)