@staticmethod<EOL><INDENT>def get_interval(payload):<DEDENT>
if len(payload) != <NUM_LIT:2>:<EOL><INDENT>return None<EOL><DEDENT>interval = struct.unpack('<STR_LIT:H>', payload)[<NUM_LIT:0>]<EOL>return interval<EOL>
strip wlan_mgt.fixed.beacoN(2 bytes)
        beacon interval
        :payload: ctypes.structure
        :return: int
            None on error