By 'doing a spectrogram' one may understand looking for signal presence within certain frequency band.
Any radio receiver of a system where channels are agreed by standards every one complies with 1st looks for signal presence within the frequency channel where signal expected. Look at this
1.- OFDM Beacon Receiver Using Software-Defined Radio
2.- Also have you read this solution :
Wireless Network Signal Strength with ESP32 with Arduino IDE
Receivers 1st look for pulses presence to synchronise, and from there get modulation symbols.
3.- Bear in mind that Wifi signals do frequency hopping within channel, really fast, and the whole channel is shifted to another channel when the current channel is 'too crowded' to the point that Bit Error Rates fall below thresholds.
Channel hopping takes place all the time, just check your router with a smart phone app that can monitor wifif channels.
4.- Basically you don't have to look at the spectrogram to tell whether a signal is wifi compliant because the receiver, the router, the smart phone tells you.
There are many smartphone apps that show all wifi signals, in the channel your signal is using, and within band, and it may even show all Wifi bands.
Wifi now has 3 bands 2.4 5 and 6GHz.
I read that even a higher frequency band is being developed.
5.- As of telling whether a non-wifi signals are either radar bursts of a nearby airport, or cell phone towers doing odd things, or a CB user abusing 2.4GHz, or security of nearby business jamming everyone around .. you are asking for a signals intelligence database.
Bear in mind that secuirity forces, the same they are allowed to carry fire arms to protect, they are also allowed to 'control' the spectrum within certain areas precisely for essentially the same purpose of carrying fire arms : to be in control.
I have read of schools allowed to install jammers to prevent students using mobile phones during exams.
6.- Waterfall analyses may help, but you will have to record 24/7/365 to build a consistent database.
And even then new IoT modulations Spread Spectrum and with special pulses, require expensive equipment to be 'caught' they way you intend to because such signals lay below noise level most of travel time transmitter-receiver.
7.- Record, compare, and build your own records.
But without the right tools and not knowing, not having narrowed to a small bunch of possible interferring possibles, you may be wasting your time.
8.- Even if let's say you manage to catch a consistently interferring signal, you start driving around with a direction finder, you look for increasing signal strength .. to end up at the door step of a private property: End of the story, you have no authority to check inside : call Ofcom.
9.- If you think a neighbour is causing disturbance to your router you can call Ofcom or whatever communications authority in your country so they look into it.
But even the ones in control of the spectrum cautiously mention for instance
Ofcom does not guarantee interference-free spectrum because there are many possible causes for interference beyond our control, such as natural atmospheric conditions. Interference is normally caused by:
- the unlicensed use of radio apparatus electromagnetic disturbance
- from apparatus or installations or a fault or deficiency in the
- affected station or apparatus.
Don't get mistaken, they are in control, but not doing nitty-gritty on the spectrum, that is an access point 'at the door', but in the data centres.
You may want to check the Frequency Allocation Table of your area/country, in the UK
UKFAT is available here
As well as all major mobile operators with base stations nearby.