Wifi: Optionally avoid interface down/up when doing setMacAddress

Some vendors implementation will reset wifi chip when doing interface
down.
Accordingly, We need to avoid the interface down/up when doing
setMacAddress to avoid loss of sync between framework and firmware.

This commit uses a BOARD_WIFI_AVOID_IFACE_RESET_MAC_CHANGE macro to
check if it is needed to avoid interface down/up at setMacAddress.

Bug: 153771961
Test: VTS Test
Test: atest VtsHalWifiV1_2TargetTest
Change-Id: I971764f1c272ebfd245959974fa0d1b10ba7c39b
2 files changed
tree: ecc8b758e78feed6656d7586a2fcc6f536f41cf1
  1. biometrics/
  2. camera/
  3. cryptfshw/
  4. gnss/
  5. light/
  6. livedisplay/
  7. nfc/
  8. power/
  9. powershare/
  10. touch/
  11. trust/
  12. usb/
  13. vibrator/
  14. wifi/
  15. Android.bp
  16. update-makefiles.sh