On Mon, 2017-07-03 at 15:14 +0000, COLIN Tangi wrote:
I need to have ad-hoc support into connman. I have a project that
will use B.A.T.M.A.N mesh protocol so i need ad-hoc mode for using
it. By doing a small look into source code of connman and its git
history i see that ad-hoc network are discard from connman. For
example you can look the commit
cd9d9e6b485cf730275680d8a4260003b206a1ae Ignore WiFI networks with
IBSS (adhoc mode)
Do it have some particular reason to discard ad-hoc support from
Ad-hoc was never very high on the WiFi chipset vendors' support list to
start with, and hasn't gained in popularity since. I'm not sure how
well it is supported nowadays. In Ad-Hoc networks it's difficult to do
WPA security, as both WPA roles need to be implemented. Discussions I
can find on the ml start from July 17th, 2011 and July 26th, 2012.
Please see the archives for the discussions and conclusions.
(Does it conflict with other feature supported by connman for
example). And if i start a work to add ad-hoc mode to connman does it
have a change to be mainlined ?
See those previous mail threads. Upstreaming is of course very nice,
but then one needs to be pretty sure that the feature also works across
(all the) other chipsets as well. For all the other normal use cases
except B.A.T.M.A.N., WiFi P2P is already supported. That said, WiFi P2P
definitely needs some more love and care, and even here the use cases
aren't that widely spread.