You should build mac80211 as module instead of built-in driver and
"make modules" instead of full make. This way you'll be just
rebuilding mac80211.ko instead of the whole thing.

On Mon, Jun 8, 2015 at 2:39 AM, Duy Tai Nguyen <[email protected]> wrote:
> Hi,
>
> I want to inject particular data into beacon frame in Android device.
> I found two approaches:
> 1. Write loadable kernel module.
> 2. Modify MAC80211 subsystem
> In the first approach, I found that I could not include directly
> source code from MAC80211 sub system in folder /net/mac80211/. Thus, I
> used the second approach, but, every time I change any line of source
> code, it takes 30 minutes to build zImage  then install new kernel in
> my Android device. Finally, I was stuck.
> Therefore, my questions are:
> 1. Is it right approach to modify MAC80211 subsystem?
> 2. Are there any faster approach to modify MAC80211 and test source code?
> 3. I am curious about the way you write code and test MAC80211. Could
> you explain in details?
> Best Regards,
> Duy Tai.
> ------------------------------------------------------------------------------------------------------------
> Nguyen Duy Tai
> Ym: kimjiwoo741
> Phone: +841676919422
> Faculty of Computer Science and Engineering.
> University of Technology HCMC.
> ------------------------------------------------------------------------------------------------------------
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to