Wireless AP FlexConnect mode switchport mode

When configuring a wireless access point to function in FlexConnect mode, it can be connected to a switch using either an access port or a trunk port. In the case of a trunk port, the access point needs the management IP address on the Native VLAN to function.

https://networklessons.com/wireless/cisco-wireless-ap-modes