I am frequently disconnected form wifi.
I have a hidden wifi which i will have to manually connect each time laptop wakes up from sleep and also i just get random disconnection while i am browsing the web.
tplink router with 2.4ghz frequency
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp4s0f2 state: down mac: xxxxxxxx
Device-2: Broadcom and subsidiaries BCM43228 802.11a/b/g/n driver: wl
IF: wlp9s0 state: up mac: xxxxxxxxxxxx
Also i was not getting this problem while i was using other linux distros and DE but suddenly i am getting this problem in manjaro xfce don't know the cause
i don't think i have changed any settings much.
wifi works fine on other devices as well.
Thanks in advance.
As @stephane already mentioned, test the Manjaro LTS kernels instead of the newest kernel.
Also get rid of your hidden network configuration. Making your network hidden can prevent proper connectivity, especially with some Broadcom adapters. It provides no extra security and often introduces extra problems.
You can also test out the b43 kernel module instead of the wl driver.
Test your connectivity with the new module after issuing those commands.
Please post the input and output of any commands that you are asked to run.
The new b43 driver loaded by those commands is not persistant. The wl driver will be reloaded when you reboot. The b43 module can be made the preferred driver if it performs better. Simply uninstall the wl driver through Manjaro Settings Manager if you would rather use the b43 kernel driver.