Explorar o código

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
Rahul Gusain %!s(int64=2) %!d(string=hai) anos
pai
achega
b536b7e2df
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 4 - 0
core/hdd/src/wlan_hdd_cfg80211.c

@@ -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 */