ORBIT-USER: RSSI report in Intel card

Mesut Ali Ergin ergin at eden.rutgers.edu
Fri Aug 31 05:29:00 EDT 2007


Hi Sangho,

You need to enable radiotap headers for the monitor mode in the ipw-2200 
Makefile, by setting (commenting out) CONFIG_IPW2200_RADIOTAP=y. Usual 
compilation/installation should follow. Hope it helps,

--
MAE

Sangho Oh wrote:
> Anybody familiar with Intel cards?
> I am trying to log the RSSIs from the received packets, but there in 
> information in the header (such as prism in Atheros) in the packet.
> 
> I configured the cards
> - iwconfig eth2 mode monitor
> - iwconfig eth2 channel 44
> - iwconfig eth2 essid mybssid
> 
> and logged with tcpdump using libpcap.
> 
> Thanks in advance.
> 
> - Sangho
> 
> _---------------------------------------------------------------------------- 
> 
> Frame 344 (562 bytes on wire, 562 bytes captured)
>    Arrival Time: Aug 30, 2007 12:06:15.881148000
>    [Time delta from previous captured frame: 0.003229000 seconds]
>    [Time delta from previous displayed frame: 0.003229000 seconds]
>    [Time since reference or first frame: 1188489975.881148000 seconds]
>    Frame Number: 344
>    Frame Length: 562 bytes
>    Capture Length: 562 bytes
>    [Frame is marked: False]
>    [Protocols in frame: wlan:llc:ip:udp:data]
> IEEE 802.11
>    Type/Subtype: QoS Data (0x28)
>    Frame Control: 0x0188 (Normal)
>        Version: 0
>        Type: Data frame (2)
>        Subtype: 8
>        Flags: 0x1
>            DS status: Frame from STA to DS via an AP (To DS: 1 From DS: 
> 0) (0x01)
>            .... .0.. = More Fragments: This is the last fragment
>            .... 0... = Retry: Frame is not being retransmitted
>            ...0 .... = PWR MGT: STA will stay up
>            ..0. .... = More Data: No data buffered
>            .0.. .... = Protected flag: Data is not protected
>            0... .... = Order flag: Not strictly ordered
>    Duration: 0
>    BSS Id: Z-Com_b0:c6:71 (00:60:b3:b0:c6:71)
>    Source address: Z-Com_ac:2d:49 (00:60:b3:ac:2d:49)
>    Destination address: Z-Com_b0:c6:71 (00:60:b3:b0:c6:71)
>    Fragment number: 0
>    Sequence number: 2334
>    QoS Control
>        Priority: 6 (Voice) (Voice)
>        Ack Policy: No Ack (0x01)
>        Payload Type: MSDU
>        Transmit Opportunity (TXOP) Limit Requested: 0x00
> Logical-Link Control
>    DSAP: SNAP (0xaa)
>    IG Bit: Individual
>    SSAP: SNAP (0xaa)
>    CR Bit: Command
>    Control field: U, func=UI (0x03)
>        000. 00.. = Command: Unnumbered Information (0x00)
>        .... ..11 = Frame type: Unnumbered frame (0x03)
>    Organization Code: Encapsulated Ethernet (0x000000)
>    Type: IP (0x0800)
> Internet Protocol, Src: 192.168.1.5 (192.168.1.5), Dst: 192.168.1.234 
> (192.168.1.234)
>    Version: 4
>    Header length: 20 bytes
>    Differentiated Services Field: 0xb8 (DSCP 0x2e: Expedited Forwarding; 
> ECN: 0x00)
>        1011 10.. = Differentiated Services Codepoint: Expedited 
> Forwarding (0x2e)
>        .... ..0. = ECN-Capable Transport (ECT): 0
>        .... ...0 = ECN-CE: 0
>    Total Length: 528
>    Identification: 0x05ed (1517)
>    Flags: 0x00
>        0... = Reserved bit: Not set
>        .0.. = Don't fragment: Not set
>        ..0. = More fragments: Not set
>    Fragment offset: 0
>    Time to live: 64
>    Protocol: UDP (0x11)
>    Header checksum: 0xedf8 [correct]
>        [Good: True]
>        [Bad : False]
>    Source: 192.168.1.5 (192.168.1.5)
>    Destination: 192.168.1.234 (192.168.1.234)
> User Datagram Protocol, Src Port: 20665 (20665), Dst Port: discard (9)
>    Source port: 20665 (20665)
>    Destination port: discard (9)
>    Length: 508
>    Checksum: 0xe0ad [correct]
>        [Good Checksum: True]
>        [Bad Checksum: False]
> Data (500 bytes)
> 


-- 
Mesut Ali Ergin
ergin at winlab.rutgers.edu

Rutgers University, WINLAB,
Technology Centre of New Jersey,
671 Rt. 1 South, North Brunswick,
New Jersey, 08902-3390, USA

Phone: 862-368-6620
Fax:   732-932-6882



More information about the orbit-user mailing list