Allow to disable Wi-Fi p2p features

- Add --disable-wifi-p2p flag
- Send Wi-Fi packets directly to WifiService by skipping process() in
  medium.rs
- For debug Wi-Fi performance

Test: ninja -C objs
Test: emulator @Pixel_6_Pro_API_31 -feature WiFiPacketStream -wipe-data
      -no-ethernet -no-snapshot -netsim-args --disable-wifi-p2p
Change-Id: I2095db839bd5e91f41705cfe7b2eafee92ed6759
6 files changed
tree: 42671f25ac745444d26d46180b67a8f3e6c8a87a
  1. cmake/
  2. doc/
  3. guide/
  4. pdl/
  5. proto/
  6. rust/
  7. scripts/
  8. src/
  9. testing/
  10. ui/
  11. .clang-format
  12. .gitignore
  13. Android.bp
  14. cmake-format.json
  15. CMakeLists.txt
  16. dummy.c
  17. LICENSE
  18. OWNERS
  19. README.md
  20. TEST_MAPPING
README.md

netsim - a network simulation tool for multi-device use cases

Netsim is a development stage open-source tool for testing and analysis of android multi-device apps and frameworks. It offers radio level control and HCI tracing.