On Thursday 21 January 2016 15:47:02 Felix Fietkau wrote: [...]
Hm, didn't work out so well. It basically explodes right away because possible_net_t, possible_read_pnet, possible_write_pnet is not defined on v3.18 when not using the mac80211 backporting headers. And when usign the backporting headers then it will explode because it conflicts with batman- adv's own backporting stuff. And without the batman-adv's backporting headers it will also not compile due to missing backporting hacks.
I think in the short term it would be a good idea to identify what's missing in the mac80211 backport support and make patches for it. You should also rebase those on top of backports.git and submit them upstream.
Yes, this was already started after/during the linux plumbers conf 2014 [1]. But it died the horrible death of being ignored and neglected - especially after the multicast optimization was integrated.
Someone who want to use the mac80211 stuff with the batman-adv package can use the attached patch as starting point.
Kind regards, Sven
[1] https://github.com/ordex/batman-adv-backport/commits/TODO-compat