added a call from main.py to aicontroller.py to pass link quality