浏览代码

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 3 年之前
父节点
当前提交
b536b7e2df
共有 1 个文件被更改,包括 4 次插入0 次删除
  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 */