SoftAp: Remove 11BE from config if capabilities don't support it

In some cases, config_wifiSoftapIeee80211beSupported is true, but the
hardware doesn't support 11BE (i.e. GSI targets). Thus we should remove
11BE from SoftApConfiguration before sending it to hostapd, if the
SoftApCapability (which represents hardware support) doesn't support
it.

Bug: 305625952
Test: atest SoftApManagerTest

Change-Id: I3e6ac819d57bad2455fa6821f10bf81706bfc381
4 files changed