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

Inherits:
SubMngt 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:

Author:

  • Sylvain Daubert

Since:

  • 1.4.0

Direct Known Subclasses

ReAssoResp

Instance Attribute Summary collapse

Method Summary

Methods inherited from SubMngt

#add_element, #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

Methods inherited from Types::Fields

#[], #[]=, #bits_on, define_bit_fields_on, define_field, define_field_after, define_field_before, #fields, fields, inherited, #initialize, #inspect, #offset_of, #optional?, #optional_fields, #present?, #read, remove_bit_fields_on, remove_field, #sz, #to_h, #to_s, update_field

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


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

define_field_before :elements, :aid, Types::Int16le

#capInteger

Returns 16-bit capabillities word.

Returns:

  • (Integer)

    16-bit capabillities word


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

define_field_before :elements, :cap, Types::Int16le

#statusInteger

Returns 16-bit status word.

Returns:

  • (Integer)

    16-bit status word


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

define_field_before :elements, :status, Types::Int16le