I set my router to a valid channel, I'm using the 5ghz one, and I'm using 80mHz width. I have better performance using that. The wifi connection only drops at night and on several times.
And these are the logs:
Wed Jun 17 22:27:50.921 Driver Event: <airportd[241]> _bsd_80211_event_callback: DUMP_LOGS (en0)
Wed Jun 17 22:27:51.266 Driver Event: <airportd[241]> _bsd_80211_event_callback: DRIVER_AVAILABLE (en0)
Wed Jun 17 22:27:51.266 Driver Event: <airportd[241]> _bsd_80211_event_callback: driver available (reason=0xe0823805, subreason=0xe3ff8807, flags=0x2)
Wed Jun 17 22:27:51.268 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/SSID_STR'
Wed Jun 17 22:27:51.268 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/WEP40'
Wed Jun 17 22:27:51.269 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BluetoothPagingInProgress '
Wed Jun 17 22:27:51.269 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/ProfileID'
Wed Jun 17 22:27:51.269 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/AirPlay'
Wed Jun 17 22:27:51.270 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/AutoJoinTimestamp'
Wed Jun 17 22:27:51.270 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BSSID'
Wed Jun 17 22:27:51.270 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/SSID'
Wed Jun 17 22:27:51.271 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/CHANNEL'
Wed Jun 17 22:27:51.272 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/Busy'
Wed Jun 17 22:27:51.272 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/Power Status'
Wed Jun 17 22:27:51.272 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/WEPOPENSYSTEM'
Wed Jun 17 22:27:51.272 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/CachedScanRecord'
Wed Jun 17 22:27:51.272 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/UserMode8021X'
Wed Jun 17 22:27:51.273 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BluetoothAudioInUse'
Wed Jun 17 22:27:51.273 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BusyUI'
P2P: <airportd[241]> _p2pSupEventCallback: APPLE80211_M_LINK_CHANGED
Wed Jun 17 22:27:51.289 Driver Event: <airportd[241]> _bsd_80211_event_callback: LINK_CHANGED (en0)
Wed Jun 17 22:27:51.289 P2P: <airportd[241]> _p2pSupEventCallback: Primary interface link marked down
Wed Jun 17 22:27:51.289 P2P: <airportd[241]> _p2pSupEventCallback: APPLE80211_M_BSSID_CHANGED
Wed Jun 17 22:27:51.290 P2P: <airportd[241]> _p2pSupEventCallback: APPLE80211_M_LINK_CHANGED
Wed Jun 17 22:27:51.654 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.654 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.657 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.657 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.657 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.657 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.658 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.658 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903
Wed Jun 17 22:27:51.691 AutoJoin: <airportd[241]> -[CWXPCInterfaceContext __updateAutoJoinRetryIntervals]: On AC power, changing to active retry interval.
Wed Jun 17 22:27:51.696 AutoJoin: <airportd[241]> _handleLinkEvent: Unexpected link down. Triggering auto-join.
Wed Jun 17 22:27:51.696 AutoJoin: <airportd[241]> BEST CONNECTED SCAN CANCELLED on interface en0
Wed Jun 17 22:27:51.696 Info: <airportd[241]> -[CWXPCSubsystem __submitLinkChangeMetric:involuntary:interface:network:linkDownReason:linkDownSubreason:isAWDLUp:awdlState:lastSecurityIssueCount:]: link change metric data: CWAWDMetricLinkChangeData: isLinkUp: NO, isInVol: YES, reason: 16, subreason: 0, channel: 0 (0MHz/0), oui: aa:aa:aa, flags: 0x0, securityType: 0x0, awdlState: 20, rssiHistory: [0, 0, 0], htInfo: 0x0, vhtInfo: 0x0
Wed Jun 17 22:27:51.696 Info: <airportd[241]> -[CWAWDManager submitMetric:]: submitting metric id 0x90009
Wed Jun 17 22:27:51.696 AutoJoin: <airportd[241]> AUTO-JOIN trigger requested (Link Down)
Wed Jun 17 22:27:51.697 Info: <WiFiAgent[364]> current=(no_assoc) changed=(no_assoc, 4bars)
Wed Jun 17 22:27:51.697 Driver Event: <airportd[241]> _bsd_80211_event_callback: SSID_CHANGED (en0)
Wed Jun 17 22:27:51.697 Info: <Wi-Fi Menu Extra[322]> Updating all WiFi menu items
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BusyUI'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/WEP40'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BluetoothPagingInProgress '
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/AirPlay'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/AutoJoinTimestamp'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/CHANNEL'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/Busy'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/Power Status'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/WEPOPENSYSTEM'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/CachedScanRecord'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/UserMode8021X'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/BluetoothAudioInUse'
Wed Jun 17 22:27:51.697 SC: <airportd[241]> airportdProcessSystemConfigurationEvent: Processing 'State:/Network/Interface/en0/AirPort/ProfileID'
Wed Jun 17 22:27:51.697 BTC: <airportd[241]> __BluetoothCoexHandleUpdateForNode: <en0> Handle Bluetooth Coex: FrequencyBand <2>, Bluetooth Bandwidth Utilization <0>, Clamshell Mode <0>
Wed Jun 17 22:27:51.697 BTC: <airportd[241]> __BluetoothCoexHandleUpdateForNode: Driver supports APPLE80211_CAP_COEX_PROFILE_OFFLOAD. Airportd won't BluetoothCoexModeSet() and defer coex profile loading to UDM coex manager (UCM/WRM) ...
Wed Jun 17 22:27:51.697
Wed Jun 17 22:27:51.697 Driver Event: <airportd[241]> _bsd_80211_event_callback: BSSID_CHANGED (en0)
Wed Jun 17 22:27:51.697 Info: <WiFiAgent[364]> QUERY DIAGNOSTICS request received from pid 322 (SystemUIServer)
Wed Jun 17 22:27:51.697 Info: <airportd[241]> _bsd_80211_event_callback: BSSID changed, not running HOSTAP, and not associated
Wed Jun 17 22:27:51.697 BTC: <airportd[241]> __BluetoothCoexHandleUpdateForNode: <en0> Handle Bluetooth Coex: FrequencyBand <2>, Bluetooth Bandwidth Utilization <0>, Clamshell Mode <0>
Wed Jun 17 22:27:51.697 BTC: <airportd[241]> __BluetoothCoexHandleUpdateForNode: Driver supports APPLE80211_CAP_COEX_PROFILE_OFFLOAD. Airportd won't BluetoothCoexModeSet() and defer coex profile loading to UDM coex manager (UCM/WRM) ...
Wed Jun 17 22:27:51.697
Wed Jun 17 22:27:51.698 Driver Event: <airportd[241]> _bsd_80211_event_callback: DUMP_LOGS (en0)
Wed Jun 17 22:27:51.698 Driver Event: <airportd[241]> _bsd_80211_event_callback: LINK_CHANGED (en0)
Wed Jun 17 22:27:51.698 Driver Event: <airportd[241]> _bsd_80211_event_callback: DRIVER_AVAILABLE (en0)
Wed Jun 17 22:27:51.698 Driver Event: <airportd[241]> _bsd_80211_event_callback: driver available (reason=0xe0823805, subreason=0xe3ff8808, flags=0x2)
Wed Jun 17 22:27:51.698 Info: <airportd[241]> -[CWXPCSubsystem queryBSSIDForInterfaceWithName:connection:error:]: Failed to query current BSSID, returned error code -3903