computer networks – The size of frames generated in transferring files

An application sends a $7*10^{20}$ bytes file.

TCP layer breaks the file into a number of TCP segments. Each segment carries 1400 bytes of file data and 24 bytes of headers.

Then, a segment is encapsulated in an IP packet that has a header of 30 bytes.

Lastly, a packet is encapsulated inside a frame which carries a payload of maximum size of 2312 bytes and 44 bytes of header and trailer.

I am trying to calculate the number of frames generated. But, I am not sure if the size of each frame being transmitted should be 1400+24+30+44 or 2312+44. Any help is appreciated. Thank you.