How would I make a driver?

From: Yusuf Khan <yusisamerican_at_gmail.com>
Date: Wed, 12 Jan 2022 03:54:42 UTC
Hi! I have a rtl 8821ce wireless adapter which does not currently have
a driver out for FreeBSD. I read this
https://forums.freebsd.org/threads/rtl8821ce-driver.75867/. and it
basically said to write your own driver or pay a FBSD dev to write one
for you. Are there any boilerplate wireless drivers for FreeBSD, how
would I get documentation(preferably without signing an NDA
prohibiting me from publishing the code) and how would I actually get
to writting the wireless driver(ie. getting the driver to load,
running FreeBSD on my laptop and loading the driver and other misc
stuff)