mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-03 00:51:54 +02:00
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>