qcacld-3.0: Register for MGMT auth frames on NAN iface

Authentication frames(with type PASN, value 7) get
exchanged between NAN peers in NAN pairing protocol.
These exchanges happen on NAN interface.
But currently, NAN interface doesn't support auth mgmt
frame processing.
Add entries in wiphy->mgmt_stypes for NAN iface also
to support this.

Change-Id: I2e4f53af737c80e8b7eae5883e95f32ff98d4f00
CRs-Fixed: 3257646
This commit is contained in:
Rahul Gusain
2022-06-21 09:48:57 +05:30
committed by Madan Koyyalamudi
parent aa25f235d8
commit b536b7e2df

View File

@@ -589,6 +589,10 @@ static const struct ieee80211_txrx_stypes
BIT(SIR_MAC_MGMT_DEAUTH) |
BIT(SIR_MAC_MGMT_ACTION),
},
[NL80211_IFTYPE_NAN] = {
.tx = 0xffff,
.rx = BIT(SIR_MAC_MGMT_AUTH),
},
};
/* Interface limits and combinations registered by the driver */