As a first step into that direction I worked on a set of patches to assemble all B.A.T.M.A.N. IV related routing code in a single file, accessible via a routing algo API which will also be used by the new code.
Looking at the header files, it is not clear to me which contains this routing algo API. Is it bat_ogm.h?
Has there been any discussion if compile time is sufficient? How about making it a runtime decision? I presume mixing routing algorithms within a mesh is not going to work. However, being able to configure the algorithm per mesh should be possible. This gives a greater degree of interoperability, which might make the Linux Network maintainers happier?