iPhone 7 WiFi Connectivity Issue
It seems as though it's an issue with your local network. You may want to take a look into your 2.4GHz settings, and change them to Apple's Specified 20 MHz bandwith.  


  2.4 GHz channel width
  
  Channel width controls how large of a ”pipe” is available to transfer data. However, larger channels are more subject to interference and more likely to interfere with other devices. A 40 MHz channel is sometimes called a wide channel, and a 20 MHz channel is a narrow channel.
  
  
    Set to: 20 MHz
  
  
  Use 20 MHz channels in the 2.4 GHz band. Using 40 MHz channels in the 2.4 GHz band can cause performance and reliability issues with your network, especially in the presence of other Wi-Fi networks and other 2.4 GHz devices. A 40 MHz channel might also cause interference and issues with other devices that use this band, such as Bluetooth devices, cordless phones, and neighboring Wi-Fi networks. Routers that don't support 40 MHz channels in the 2.4 GHz band do support 20 MHz channels.


If you choose to use the 5GHz channel width, it is reccomended that you use the 20/40 MHz band.


  5 GHz channel width
  
  Channel width controls how large of a "pipe" is available to transfer data. Larger channels are more susceptible to interference, and more likely to interfere with other devices. Interference is less of an issue in the 5 GHz band than in the 2.4 GHz band. A 40 MHz channel is sometimes called a wide channel, and a 20 MHz channel is a narrow channel.
  Set to:
  
  
    For 802.11n access points, set the 5GHz band to 20 MHz and 40 MHz.
    
    For 802.11ac access points, set the 5GHz band to 20 MHz, 40 MHz, and 80 MHz.
  
  
  For best performance and reliability, enable support for all channel widths. This allows devices to use the largest width they support, which results in optimal performance and compatibility. Not all client devices support 40 MHz channels, so don't enable 40 MHz-only mode. Devices that support only 20 MHz channels cant connect to a Wi-Fi router in 40 MHz-only mode. Similarly, don't enable 80 MHz-only mode, or only clients capable of 802.11ac will be able to connect. Routers that don't support 40 MHz or 80 MHz channels do support 20 MHz channels.




Source: https://support.apple.com/en-ca/HT202068