'Setup the class with all the given arguments
:param self: An AccessPoint object
:param ssid: The name of the access point
:param bssid: The MAC address of the access point
:param channel: The channel number of the access point
:param encryption: The encryption type of the access point
:type self: AccessPoint
:type ssid: string
:type bssid: string
:type channel: string
:type encryption: string'

def __init__(self, ssid, bssid, channel, encryption, capture_file=False):

    self._name = ssid
    self._mac_address = bssid
    self._channel = channel
    self._encryption = encryption
    self._signal_strength = None
    self._clients = set()
    if capture_file:
        with open(capture_file, 'a') as f:
            f.write((((bssid + '    ') + ssid) + '\n'))
