Realtek rtl8821ce wifi driver problem in Linux Mint 18.2

I’ve installed Linux Mint 18.2 on my ThinkPad E470. I can’t connect to wifi as no wireless option shows up. I searched around and found an old post with the exact problems as mine – https://ubuntuforums.org/showthread.php?t=2187780. But the solution to it is old and doesn’t work for the new linux. And, lspci doesn’t list my wifi adapter model. I also tried the solution given by Pilot6(Can’t post the link as i have an upper limit on no. of links). But it doesn’t work. This is the output of lspci -knn | grep Net -A2. https://pastebin.com/mMa6465h