X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80211Bundle%2FWLANBeaconPacket.hh;h=750c4cf2914737e717babb6a19f0d9eedf301cef;hb=e3179a2123ad51d0d9eb63834a581145c4f77c92;hp=3451770f625f835f997f8d2369734f05b6307d69;hpb=2571369f6d1701b241a56a78c6a3d6d7569799c7;p=senf.git diff --git a/senf/Packets/80211Bundle/WLANBeaconPacket.hh b/senf/Packets/80211Bundle/WLANBeaconPacket.hh index 3451770..750c4cf 100644 --- a/senf/Packets/80211Bundle/WLANBeaconPacket.hh +++ b/senf/Packets/80211Bundle/WLANBeaconPacket.hh @@ -28,10 +28,9 @@ #define HH_SENF_Packets_80211Bundle_WLANBeaconPacket_ 1 // Custom includes -#include #include "InformationElements.hh" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { struct WLANBeaconPacketParser : public PacketParserBase @@ -44,16 +43,19 @@ namespace senf { SENF_PARSER_FIELD( ssidIE, WLANSSIDInfoElementParser ); WLANSSIDInfoElementParser::value_t ssid() const { return ssidIE().value(); } - + + SENF_PARSER_FIELD( supportedRatesIE, WLANSupportedRatesInfoElementParser ); + + SENF_PARSER_LIST ( ieList, packetSize(), WLANGenericInfoElementParser ); + SENF_PARSER_FINALIZE( WLANBeaconPacketParser ); - }; - + /** \brief WLAN Beacon frame packet \par Packet type (typedef): - \refWLANBeaconPacket + \ref WLANBeaconPacket \par Fields: @@ -71,14 +73,17 @@ namespace senf { using mixin::initSize; using PacketTypeBase::nextPacketRange; - static void dump(packet p, std::ostream &os); + static void dump(packet p, std::ostream & os); }; + /** \brief WLAN Beacon frame packet typedef + \ingroup protocolbundle_80211 + */ typedef ConcretePacket WLANBeaconPacket; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "WLANBeaconPacket.cci" //#include "WLANBeaconPacket.ct" //#include "WLANBeaconPacket.cti"