This guide is specifically for the official orange pi 5 PCIe WiFi 6.0 Module that can be found here although it has been in and out of stock https://a.co/d/bhjoolW
It uses the ap6275p chip. The guide will be split into 2 sections depending on what OS you want to use
Orange Pi OS
1. install the wifi module into the m.2 slot and boot sd card with either the latest orange pi os ubuntu or debian
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-s