Thanks you both for the fast replies. The explanation is very clear and easy to understand. :) No wonder there are lots of beacon frames in driver_xxxxx.c I'm using NAT with DHCP so its an IP router in my case.