To supplement Bob's instructions, there a bunch of public patches for Android mesh support housed on cozybit's github. These are probably a good starting point for replicating the work for Nexus 4.
Unfortunately, none of these are currently cohesively tired together. Android build integration: - https://github.com/cozybit/android-platform/commits/default - https://github.com/cozybit/android/commits/cm-10.2 - https://github.com/cozybit/android_build/commits/cm-10.2 Kernel and driver integration: - https://github.com/cozybit/backports-releases/commits/cm-10.2 - https://github.com/cozybit/wcn36xx-xz/commits/cm-10.2 - https://github.com/cozybit/android_kernel_sony_apq8064/commits/cm-10.2 System level & build integration: - https://github.com/cozybit/android_hardware_qcom_wlan/commits/cm-10.2 - https://github.com/cozybit/android_hardware_libhardware_legacy/commits/cm-10.2 - https://github.com/cozybit/android_device_sony_yuga/commits/cm-10.2 - https://github.com/cozybit/proprietary_vendor_sony/commits/cm-10.2 - https://github.com/cozybit/android_device_sony_fusion3-common/commits/cm-10.2 Misc Jenkins integration for setting up a CyanogenMod mirror: - https://github.com/cozybit/cmjenkins Also, this shows how we were testing some of the Android mesh integration (without integration in Java): - https://github.com/cozybit/wcn36xx-tests/commits/master Java integration is fairly straightforward: basically it involves expanding the WifiStateMachine in Android to have a new mode for mesh. Cheers, -Jason On Tue, Sep 30, 2014 at 7:47 AM, Bob Copeland via Devel <[email protected]> wrote: > On Tue, Sep 30, 2014 at 09:02:24AM +0000, Steger, Marco via Devel wrote: >> 2.) I haven't really found a how-to guide for enabling mesh on Android. It >> would be great if you can provide a link or source. If there is nothing >> available, I would like to create such a guide (I think I'm not that only >> one out there who want to have this :) ), but therefore I would have to try >> it out for my own first. >> And here I really will need your help! > >> Can you shortly state (and maybe shortly explain) the needed steps to enable >> 802.11s on Android. Would be great and very helpful! > > Sure, this would be a good resource to have. There was some > documentation once, but not sure if it was public, and I cannot find it > now anyway. > > At any rate, I'd be happy to contribute as well -- I have some notes sitting > around here, but it'd be a good exercise for me to rebuild it all from scratch > to validate things. > > The gist is: > > 1. Pick an android development environment and get it building > for your device (including a modular kernel). Cyanogenmod is > probably the easiest starting point. > > 2. Build the wireless drivers using backports modules. You'd want > to get wcn36xx from the github repo as I believe not everything > is upstream. > > 3. Rebuild wpa_supplicant with a version using the mesh patches. > > 4. Modify the android boot scripts to load the backports modules. > > I don't believe there is a way to hook mesh into the standard android > UI at this point; my testing was scripted with adb calling wpa_s directly. > > -- > Bob Copeland %% www.bobcopeland.com > _______________________________________________ > Devel mailing list > [email protected] > http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel _______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
