Xiaowei | 26 Apr 08:59
Picon

Using tcpdump to filter beacons

Hi all,


I'm using tcpdump to filter beacons. Here are the settings:
Ubuntu 10.04,
madwifi-hal-0.10.5.6-r4103-20100110,
Atheros AR5001X+ wireless card,

I set the wireless interface (ath0) to work in monitor mode, and on the same channel as the access point(channel 6): 
sudo iwconfig ath0 channel 6. (Also tried frequency: sudo iwconfig ath0 freq 2.437G)

Then when I use the following command to capture beacons:
sudo tcpdump -i ath0 -ne link[25]=0x80
it takes much longer time than expected. The access point is broadcasting beacons in default rate 100ms, but it takes almost 20 minutes to collect 200 beacons.

Any idea what's going on here?

Thanks,
Sean

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
nlxswig | 23 Dec 16:39
Favicon

how can I subscribe this maillist?

hi list
         I don't know how to subscribe this list,can you help me?
         And off course I have some questions, Could you please help me to resolve them?
         Perhaps, the trouble is not very big, while you know I'm a freshman of this fields, so...
         OK, now we are developing a device with wireless access point, it's based on the chipset of Atheros
         I just want to know when other device with wifi function connected into the wlan of our host device, how can we get the info of the client wifi device? such as IP, MAC, N AME... 
         Are there any available tools can help me to these details? Or, I have to use the API of the driver??
         Looking forward to your reply. Thanks a lot.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Mister_New | 21 Nov 11:45
Picon
Favicon

Tx_bytes

Hello everybody, I have a question and I hope that somebody can help me. I
know that in netdevice.h file there is the struct net_device_stats with
rx_bytes and tx_bytes fields. I wrote a program that prints on stdout (every
x seconds) these two numbers. While for rx_bytes I know that this is the
number of *correctly* received bytes, I was wondering: how can I know the
number of total *successfully* transmitted bytes? This question comes from
the fact that tx_bytes is incremented when is put into the buffer and so it
counts also retransmissions (and by the way some of them are performed by
hardware...), but I'm interested in just the correct tx_bytes, because I
have to compute the goodput. Is there an expert guy (or maybe more than one)
that knows how to help me? 

Thanks in advance.

Regards.

--
View this message in context: http://madwifi-users.20070.n2.nabble.com/Tx-bytes-tp7015933p7015933.html
Sent from the Madwifi Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
francisco cardenas | 15 Nov 17:22
Picon

Problem Madwifi - I need 50% packet loss

Dear Sirs;

 

My name is Francisco Cárdenas, I'm a Spanish engineer and I write this email to find a solution to my problem with Madwifi.

 

I am currently working on a research for energy saving in the 802.11 standard and for that I have made a platform with two PCI card (DWL-G520) with atheros chipset. I also use Madwifi as driver.

 

The platform consists of the following: a card will act as AP and the other as station. This station must send a constant number of frames to the access point (eg, sample temperature). The access point can request a smaller amount of samples by the beacon frame to the station. To send fewer frames, I do not under the frecuency of sending of packets in the estation. What we really do is lower the transmission power (txpower) to have packet loss and save energy in the transmission (by IOCTL calls). The problem is that when I lose about 20% of packets the card quickly becomes unstable and starts to have 100% of packets loss. I then dynamically increase power, but takes time to stabilize (20 - 30 seconds).

 

I wish I had a 50% packet loss to increase the margin of my energy saving algorithm.

 

My question is if this problem (going from 20% to 100% loss packets) is due to Madwifi and if a parameter that can be changed.

 

The funny thing is that when there is a 100% loss and tries to send frames, the access point is receiving packets. Probably the card is not receiving acks.

 

Can you help me?

 

I would appreciate greatly. Thank you very much for everything.



--
Francisco Cárdenas

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Érico Porto | 9 Nov 15:42
Picon

ath hal for sr71-a

Hey,

Which version of Madwifi should I use to work with sr71-a, from ubiquiti? ANd which kernel version?

Regards,

Érico V. Porto
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Michal Debski | 26 Oct 22:38
Picon
Favicon

AR9220/Pci Partially Working

Hello,
 
I am trying to integrate a WLM200N5 minipci 11n/a card (which is, I believe, AR9220-based, pciid 0x168c0029) into an PPC-based box running 2.4.24.
 
I have patched my copy of the madwifi-devel stream with Mr. Roskin's AR9220 patch
 
The card appears to be working from the software side of things - I can bring up the interface, setup ssid and a channel, and retrieve stats.
The radio, however, does not seem to be producing any RF output - confirmed by an 802.11 power analyzer connected to either of the antennas.
I have tried setting the RFKILL parameter both in software and hardware (blocking the appropriate PCI pin), to no avail.
 
I would welcome any ideas regarding using similar (pciid 0x168c0029) cards with Madwifi. Perhaps someone would have an updated patch (which would be very appreciated)?
 
Michal
--
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
DarshanPrajapati | 18 Oct 12:12
Favicon

getting error while Compiling kernel 2.35 with madwifi driver

Dear all,

I am compiling kernel 2.35 after applying patch by ruining install.sh  
found in "madwifi-0.9.4-r4173-20111008" source downloaded from->  
"http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz"

it gives error like ------------------------------

CC [M]  drivers/net/wireless/madwifi/ath/if_ath.o
   CC [M]  drivers/net/wireless/madwifi/ath/if_ath_pci.o
In file included from
drivers/net/wireless/madwifi/ath/if_ath.c:45:
/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12/drivers/net/wireless/madwifi/ath/../ath_hal/opt_ah.h:1:18:
error:
/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12/drivers/net/wireless/madwifi/ath/../hal/public/arm-elf.opt_ah.h:
No such file or  
directory
In file included from
drivers/net/wireless/madwifi/ath/if_ath_pci.c:39:
/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12/drivers/net/wireless/madwifi/ath/../ath_hal/opt_ah.h:1:18:
error:
/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12/drivers/net/wireless/madwifi/ath/../hal/public/arm-elf.opt_ah.h:
No such file or  
directory
make[6]: *** [drivers/net/wireless/madwifi/ath/if_ath_pci.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: *** No rule to make target 

`/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12/drivers/net/wireless/madwifi/ath_hal/../hal/public/arm-elf.hal.o.uu',
needed by `drivers/net/wireless/madwifi/ath_hal/arm-elf.hal.o'.   
Stop.
make[6]: *** Waiting for unfinished jobs....
   CC [M]  drivers/net/wireless/madwifi/ath_hal/ah_os.o
make[6]: *** [drivers/net/wireless/madwifi/ath/if_ath.o] Error 1
make[5]: *** [drivers/net/wireless/madwifi/ath] Error 2
make[5]: *** Waiting for unfinished jobs....
In file included from drivers/net/wireless/madwifi/ath_hal/ah_os.c:38:
drivers/net/wireless/madwifi/ath_hal/opt_ah.h:1:18: error: 

/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12/drivers/net/wireless/madwifi/ath_hal/../hal/public/arm-elf.opt_ah.h:
No such file or  
directory
make[6]: *** [drivers/net/wireless/madwifi/ath_hal/ah_os.o] Error 1
make[5]: *** [drivers/net/wireless/madwifi/ath_hal] Error 2
make[4]: *** [drivers/net/wireless/madwifi] Error 2
make[3]: *** [drivers/net/wireless] Error 2
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
make[1]: Leaving directory  
`/home/linuxpc1/Darshan/OIB/Downloads/CNS3xxx_LSDK_ver.1.2_RC7_Release/cns3xxx-sdk+buildroot/cns3xxx-sdk/kernel/linux-2.6.35.12'
make: *** [make_rootfs] Error 2

Can any one help me in this matter......?

thanks in advance.
Darshan.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
Vertical Limit | 13 Oct 16:26
Picon

how to activate 802.11a/h 5490-5710 frequencies for usage in europe (DFS, 27dBm) - PART 2

Hey,

in addition to the problem I posted some hours ago (see below):

If I configure the regdomain to 0x30 (ETSI) (ath_info -w 0xe0080000 regdomain 0x30) and load ath_pci with

modprobe ath_pci countrycode=276

I am loosing my wifi0 and wifi1 devices. My iwconfig output only shows eth0 and lo.

If I configure the regdomain to 0x00 and load ath_pci with

modprobe ath_pci countrycode=276

iwconfig shows wifi0 and wifi1 like expected but I am (I guess because of regdomain 0x00) only able to set the txpower to 0dBm (=1mW).

So again my question: How can I configure my modules/driver in a way that they are configurable for the following frequency ranges:

2402-2482 20dBm
5170-5250 20dBm no-outdoor
5250-5330 20dBm no-outdoor, dfs
5490-5710 27dBm dfs

Most important for me is the frequency band 5490-5710 at a txpower of 27dBm!

Thx a lot.
vertlim




Hi everyone,

I'm new to this list so hopefully this is the right place for my questions :)

For my project I have to use 802.11a/h outdoor with high transmission power. As I am from Europe I am allowed to use the frequency range 5490-5720 with a maximum EIRP of 27dBm if DFS is supported. I'm developing on an ALIX board (Voyage OS, kernel 2.6.30) equipped with two Atheros AR5213A based WiFi modules. The output of lspci -v:

00:0e.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
Subsystem: Wistron NeWeb Corp. CM9 Wireless a/b/g MiniPCI Adapter
Flags: bus master, medium devsel, latency 96, IRQ 11
Memory at e0080000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ath_pci
Kernel modules: ath5k, ath_pci

Initially I started using the ath5k driver. But if I am not wrong it doesn't support Radar Detection/DFS until now!? As a consequence I switched back to madwifi.

I checked out the madwifi-dfs branch (r4149, 12.10.2011), compiled and installed it. With

ath_info -w 0xe0080000 regdomain 0x30

I wrote the ETSI regdomain (0x30) and I set the countrycode to germany (276) when executing modprobe. You can find the output of ath_info at the end of this mail.

Nevertheless, if I list the available frequencies with iwlist ath1 freq I dont get the desired frequency band of 5490-5710:

ath1      35 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Current Frequency:5.32 GHz (Channel 64)

I am trying this now for a long time and I really have no idea how to activate the missing frequencies to be allowed to use up to 27dBm.

greetings
vertlim

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Vertical Limit | 13 Oct 12:53
Picon

how to activate 802.11a/h 5490-5710 frequencies for usage in europe (DFS, 27dBm)

Hi everyone,

I'm new to this list so hopefully this is the right place for my questions :)

For my project I have to use 802.11a/h outdoor with high transmission power. As I am from Europe I am allowed to use the frequency range 5490-5720 with a maximum EIRP of 27dBm if DFS is supported. I'm developing on an ALIX board (Voyage OS, kernel 2.6.30) equipped with two Atheros AR5213A based WiFi modules. The output of lspci -v:

00:0e.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
Subsystem: Wistron NeWeb Corp. CM9 Wireless a/b/g MiniPCI Adapter
Flags: bus master, medium devsel, latency 96, IRQ 11
Memory at e0080000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ath_pci
Kernel modules: ath5k, ath_pci

Initially I started using the ath5k driver. But if I am not wrong it doesn't support Radar Detection/DFS until now!? As a consequence I switched back to madwifi.

I checked out the madwifi-dfs branch (r4149, 12.10.2011), compiled and installed it. With

ath_info -w 0xe0080000 regdomain 0x30

I wrote the ETSI regdomain (0x30) and I set the countrycode to germany (276) when executing modprobe. You can find the output of ath_info at the end of this mail.

Nevertheless, if I list the available frequencies with iwlist ath1 freq I dont get the desired frequency band of 5490-5710:

ath1      35 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Current Frequency:5.32 GHz (Channel 64)

I am trying this now for a long time and I really have no idea how to activate the missing frequencies to be allowed to use up to 27dBm.

greetings
vertlim








 -==Device Information==-
MAC Revision: 5213A (0x59)
Device type:  3
5GHz PHY Revision: 5112B (0x36)

/============== EEPROM Information =============\
| EEPROM Version:   4.8 | EEPROM Size:  16 kbit |
| EEMAP:              1 | Reg. Domain:     0x30 |
|================= Capabilities ================|
| 802.11a Support:  yes | Turbo-A disabled: no  |
| 802.11b Support:  yes | Turbo-G disabled: no  |
| 802.11g Support:  yes | 2GHz XR disabled: no  |
| RFKill  Support:  yes | 5GHz XR disabled: no  |
| 32kHz   Crystal:  yes |                       |
\===============================================/

/=========================================================\
|          Calibration data common for all modes          |
|=========================================================|
|          CCK/OFDM gain delta:             3             |
|          CCK/OFDM power delta:           10             |
|          Scaled CCK delta:               15             |
|          2GHz Antenna gain:               1             |
|          5GHz Antenna gain:               1             |
|          Turbo 2W maximum dBm:           32             |
|          Target power start:          0x191             |
|          EAR Start:                   0x1fb             |
\=========================================================/

/=========================================================\
|          Calibration data for 802.11a operation         |
|=========================================================|
| I power:              0x08 | Q power:              0x06 |
| Use fixed bias:       0x01 | Max turbo power:      0x20 |
| Max XR power:         0x24 | Switch Settling Time: 0x2d |
| Tx/Rx attenuation:    0x0f | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x0f | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x05 |
| I gain:               0x0a | Tx/Rx margin:         0x0b |
| False detect backoff: 0x00 | Noise Floor Threshold: -54 |
| ADC desired size:      -32 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x01 | Antenna control   3:  0x00 |
| Antenna control   4:  0x00 | Antenna control   5:  0x00 |
| Antenna control   6:  0x01 | Antenna control   7:  0x02 |
| Antenna control   8:  0x00 | Antenna control   9:  0x00 |
| Antenna control  10:  0x00 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           2 | db 0:                    2 |
| Octave Band 1:           2 | db 1:                    2 |
| Octave Band 2:           2 | db 2:                    2 |
| Octave Band 3:           2 | db 3:                    2 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
|======|============|==========|===========|==========|
| 4920 |    18.00   |  16.00   |   14.00   |  12.00   |
|======|============|==========|===========|==========|
| 5040 |    18.00   |  16.00   |   14.00   |  12.00   |
|======|============|==========|===========|==========|
| 5170 |    18.00   |  16.00   |   15.00   |  13.00   |
|======|============|==========|===========|==========|
| 5240 |    19.00   |  17.00   |   15.00   |  13.00   |
|======|============|==========|===========|==========|
| 5320 |    19.00   |  17.00   |   15.00   |  13.00   |
|======|============|==========|===========|==========|
| 5500 |    19.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5700 |    18.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5825 |    17.00   |  15.00   |   13.00   |  12.00   |
|======|============|==========|===========|==========|
| 5360 |    19.01   |  19.01   |   19.01   |  19.01   |
|======|============|==========|===========|==========|
| 5720 |    19.00   |  19.00   |   19.00   |  19.00   |
\=====================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
|      | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 4920 |  7.50 | 15.25 | 20.25 | 20.75 |  7.25 |  7.25 |  9.75 | 20.75 |
|      |  [25] |  [50] |  [62] |  [63] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5040 |  6.00 |  6.00 | 21.00 | 21.50 |  5.75 |  5.75 | 10.75 | 21.50 |
|      |   [1] |  [25] |  [30] |  [31] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5170 |  6.75 | 17.00 | 21.50 | 22.75 |  4.25 |  4.25 | 11.75 | 22.75 |
|      |  [25] |  [50] |  [61] |  [63] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5320 |  8.75 | 18.00 | 22.50 | 23.00 |  3.00 |  3.50 | 13.50 | 23.00 |
|      |  [25] |  [48] |  [59] |  [59] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5500 | 10.25 | 19.00 | 22.50 | 23.00 |  3.00 |  5.00 | 15.25 | 23.00 |
|      |  [25] |  [46] |  [56] |  [56] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5650 | 10.50 | 18.25 | 21.75 | 23.00 |  2.25 |  5.25 | 16.00 | 23.00 |
|      |  [25] |  [44] |  [53] |  [54] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5745 | 10.50 | 20.75 | 23.00 | 23.00 |  1.25 |  5.25 | 15.75 | 23.00 |
|      |  [25] |  [50] |  [59] |  [59] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 5825 | 11.25 | 15.50 | 18.00 | 22.00 |  1.75 |  6.25 | 16.00 | 22.00 |
|      |  [25] |  [37] |  [43] |  [50] |  [20] |  [35] |  [63] |       |
\======================================================================/

/=========================================================\
|          Calibration data for 802.11b operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x00 |
| Use fixed bias:       0x00 | Max turbo power:      0x00 |
| Max XR power:         0x00 | Switch Settling Time: 0x28 |
| Tx/Rx attenuation:    0x1e | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x07 |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x05 |
| I gain:               0x0a | Tx/Rx margin:         0x21 |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -38 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x11 | Antenna control   3:  0x01 |
| Antenna control   4:  0x01 | Antenna control   5:  0x01 |
| Antenna control   6:  0x01 | Antenna control   7:  0x12 |
| Antenna control   8:  0x02 | Antenna control   9:  0x02 |
| Antenna control  10:  0x02 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           2 | db 0:                    2 |
| Octave Band 1:           2 | db 1:                    2 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq |   1Mbit/s  | 2Mbit/s  | 5.5Mbit/s | 11Mbit/s |
|======|============|==========|===========|==========|
| 2412 |    19.01   |  19.01   |   19.01   |  19.01   |
|======|============|==========|===========|==========|
| 2484 |    19.00   |  19.00   |   19.00   |  19.00   |
\=====================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
|      | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 2412 |  8.00 | 15.75 | 20.00 | 23.25 |  1.25 |  3.75 | 12.75 | 23.25 |
|      |  [25] |  [46] |  [56] |  [63] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 2472 |  7.25 | 16.75 | 21.00 | 22.25 |  0.00 |  3.00 | 11.50 | 22.25 |
|      |  [25] |  [50] |  [61] |  [63] |  [20] |  [35] |  [63] |       |
\======================================================================/

/=========================================================\
|          Calibration data for 802.11g operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x0c |
| Use fixed bias:       0x01 | Max turbo power:      0x20 |
| Max XR power:         0x26 | Switch Settling Time: 0x28 |
| Tx/Rx attenuation:    0x23 | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x05 |
| I gain:               0x0a | Tx/Rx margin:         0x21 |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -32 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x11 | Antenna control   3:  0x01 |
| Antenna control   4:  0x01 | Antenna control   5:  0x01 |
| Antenna control   6:  0x01 | Antenna control   7:  0x12 |
| Antenna control   8:  0x02 | Antenna control   9:  0x02 |
| Antenna control  10:  0x02 | Antenna control  11:  0x02 |
|=========================================================|
| Octave Band 0:           2 | db 0:                    2 |
| Octave Band 1:           2 | db 1:                    2 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
|======|============|==========|===========|==========|
| 2412 |    19.00   |  17.01   |   16.00   |  15.01   |
|======|============|==========|===========|==========|
| 2437 |    19.00   |  18.00   |   17.00   |  16.00   |
|======|============|==========|===========|==========|
| 2472 |    19.00   |  17.01   |   16.01   |  15.00   |
\=====================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
|      | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 2412 | -25.-50 |  1.75 | -25.-50 | 22.00 | -25.-50 | 26.00 | -25.-50 | 22.00 |
|      |  [39] |  [65] |  [93] | [102] |  [20] |  [35] |  [63] |       |
|======|=======|=======|=======|=======|=======|=======|=======|=======|
| 2472 | -25.-50 | -29.00 |  6.50 |  1.75 |  6.50 |  1.75 | -29.-75 |  1.75 |
|      | [205] | [223] | [227] | [240] |  [20] |  [35] |  [63] |       |
\======================================================================/

GPIO registers: CR 0x00000000, DO 0x00000000, DI 0x00000001
STA_ID0: 00:1b:b1:ef:ad:cb
STA_ID1: 0x1b82cbad, AP: 0, IBSS: 1, KeyCache Disable: 0
TIMER0: 0x000076c8, TBTT: 30408, TU: 0x002f76c8
TIMER1: 0x0003b630, DMAb: 30406, TU: 0x002f76c6 (-2)
TIMER2: 0x017bb5f0, SWBA: 30398, TU: 0x002f76be (-10)
TIMER3: 0x000076c9, ATIM: 30409, TU: 0x002f76c9 (+1)
TSF: 0x00000000bdda9546, TSFTU: 30373, TU: 0x002f76a5
BEACON: 0x00000064
LAST_TSTP: 0xfffffff7





------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Vivek Ramamoorthy | 27 Sep 20:34
Picon

Issue with Configuring madwifi/Atheros in AP mode on DWL-AG530

Hi All,


I have been trying to use a DLINK DWL-AG530 PCI card along with Madwifi to configure the chip in AP mode. Although the client associates fine, I am unable to ping ath0 interface.
I have statically assigned IP to client since I dont have a DHCP server running.

So here are the steps I have followed till now:

1) Downloaded source from http://madwifi-project.org/ and installed the same on my linux machine. Here are details of my linux version:

[root <at> localhost ~]# uname -a
Linux localhost.localdomain 2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18 12:47:50 EDT 2009 i686 i686 i386 GNU/Linux

3) In /etc/modprobe.d/madwifi

alias wlan0 ath_pci
blacklist ath5k
options ath_pci autocreate=ap

4) Since I read in forums that DWL-AG530 comes with a broken country code, I changed the regdomain to 0x0 (also tried with 0x16)
5) modprobe ath_pci countrycode=840
6) wlanconfig ath0 destroy
7) wlanconfig ath0 create wlandev wifi0 wlanmode ap
8) iwpriv ath0 authmode 1   (open mode)
9) iwconfig ath0 essid "test_wlan"
10) ifconfig ath0 10.1.1.10 netmask 255.255.255.0
11) ifconfig ath0 up

An issue I see, is that everytime I try to set the channel using iwconfig ath0 channel 6 (or whatever) the kernel panics and the system goes to hang state, so I leave it at default

I have a windows 7 client, on which i configure a static IP of 10.1.1.12 and connect to wlan "test_wlan". The client associates, and also I was able to sniff the assoc rsp, and ack packets from the air which had a "Success" status.

However, when I ping 10.1.1.10 (ath0), no response. I get a Dest Unreachable from 10.1.1.12. So I added arp entry for 10.1.1.10 manually on my client. When I do that the ICMP request times out, and I do see the ICMP requests in the air.

I have been trying to figure out if the driver is dropping these packets due to some configuration thats wrong? Do let me know if anyone has faced similar issues.
i have tried using bridges between ath0 and eth0 interface, Even that hasnt worked.

Attaching the outputs of ifconfig, iwconfig and dmesg (No errors i saw in dmesg) along. 

Also, if anyone has used any of the currently available atheros chipsets along with Madwifi successfully to set up an AP (Master mode), would be great if you could provide me the Chipsets model number, and Madwifi version.. I am fine with any Atheros based Chipset that is available in the market, as long as I can use it with madwifi to setup in AP mode. Just wondering if the DWL-AG530 may be having issues in AP mode, since it works just fine as a wireless client.

Thanks
Vivek


[root <at> localhost ~]# iwconfig ath0
ath0      IEEE 802.11g  ESSID:"test_wlan"  Nickname:""
          Mode:Master  Frequency:2.432 GHz  Access Point: 00:11:95:87:3B:7E   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:329  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


[root <at> localhost ~]# ifconfig ath0
ath0      Link encap:Ethernet  HWaddr 00:11:95:87:3B:7E  
          inet addr:10.1.1.10  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:95ff:fe87:3b7e/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:2360 (2.3 KiB)

[root <at> localhost ~]# ifconfig wifi0
wifi0     Link encap:UNSPEC  HWaddr 00-11-95-87-3B-7E-F0-2C-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2126 errors:0 dropped:0 overruns:0 frame:26714
          TX packets:425 errors:51 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199 
          RX bytes:434964 (424.7 KiB)  TX bytes:45655 (44.5 KiB)
          Interrupt:18 

[root <at> localhost ~]# 
[root <at> localhost ~]# iwconfig ath0
ath0      IEEE 802.11g  ESSID:"test_wlan"  Nickname:""
          Mode:Master  Frequency:2.432 GHz  Access Point: 00:11:95:87:3B:7E   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:329  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


[root <at> localhost ~]# ifconfig ath0
ath0      Link encap:Ethernet  HWaddr 00:11:95:87:3B:7E  
          inet addr:10.1.1.10  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:95ff:fe87:3b7e/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:2360 (2.3 KiB)

[root <at> localhost ~]# ifconfig wifi0
wifi0     Link encap:UNSPEC  HWaddr 00-11-95-87-3B-7E-F0-2C-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2126 errors:0 dropped:0 overruns:0 frame:26714
          TX packets:425 errors:51 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199 
          RX bytes:434964 (424.7 KiB)  TX bytes:45655 (44.5 KiB)
          Interrupt:18 

[root <at> localhost ~]# 
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users
Érico Porto | 15 Sep 13:57
Picon

XR7 ubiquiti radios

Hello,


has anyone here ever tried to change channel width using a XR7? I can make it work using the stable madwifi, but if I want to change channel width, I instead use the ubnt hal in place of the regular hal. As my plataform is PowerPC based, I use also eabi - Embedded Application Binary Interface.

But then, my radio is simply not found, and no ath are available using ifconfig or iwconfig. The same drivers worked before enabling a XR9 to change channel width.

Ideas?

Érico V. Porto
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users

Gmane