I used a basic configuration of Mininet with two stations linked to an access point. While designing a controller with pox, it comes out that event.port always
event.port