cozybit/authsae — pull request #3 by hawkinswnaf (2012-06-29 03:39:23+00:00)
Title: Add support for authsae on adhoc interfaces (version 3!)

Hello!

Let's try this one on for size. I think that I addressed all of your suggestions from the last pull request, with one exception.

You asked that I somehow fetch the BSSID from the interface instead of prompting the user. After some thinking, I realized that the BSSID is fundamentally a user-configurable parameter. There is no other way to get that information other than from the user. It's akin to the meshid and is a parameter that must be passed to the kernel when the user joins an IBSS network. I hope it's okay that I couldn't address that particular bit of your feedback.

1. Move channel_to_freq up in the source code so
that it can be used in join_network.
2. Combine join_mesh_rsn and join_ibss into one function.
3. Combine leave_mesh and leave_ibss into one function.
4. Rename register_for_plink_frames to register_for_action_frames.
5. Add and use a "using adhoc" flag.
6. Add support for pretty-printing a failing command.
7. Define the maximum length of the BSSID string.
8. Add space for BSSID in meshd config.
9. Make cmd_to_string() a public function.