I doubt the iranian navy has a chance. Heres what I speculate the US has done to counter Irans military in the area.
We have subs in the area. They are doing much more than waiting for some raiding craft to suicide bomb a frigate. They have probably tapped every
fiber optic telecommunication line in the region from underwater and are actively listening in on the traffic encrypted and non. We probably have
assets in Iran doing the same thing on the ground as well. So its safe to say we are listening in on all of irans military communications and know
exactly what their plan is. THis would not be the first time we've done this to other countries. We've been doing it since he 50s.
On top of that. Those same subs are probably releasing seals to recon the iranian islands to make sure there are no anti ship missile sites hidden
away on random islands. We've been doing that for a while too. Even near chinas coast. Charting where hidden weapon systems are cached.
THose same subs are also busy mining with the modern day version or replacement for the captor mine. So basically these mines watch the iranian
traffic go by over them as they sit on the bottom of the ocean. At any time we tell said mine to do it's thing. Boom! Torpedo in the water from
nowhere sinking iranian ships and effectively corralling them in their ports.
We also have drone subs doing the same thing except they can roam and also have the ability to spy.
Pretty sure that if we saw a swarm of gunboats making a go at our fleet a sub can just as easily launch a asroc programed to simple land in the middle
of the swarm and blow up knock the whole swarm out of the water.
Pretty sure we will have plenty of time to see the swarm coming too since our fleet is always being observed by multiple types of satellites.
As far as Naval Warfare goes the US has Iran in checkmate. Except we don't disclose that to the actual Iranians.