Thanks Felix for clarifying my newbie doubts!! > Secondly, could someone point me out where in hostapd code is > distinguished between adhoc mode and ap mode? Easy: AP mode uses it, Ad-Hoc mode doesn't.
So, where is the ad-hoc mode configured then? Is it done in the proprietary driver (in my case ath9k) or it is done in the kernel? Thanks again 2013/5/7 Felix Fietkau <n...@openwrt.org>: > On 2013-05-07 9:21 AM, Francisco Cuesta wrote: >> Hello, >> >> I have some doubts concerning to the hostapd package, working with >> Attitude Adjustment openwrt version. So, I would appreciate if someone >> might clarify them to me. >> >> Firstly, I have noticed that apart from the hostapd package included >> on package/hostapd directory, there is another small version of >> hostapd located in the drivers of the linux kernel >> (linux-3-3.8/drivers/net/wireless/hostap). > Just because the name is similar doesn't mean that it's connected to > hostapd :) > >> My question is, if I had to >> change the main hostapd package, should I change the kernel version of >> hostap too? Might there be any kind of incompatibility if I only >> change the package and not the one in the kernel? I ask this, because >> I'm not sure whether they make use of each other or not. > There's no connection between the two, so no compatibility issues. > >> Secondly, could someone point me out where in hostapd code is >> distinguished between adhoc mode and ap mode? > Easy: AP mode uses it, Ad-Hoc mode doesn't. > > - Felix > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel