Update the APF capabilities on role change

When the interface switches from secondary
to primary in STA+STA MBB case, update the APF
capabilities in IpClient. IpClient will then process
the capabilities and call the API to install packet
filter.

Bug: 274090839
Test: atest ClientModeImplTest
Test: Manual - Added two saved profiles(2 Hotspots) in Pixel 6.
      Connected to AP1 first and walk away from AP1 by carrying AP2 in
      hand. When the RSSI of API is weak, confirmed from the logs that
      DUT triggered MBB and APF update capabilities API and install API
      are called. Also confirmed from vendor HAL logs that the packet
      filter settings are installed.
Change-Id: I9980b5351475f52f27ca0586434e0500bbeb2547
2 files changed