A CAPWAP Architecture for Automatic Frequency Planning in WLAN