Connection Autentication Failed - Maybe Wireless Network Adapter Problem

Hi, I installed recently Fedora 41. I turn it on my computer, and like 10 minutes after, it appears a problem with the wifi. It loses all the connections, and it doesn’t find any. I have to reboot the system to get connection again. I think, that it could be the driver.
In this command:

lspci -k | grep -A 3 -i "network"

This is the out:

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
	DeviceName: Realtek RTL8821CE 802.11ac PCIe Adaptor + BT4.2
	Subsystem: Hewlett-Packard Company Device 884d
	Kernel driver in use: rtw_8821ce

I don’t know what other thing could be. If its the driver, I don´t know where to get it.
Please Help me.

How to keep internet connection connected without interruption - #4 by vgaetera

Hi, i tried using:

sudo tee /etc/NetworkManager/conf.d/00-wifi-powersave.conf << EOF > /dev/null

And it opens this prompt:

heredoc>

and i dunno what to do with it :pensive:

You can copy/paste the entire block of code to the terminal and hit Enter.