Linux: here I can do USB-C port capability detection for you.

Windows 11: full protocol support or GTFO!

USB Type-C connector class — The Linux Kernel documentation