OSDN Git Service

[NAN] Security configuration (cipher)
authorEtan Cohen <etancohen@google.com>
Fri, 17 Feb 2017 19:31:25 +0000 (11:31 -0800)
committerEtan Cohen <etancohen@google.com>
Fri, 17 Feb 2017 19:31:25 +0000 (11:31 -0800)
Add a constant to make the no-cipher specification explicit.

Bug: 35387576
Test: integrated (sl4a) tests pass.
Change-Id: Ia272cad70cd4bedbdbdb4d2c856167305f747a30

include/hardware_legacy/wifi_nan.h

index 00ea254..09c4be1 100644 (file)
@@ -239,6 +239,7 @@ typedef enum {
 } NanRangingAutoResponseCfg;
 
 /* NAN Shared Key Security Cipher Suites Mask */
+#define NAN_CIPHER_SUITE_SHARED_KEY_NONE 0x00
 #define NAN_CIPHER_SUITE_SHARED_KEY_128_MASK  0x01
 #define NAN_CIPHER_SUITE_SHARED_KEY_256_MASK  0x02