#!/usr/bin/env bash
#navigate to downloads folder to execute every following command
cd ~/Downloads

sudo apt update
sudo apt install -y git build-essential
git clone https://github.com/lwfinger/rtw89.git
cd rtw89
make
sudo make install
sudo mkdir /usr/lib/firmware/rtw89
sudo cp  rtw8852a_fw.bin  /usr/lib/firmware/rtw89/
sudo modprobe rtw89pci
