Update Aware pairing AIDL documentation
Update the AIDL documentation for NanCapabilities#supportsPairing to
include details about supporting NAN pairing and all associated Aware R4
security features, as defined in Wi-Fi Aware Specification Version 4.0.
Bug: 406503442
Test: Build successfully
Flag: DOCS_ONLY
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f75e53427a5cd31ad8c85dbee12d6e31248309f5)
Merged-In: Ia6e4e76cde6c172f3b9c4065ddada580eb9363a3
Change-Id: Ia6e4e76cde6c172f3b9c4065ddada580eb9363a3
diff --git a/wifi/aidl/android/hardware/wifi/NanCapabilities.aidl b/wifi/aidl/android/hardware/wifi/NanCapabilities.aidl
index f9f825f..1a0408b 100644
--- a/wifi/aidl/android/hardware/wifi/NanCapabilities.aidl
+++ b/wifi/aidl/android/hardware/wifi/NanCapabilities.aidl
@@ -93,8 +93,19 @@
* Flag to indicate if High Efficiency is supported.
*/
boolean supportsHe;
+
/**
- * Flag to indicate if NAN pairing is supported.
+ * Flag to indicate if NAN pairing and all associated Aware R4 security features are supported.
+ *
+ * This flag is set to true only if all of the following are supported:
+ * - NAN Pairing (as in Wi-Fi Aware Specification Version 4.0 section 7.6)
+ * - NDP unicast data frame encryption (as in Wi-Fi Aware Specification Version 4.0 section
+ * 7.3.1)
+ * - Group addressed data frame encryption (as in Wi-Fi Aware Specification Version 4.0
+ * section 7.3.3)
+ * - Management frame protection (as in Wi-Fi Aware Specification Version 4.0 section 7.3.2
+ * for both unicast and multicast frames)
+ * - Beacon integrity protection (as in Wi-Fi Aware Specification Version 4.0 section 7.3.4)
*/
boolean supportsPairing;
/**