Android u qpr3 beta 2.1 release 0.6
qcacld-3.0: Enable PMF for peer based on rsn cap

Currently, PMF is enabled for the peer iff the mfp
in the connect request is set to required. However,
with NL80211_EXT_FEATURE_MFP_OPTIONAL support, the
supplicant would send the user configuration in the
connect request mfp param. The driver doesn't enable
the PMF for the peer if the MFP is not sent as required.

Send/Select group management cipher of the connection
based on the PMF capability and not based on the user
mfp parameter. Enable the PMF, if both, the DUT and AP
are PMF capable.

Bug: 322941827
Test: Regression Test
Change-Id: Iba7fde4aa18c4053c064506b34a7a63e220be5a2
Signed-off-by: Hsiu-Chang Chen <hsiuchangchen@google.com>
3 files changed