How does the UE knows where the SSBs located in frequency?

Hello Experts.
On the beam search, how does the UE knows where the SSBs located in frequency?
Mean lets assume you are gNB and you send first SSB and PSS in SSB so when you send them to UE how does the UE knows where are located (time/frequency)?
How does UE knows at which subcarrier those SSB are?
The UE should know that before MIP message.
Could someone explain that?

Once again I didn’t mean the location of ss/pss in ssb, I meant gNB is sebding multiple ssbs per one periodicity at specific frequency, so how the UE knows what’s the appropriate Scs(subcarrier spacing) of recpient ssbs? And how the UE knows the location of ssbs in order to decode them?

Those thing must be known to UE before even mip message

Note: I really looked at sharetecnote and other resources, and didnt get the idea/the answer. :frowning:

Study about the GSCN for SA.
For NSA, SSB ARFCN is informed to UE via RRC Reconfiguration Message.