networking – Wi-fi Not working on Ubuntu; Kernel: 5.3.0-62-generic version

Recently I had upgraded my ubuntu and am facing problems with wifi ever since. After the update, there is no wifi symbol at all in the settings. I downloaded the rtlwifi_new from GitHub and wanted to install the rtl8723de driver on my HP laptop. While installation of the driver, I am getting the below error in the sudo make step:

make -C /lib/modules/5.3.0-62-generic/build M=/home/soma/rtlwifi_new modules
make(1): Entering directory '/usr/src/linux-headers-5.3.0-62-generic'
  CC (M)  /home/soma/rtlwifi_new/rc.o
/home/soma/rtlwifi_new/rc.c:336:11: error: initialization of ‘void * (*)(struct ieee80211_hw *)’ from incompatible pointer type ‘void * (*)(struct ieee80211_hw *, struct dentry *)’ (-Werror=incompatible-pointer-types)
  336 |  .alloc = rtl_rate_alloc,
      |           ^~~~~~~~~~~~~~
/home/soma/rtlwifi_new/rc.c:336:11: note: (near initialization for ‘rtl_rate_ops.alloc’)
cc1: some warnings being treated as errors
make(2): *** (scripts/ /home/soma/rtlwifi_new/rc.o) Error 1
make(1): *** (Makefile:1664: _module_/home/soma/rtlwifi_new) Error 2
make(1): Leaving directory '/usr/src/linux-headers-5.3.0-62-generic'
make: *** (Makefile:85: all) Error 2