WiFi Shield MicroController

Ah, so the AT32 only needs to store its firmware to interact with the Arduino? More specifically, when I have the WiFi Shield connected to the Mega2560, the entire program is stored to the processor on the Mega, and that then talks to the AT32 (which has the firmware loaded on ahead of time)?