The same port and the same network cable, the laptop can obtain the address, but the AP cannot?
Because the gateway or DHCP server uses unicast packets when replying to the laptop with DHCP OFFER packets, and uses broadcast packets when replying to the AP.
If this happens, check whether there is a mechanism in the link that suppresses broadcast messages.