XIAN v1.2 bundle can be downloaded here.
It contains, in the "archives" directory, the version of the Madwifi driver from the old BSD branch (working on Linux) that has to be used with XIAN.
The ad hoc mode is currently broken in Madwifi-ng (see)
The source code is also available on the web CVS: here