I had a issue with laptop asus k56c. When I slightly open my laptop screen the everything is ok, but when I open display too wide the wifi is freeze (no ping) and connection is lost.
P.S. sorry for my english. I hope that I was clear when describe the issue.
There is an antenna that runs from inside the laptop through the screen hinges and up around the screen. That likely got damaged and is not getting a solid connection. Happens a lot as the hinges get moved constantly and one of the wires often gets pinched. You will have to take apart the laptop to the point where you can see where the antenna lines run to see for sure and then you have to figure out if they can be repaired.