Thank you for that recomendation, it work! Probably this was necessary, because before the WAN connection, the AP tried to connect to the wireless controller via Mesh communication.
Problem solved:configure"enter the interface:"interface GigabitEthernet110/1/0/45"configure ta random acces vlan"switchport mode accessswitchport access vlan 999"then, remove those two lines"no switchport trunk allowed vlan noneno switchport access v...