wifi: HIDL/AIDL register networks when p2p dev interface added

persistent groups are not registered to the AIDL network map,
hence wifi service gets errors on getting the group information.

If p2p uses dedicated interface, register the network whose SSID
starts with DIRECT-.

Bug: 238529085
Bug: 238601241
Test: create a persistent group, turn off wifi, turn on wifi,
      check saved group

Change-Id: Ib61459774d9afe236c4cc09023b87d718f23b831
1 file changed