Class: PacketGen::Header::Dot11::AssoResp

Inherits:
SubMngt
  • Object
show all
Defined in:
lib/packetgen/header/dot11/sub_mngt.rb

Overview

IEEE 802.11 Association Response frame

Specialize Management with subtype set to 1.

Add fields:

  • #cap (BinStruct::Int16le),

  • #status (BinStruct::Int16le),

  • #aid (BinStruct::Int16le).

Author:

  • Sylvain Daubert

Since:

  • 1.4.0

Direct Known Subclasses

ReAssoResp

Instance Attribute Summary collapse

Method Summary

Methods inherited from SubMngt

#elements

Methods inherited from Base

bind, calculate_and_set_length, #header_id, inherited, #initialize, #ip_header, #ll_header

Methods included from PacketGen::Headerable

#added_to_packet, included, #method_name, #packet, #packet=, #parse?, #protocol_name, #read, #to_s

Constructor Details

This class inherits a constructor from PacketGen::Header::Base

Instance Attribute Details

#aidInteger

Returns 16-bit AID word.

Returns:

  • (Integer)

    16-bit AID word


64
# File 'lib/packetgen/header/dot11/sub_mngt.rb', line 64

define_attr_before :elements, :aid, BinStruct::Int16le

#capInteger

Returns 16-bit capabillities word.

Returns:

  • (Integer)

    16-bit capabillities word


58
# File 'lib/packetgen/header/dot11/sub_mngt.rb', line 58

define_attr_before :elements, :cap, BinStruct::Int16le

#statusInteger

Returns 16-bit status word.

Returns:

  • (Integer)

    16-bit status word


61
# File 'lib/packetgen/header/dot11/sub_mngt.rb', line 61

define_attr_before :elements, :status, BinStruct::Int16le