linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 6lowpan next header compression framwork: module handling or not?
@ 2014-12-05 12:46 Alexander Aring
  2014-12-05 13:42 ` Jukka Rissanen
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Aring @ 2014-12-05 12:46 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: marcel, jukka.rissanen, linux-wpan, martin.townsend

Hi,

last patch series Jukka, told me to make default "loading" of some next
header compression formats. I agree with that, so users don't need to
extra loading some next header compression modules.

Per default we support some compression formats, that sounds good.


Before that Marcel told (I think if I understand it right) that he wants
to have each nhc compression as separate module and users can do some
modalias magic for autoloading.

Currently I see no option to add support for both of them.

If I do Jukka's default "loading" (not loading of module) I add nhc
and all compression layers into the 6lowpan.ko module. While module_init
of 6lowpan.ko we add all default nhc's. On module_exit we remove _all_
registered nhc.

Marcel idea with modules we have in each nhc compression format a module_init
and a module_exit function. In these functions the nhc compression format will
be added to the nhc framework and removed. With this solution I can't
implement some "load all defaults nhc modules, while loading 6lowpan.ko
module. Users need to do some configuration to make this default
available at startup.


What should I do now?

- Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-05 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 12:46 6lowpan next header compression framwork: module handling or not? Alexander Aring
2014-12-05 13:42 ` Jukka Rissanen
2014-12-05 14:31   ` Alexander Aring
2014-12-05 15:00     ` Jukka Rissanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).