How to get the wifi quality

Hi,
I want to get the wifi quality between the arduino and my phone.
I want to do "if" that do something if the wifi quality less the 90%.

Do you have any idea?
Thanks!

Do you have any idea?

What hardware do you have?