Explorar el Código

qcacld-3.0: Support add_key for NAN mode for NAN pairing protocol

Currently, host driver supports NL80211_CMD_NEW_KEY only for SAP,
STA, P2P_GO and P2P_CLI. Need add_key support for NAN discovery mode
as well to support the NAN pairing protocol. This allows userspace to
install the keys after deriving from PASN exchange.

Change-Id: I11b8318f89e4b2240dc6fb9d6f4c5b053a6c1387
CRs-Fixed: 3257622
Rahul Gusain hace 3 años
padre
commit
0a9d58d487
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      core/hdd/src/wlan_hdd_cfg80211.c

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

@@ -19998,6 +19998,7 @@ static int __wlan_hdd_cfg80211_add_key(struct wiphy *wiphy,
 		break;
 	case QDF_STA_MODE:
 	case QDF_P2P_CLIENT_MODE:
+	case QDF_NAN_DISC_MODE:
 		errno = wlan_hdd_add_key_sta(hdd_ctx->pdev, adapter, pairwise,
 					     key_index, &ft_mode);
 		if (ft_mode)