Home
last modified time | relevance | path

Searched refs:Dot11Types (Results 1 – 24 of 24) sorted by relevance

/dports/net/py-impacket/impacket-0.9.17/tests/dot11/
H A Dtest_FrameControlCTS.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11ControlFrameCTS
19 self.assertEqual(type,Dot11Types.DOT11_TYPE_CONTROL)
22 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_CONTROL_CLEAR_TO_SEND)
25 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_CLEAR_TO_SEND)
H A Dtest_FrameControlACK.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11ControlFrameACK
19 self.assertEqual(type,Dot11Types.DOT11_TYPE_CONTROL)
22 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_CONTROL_ACKNOWLEDGMENT)
25 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_ACKNOWLEDGMENT)
H A Dtest_FrameControlCFEndCFACK.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11ControlFrameCFEndCFACK
19 self.assertEqual(type,Dot11Types.DOT11_TYPE_CONTROL)
22 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_CONTROL_CF_END_CF_ACK)
25 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_CF_END_CF_ACK)
H A Dtest_FrameControlCFEnd.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11ControlFrameCFEnd
19 self.assertEqual(type,Dot11Types.DOT11_TYPE_CONTROL)
22 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_CONTROL_CF_END)
25 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_CF_END)
H A Dtest_FrameControlRTS.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11ControlFrameRTS
20 self.assertEqual(type,Dot11Types.DOT11_TYPE_CONTROL)
23 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_CONTROL_REQUEST_TO_SEND)
26 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_REQUEST_TO_SEND)
H A Dtest_FrameControlPSPoll.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11ControlFramePSPoll
20 self.assertEqual(type,Dot11Types.DOT11_TYPE_CONTROL)
23 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_CONTROL_POWERSAVE_POLL)
26 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_POWERSAVE_POLL)
H A Dtest_FrameData.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11DataFrame
21 self.assertEqual(type,Dot11Types.DOT11_TYPE_DATA)
24 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_DATA)
27 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_DATA_SUBTYPE_DATA)
H A Dtest_WPA2.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11DataFrame,Dot11WPA2,Dot11WPA2Data
19 self.assertEqual(d.get_type(),Dot11Types.DOT11_TYPE_DATA)
20 self.assertEqual(d.get_subtype(),Dot11Types.DOT11_SUBTYPE_DATA)
21 self.assertEqual(d.get_type_n_subtype(),Dot11Types.DOT11_TYPE_DATA_SUBTYPE_DATA)
H A Dtest_WPA.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11DataFrame,Dot11WPA,Dot11WPAData
19 self.assertEqual(d.get_type(),Dot11Types.DOT11_TYPE_DATA)
20 self.assertEqual(d.get_subtype(),Dot11Types.DOT11_SUBTYPE_DATA)
21 self.assertEqual(d.get_type_n_subtype(),Dot11Types.DOT11_TYPE_DATA_SUBTYPE_DATA)
H A Dtest_FrameManagementDeauthentication.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame,Dot11ManagementDeauthentication
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_DEAUTHENTICATION)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_DEAUTHENTICATION)
H A Dtest_FrameManagementDisassociation.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame,Dot11ManagementDisassociation
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_DISASSOCIATION)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_DISASSOCIATION)
H A Dtest_WEPDecoder.py7 from impacket.dot11 import Dot11,Dot11Types,Dot11DataFrame,Dot11WEP,Dot11WEPData
23 self.assertEqual(d.get_type(),Dot11Types.DOT11_TYPE_DATA)
24 self.assertEqual(d.get_subtype(),Dot11Types.DOT11_SUBTYPE_DATA)
25 self.assertEqual(d.get_type_n_subtype(),Dot11Types.DOT11_TYPE_DATA_SUBTYPE_DATA)
H A Dtest_FrameManagementAuthentication.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame, Dot11ManagementAuthentication
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_AUTHENTICATION)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_AUTHENTICATION)
H A Dtest_FrameManagementProbeRequest.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame,Dot11ManagementProbeRequest
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_PROBE_REQUEST)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_PROBE_REQUEST)
H A Dtest_FrameManagementAssociationResponse.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame, Dot11ManagementAssociationRespo…
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_ASSOCIATION_RESPONSE)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_ASSOCIATION_RESPONSE)
H A Dtest_FrameManagementReassociationResponse.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame, Dot11ManagementReassociationRes…
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_REASSOCIATION_RESPONSE)
33 … self.assertEqual(typesubtype, Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_REASSOCIATION_RESPONSE)
H A Dtest_FrameManagementAssociationRequest.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame, Dot11ManagementAssociationReque…
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_ASSOCIATION_REQUEST)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_ASSOCIATION_REQUEST)
H A Dtest_FrameManagementProbeResponse.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame,Dot11ManagementProbeResponse
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_PROBE_RESPONSE)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_PROBE_RESPONSE)
H A Dtest_FrameManagement.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame,Dot11ManagementBeacon
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_BEACON)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_BEACON)
H A Dtest_FrameManagementReassociationRequest.py7 from impacket.dot11 import Dot11, Dot11Types, Dot11ManagementFrame, Dot11ManagementReassociationReq…
27 self.assertEqual(type,Dot11Types.DOT11_TYPE_MANAGEMENT)
30 self.assertEqual(subtype,Dot11Types.DOT11_SUBTYPE_MANAGEMENT_REASSOCIATION_REQUEST)
33 self.assertEqual(typesubtype,Dot11Types.DOT11_TYPE_MANAGEMENT_SUBTYPE_REASSOCIATION_REQUEST)
H A Dtest_Dot11Base.py7 from impacket.dot11 import Dot11, Dot11Types
94 self.dot11fc.set_type_n_subtype(Dot11Types.DOT11_TYPE_CONTROL_SUBTYPE_POWERSAVE_POLL)
H A Dtest_WEPEncoder.py21 self.dot11.set_type_n_subtype(impacket.dot11.Dot11Types.DOT11_TYPE_DATA_SUBTYPE_DATA)
/dports/net/py-impacket/impacket-0.9.17/impacket/
H A DImpactDecoder.py405 if type == dot11.Dot11Types.DOT11_TYPE_CONTROL:
408 elif type == dot11.Dot11Types.DOT11_TYPE_DATA:
414 elif type == dot11.Dot11Types.DOT11_TYPE_MANAGEMENT:
438 if self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_CONTROL_CLEAR_TO_SEND:
441 elif self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_CONTROL_ACKNOWLEDGMENT:
444 elif self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_CONTROL_REQUEST_TO_SEND:
447 elif self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_CONTROL_POWERSAVE_POLL:
450 elif self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_CONTROL_CF_END:
453 elif self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_CONTROL_CF_END_CF_ACK:
787 if self.subtype is dot11.Dot11Types.DOT11_SUBTYPE_MANAGEMENT_BEACON:
[all …]
H A Ddot11.py83 class Dot11Types(): class