View Full Version : C++ Source Code
Jwins
11-09-2009, 02:56 PM
Hey I am looking for the source code for the NS2 does anyone know of the link to download or where to find it?
Dave-D
11-09-2009, 03:25 PM
Ubiquiti doesn't consider AirOS to be
in the public domain. They have no
download for source code.
If you use OpenWRT, you would have
access to that source code. Dave
gwirth
11-10-2009, 03:49 PM
This is blatently false. It is not public domain, but mostly GPL. AirOS is based on Linux, Busybox and quite a bit of other GPL software. Ubiquity DOES provide a full developers kit for AirOS which includes the source code plus cross-compiler tool chain. Go the dowloads page and look for something called the SDK - Software Developers Kit.
The source code is mostly C, not C++
Dave-D
11-10-2009, 03:52 PM
I stand corrected. I believe the
SDK contains multiple binary
modules with no source code--
with crucial Atheros drivers.
Not so? Dave
gwirth
11-10-2009, 11:55 PM
The binary blob is the Atheros HAL - Hardware Abstraction Layer used for the radio portion in the madwifi driver. Because Ubiquity is using such an old kernel, they have to use old drivers. They may have made some custom changes to it with an agreement with Atheros, you will have to ask Ubiquity about that. However, the HAL is now fully open sourced, see the announcement at the madwifi project page:
http://madwifi-project.org/wiki/news/20081129/sam-leffler-releases-hal-source
It's perfectly feasible to substitute the fully open source HAL for the one that Ubiquity provides.
Gus