def METHOD_NAME(ap):
    """Returns a CAPWAP CONTROL packet containing the discovery packet of an AP to a controller,
    not including sublayers.
    Args:
        ap (AP): source of the packet
    Returns:
        capw_ctrl (bytes): capwap control bytes
    """
    raise NotImplementedError