View Post - post26525
RE: memcpy()
Definitely.  This might be one of those bugs that we can report back to
the NetBSD folks as well. 

  R.

-----Original Message-----
From: Yao Zhao [mailto:community-noreply@qnx.com] 
Sent: Wednesday, April 08, 2009 10:08 PM
To: drivers-networking
Subject: Re: memcpy() 

Frame 11 (166 bytes on wire, 166 bytes captured)
    Arrival Time: Apr  8, 2009 22:04:17.420002000
    [Time delta from previous captured frame: 0.021305000 seconds]
    [Time delta from previous displayed frame: 0.021305000 seconds]
    [Time since reference or first frame: 0.425976000 seconds]
    Frame Number: 11
    Frame Length: 166 bytes
    Capture Length: 166 bytes
    [Frame is marked: False]
    [Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 25
    Header revision: 0
    Header pad: 0
    Header length: 25
    Present flags: 0x0000086f
        .... .... .... .... .... .... .... ...1 = TSFT: True
        .... .... .... .... .... .... .... ..1. = Flags: True
        .... .... .... .... .... .... .... .1.. = Rate: True
        .... .... .... .... .... .... .... 1... = Channel: True
        .... .... .... .... .... .... ...0 .... = FHSS: False
        .... .... .... .... .... .... ..1. .... = DBM Antenna Signal:
True
        .... .... .... .... .... .... .1.. .... = DBM Antenna Noise:
True
        .... .... .... .... .... .... 0... .... = Lock Quality: False
        .... .... .... .... .... ...0 .... .... = TX Attenuation: False
        .... .... .... .... .... ..0. .... .... = DB TX Attenuation:
False
        .... .... .... .... .... .0.. .... .... = DBM TX Attenuation:
False
        .... .... .... .... .... 1... .... .... = Antenna: True
        .... .... .... .... ...0 .... .... .... = DB Antenna Signal:
False
        .... .... .... .... ..0. .... .... .... = DB Antenna Noise:
False
        .... .... .... .... .0.. .... .... .... = FCS in header: False
        .... .... .... .0.. .... .... .... .... = Channel+: False
        0... .... .... .... .... .... .... .... = Ext: False
    MAC timestamp: 0
    Flags: 0x00
        .... ...0 = CFP: False
        .... ..0. = Preamble: Long
        .... .0.. = WEP: False
        .... 0... = Fragmentation: False
       ...0 .... = FCS at end: False
        ..0. .... = Data Pad: False
        .0.. .... = Bad FCS: False
        0... .... = Short GI: False
    Data Rate: 1.0 Mb/s
    Channel frequency: 2457 [BG 10]
    Channel type: 802.11b (0x00a0)
        .... .... ...0 .... = Turbo: False
        .... .... ..1. .... = Complementary Code Keying (CCK): True
        .... .... .0.. .... = Orthogonal Frequency-Division Multiplexing
(OFDM): False
        .... .... 1... .... = 2 GHz spectrum: True
        .... ...0 .... .... = 5 GHz spectrum: False
        .... ..0. .... .... = Passive: False
        .... .0.. .... .... = Dynamic CCK-OFDM: False
        .... 0... .... .... = Gaussian Frequency Shift Keying (GFSK):
False
        ...0 .... .... .... = GSM (900MHz): False
        ..0. .... .... .... = Static Turbo: False
        .0.. .... .... .... = Half Rate Channel (10MHz Channel Width):
False
        0... .... .... .... = Quarter Rate Channel (5MHz Channel Width):
False
    SSI Signal: -35 dBm
    SSI Noise: 0 dBm
    Antenna: 1
IEEE 802.11 Beacon frame, Flags: ........
    Type/Subtype: Beacon frame (0x08)
    Frame Control: 0x0080 (Normal)
        Version: 0
        Type: Management frame (0)
        Subtype: 8
        Flags: 0x0
            DS status: Not leaving DS or network is operating in AD-HOC
mode (To DS: 0 From DS: 0) (0x00)
            .... .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
   Destination address: Broadcast (ff:ff:ff:ff:ff:ff)
    Source address: Cisco-Li_a1:83:64 (00:21:29:a1:83:64)
    BSS Id: Cisco-Li_a1:83:64 (00:21:29:a1:83:64)
    Fragment number: 0
    Sequence number: 30
IEEE 802.11 wireless LAN management frame
    Fixed parameters (12 bytes)
        Timestamp: 0x0000000592C2018A
        Beacon Interval: 1.024000 [Seconds]
        Capability Information: 0x0411
            .... .... .... ...1 = ESS capabilities: Transmitter is an AP
            .... .... .... ..0. = IBSS status: Transmitter belongs to a
BSS
            .... ..0. .... 00.. = CFP participation capabilities: No
point coordinator at AP (0x0000)
            .... .... ...1 .... = Privacy: AP/STA can support WEP
            .... .... ..0. .... = Short Preamble: Short preamble not
allowed
            .... .... .0.. .... = PBCC: PBCC modulation not allowed
            .... .... 0... .... = Channel Agility: Channel agility not
in use
            .... ...0 .... .... = Spectrum Management:
dot11SpectrumManagementRequired FALSE
            .... .1.. .... .... = Short Slot Time: Short slot time in
use
            .... 0... .... .... = Automatic Power Save Delivery: apsd
not implemented
            ..0. .... .... .... = DSSS-OFDM: DSSS-OFDM modulation not
allowed
            .0.. .... .... .... = Delayed Block Ack: delayed block ack
not implemented
            0... .... .... .... = Immediate Block Ack: immediate block
ack not implemented
    Tagged parameters (105 bytes)
        SSID parameter set: "YZHAO_AP"
            Tag Number: 0 (SSID parameter set)
            Tag length: 8
            Tag interpretation: YZHAO_AP
        Supported Rates: 1.0(B) 2.0(B) 5.5(B) 11.0(B) 18.0 24.0 36.0
54.0
            Tag Number: 1 (Supported Rates)
            Tag length: 8
            Tag interpretation: Supported rates: 1.0(B) 2.0(B) 5.5(B)
11.0(B) 18.0 24.0 36.0 54.0  [Mbit/sec]
        DS Parameter set: Current Channel: 10
            Tag Number: 3 (DS Parameter set)
            Tag length: 1
            Tag interpretation: Current Channel: 10
        Traffic Indication Map (TIM): DTIM 0 of 1 bitmap empty
            Tag Number: 5 (Traffic Indication Map (TIM))
            TIM length: 4
            DTIM count: 0
            DTIM period: 1
            Bitmap Control: 0x00 (mcast:0, bitmap offset 0)
        ERP Information: no Non-ERP STAs, do not use protection, short
or long preambles
            Tag Number: 42 (ERP Information)
            Tag length: 1
            Tag interpretation: ERP info: 0x0 (no Non-ERP STAs, do not
use protection, short or long preambles)
        ERP Information: no Non-ERP STAs, do not use protection, short
or long preambles
            Tag Number: 47 (ERP Information)
            Tag length: 1
            Tag interpretation: ERP info: 0x0 (no Non-ERP STAs, do not
use protection, short or long preambles)
        RSN Information
            Tag Number: 48 (RSN Information)
            Tag length: 24
            Tag interpretation: RSN IE, version 1
            Tag interpretation: Multicast cipher suite: TKIP
            Tag interpretation: # of unicast cipher suites: 2
            Tag interpretation: Unicast cipher suite 1: AES (CCM)
            Tag interpretation: Unicast cipher suite 2: TKIP
            Tag interpretation: # of auth key management suites: 1
            Tag interpretation: auth key management suite 1: PSK
            RSN Capabilities: 0x0000
                .... .... .... ...0 = RSN Pre-Auth capabilities:
Transmitter does not support pre-authentication
                .... .... .... ..0. = RSN No Pairwise capabilities:
Transmitter can support WEP default key 0 simultaneously with Pairwise
key
                .... .... .... 00.. = RSN PTKSA Replay Counter
capabilities: 1 replay counter per PTKSA/GTKSA/STAKeySA (0x0000)
                .... .... ..00 .... = RSN GTKSA Replay Counter
capabilities: 1 r eplay counter per PTKSA/GTKSA/STAKeySA (0x0000)
        Extended Supported Rates: 6.0 9.0 12.0 48.0
            Tag Number: 50 (Extended Supported Rates)
            Tag length: 4
            Tag interpretation: Supported rates: 6.0 9.0 12.0 48.0
[Mbit/sec]
        Vendor Specific: Broadcom
            Tag Number: 221 (Vendor Specific)
            Tag length: 6
            Vendor: Broadcom
            Tag interpretation: Not interpreted
        Vendor Specific: WPA
            Tag Number: 221 (Vendor Specific)
            Tag length: 28
            Tag interpretation: WPA IE, type 1, version 1
            Tag interpretation: Multicast cipher suite: TKIP
            Tag interpretation: # of unicast cipher suites: 2
            Tag interpretation: Unicast cipher suite 1: AES (CCM)
            Tag interpretation: Unicast cipher suite 2: TKIP
            Tag interpretation: # of auth key management suites: 1
            Tag interpretation: auth key management suite 1: PSK
            Tag interpretation: Not interpreted

probably I need to file a bug for this.

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post26478