platform_packages_modules_C.../staticlibs
Maciej Żenczykowski 11141da623 NetBpfLoad: enable mainline on T+
Note:
   2 == BPFLOADER_S_VERSION
  19 == BPFLOADER_T_VERSION
  25 == BPFLOADER_OBJ_AT_VER_VERSION
  33 == BPFLOADER_IGNORED_ON_VERSION
  37 == BPFLOADER_U_VERSION [*]
  41 == BPFLOADER_V_VERSION [**]
and currently we have:
  42 == BPFLOADER_MAINLINE_VERSION
  43 == BPFLOADER_MAINLINE_T_VERSION
  44 == BPFLOADER_MAINLINE_U_VERSION
  45 == BPFLOADER_MAINLINE_V_VERSION

[*] udc-dev/udc-release are actually 38, as 37 was some earlier
    udc beta2 (2.1 ifirc), and beta3+ switched to 38

[**] 24Q{1,2}-release (ie. U QPR2+) are technically actually 41,
     but their platform bpfloader no longer even looks in /apex/com.android.tethering/etc/bpf/...
     so it doesn't really matter (although 24Q1's platform
     netbpfload still does, however that is obsoleted by
     this change)

Thus we need to (as minimum for NetBpfLoad):
  BPFLOADER_T_VERSION -> BPFLOADER_MAINLINE_T_VERSION
  BPFLOADER_IGNORED_ON_VERSION -> BPFLOADER_MAINLINE_U_VERSION
to cause these to load appropriately from mainline.

One would perhaps also expect (as minimum for NetBpfLoad):
  BPFLOADER_OBJ_AT_VERSION -> BPFLOADER_MAINLINE_U_VERSION
but (as maximum for platform bpfloader):
  BPFLOADER_OBJ_AT_VERSION -> BPFLOADER_MAINLINE_U_VERSION

However, since the goal is actually for those to load via mainline on T+,
(with the 'old' version of the .o's loading on S via platform bpfloader)
thus one actually needs (as minimum for NetBpfLoad):
  BPFLOADER_OBJ_AT_VERSION -> BPFLOADER_MAINLINE_T_VERSION
and (as maximum for platform bpfloader):
  BPFLOADER_OBJ_AT_VERSION -> BPFLOADER_T_VERSION

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I4b688692ffca0db7ead20cefd9e7e892ca92c70a
2024-03-19 21:33:55 +00:00
..
client-libs Merge "[DON'T BLOCK] Test ownership migration rules" into main am: e7aa45cdf0 2024-02-01 00:08:24 +00:00
device Add IPv6 FragmentHeader struct support 2024-03-06 05:05:13 +00:00
framework/com/android/net/module/util Rename check*Permission* to has*Permission 2024-02-01 15:24:35 +08:00
native NetBpfLoad: enable mainline on T+ 2024-03-19 21:33:55 +00:00
netd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
tests/unit Add IPv6 FragmentHeader struct support 2024-03-06 05:05:13 +00:00
testutils Merge "Quit NetworkMonitor threads in integration tests" into main 2024-03-15 09:17:11 +00:00
Android.bp Merge "Remove unused library visibility" into main 2024-03-04 02:43:27 +00:00
jarjar-rules-shared.txt
lint-baseline.xml Prepare for @RequiresApi class retention 2024-02-02 12:04:05 -08:00
TEST_MAPPING