Christian Marangi 0a0ed86b42
generic: backport field_prep()/get() for non-const bitmask
Backport new field_prep()/get() particularly useful to handle case where a
bitmask is not const and FIELD_PREP can't be used. This permit to replace
manual shift with these macro. (also needed to permit backport of some
patch without modification)

Backport reworked patch that drop the local field_prep()/get() macro in
favor of the global one.

Link: https://github.com/openwrt/openwrt/pull/22479
(cherry picked from commit 25f92aaae1795f992fc288c5c877724249d59296)
Link: https://github.com/openwrt/openwrt/pull/22820
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-04-22 10:01:13 +02:00
..
2026-04-02 23:23:41 +02:00
2025-05-20 00:47:37 +02:00
2026-04-02 23:23:41 +02:00
2026-04-02 23:23:41 +02:00