mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
docs(nan): document group-protection fields, CSID ciphers and NIRA
Refresh stale/missing documentation now that the features are implemented: - group_data_prot / group_mgmt_prot in wifi_nan_discovery_security_params_t (esp_wifi_types_generic.h) and wifi_nan_security_params_t (esp_private/ wifi.h): describe GTKSA / IGTKSA+BIGTKSA instead of "not supported". - CSID enum: document NCS-GTK-CCM-128 (set internally via group_data_prot, not user-selectable) and NCS-PK-PASN-128 (NAN Pairing, via the Wi-Fi Aware component). - Drop "dummy" from the esp_nan_construct_nira() doc (it builds a real NIRA) and a stale "IGTK/BIGTK are placeholders" comment.
This commit is contained in:
@@ -67,8 +67,8 @@ typedef struct {
|
||||
uint16_t csid_bitmap; /**< Selected Cipher Suite ID bit (WIFI_NAN_CSID_BIT_*) */
|
||||
uint8_t nd_pmk[ESP_WIFI_NAN_NDP_PMK_LEN]; /**< ND-PMK */
|
||||
uint8_t nd_pmkid[ESP_WIFI_NAN_NDP_PMKID_LEN]; /**< ND-PMKID */
|
||||
uint8_t group_data_prot: 1; /**< Group addressed data frame protection. Reserved: not supported right now. */
|
||||
uint8_t group_mgmt_prot: 1; /**< Group addressed management frame protection. Reserved: not supported right now. */
|
||||
uint8_t group_data_prot: 1; /**< Group addressed data frame protection (GTKSA): distribute a GTK on the secured NDP so multicast data frames are protected. */
|
||||
uint8_t group_mgmt_prot: 1; /**< Group addressed management frame protection (IGTKSA/BIGTKSA): BIP-protect multicast SDFs and Beacons. */
|
||||
uint8_t reserved: 6; /**< Reserved */
|
||||
} wifi_nan_security_params_t;
|
||||
|
||||
@@ -1209,7 +1209,7 @@ esp_err_t esp_wifi_disconnect_internal(void);
|
||||
uint32_t esp_nan_get_nira_len(void);
|
||||
|
||||
/**
|
||||
* @brief Construct dummy NAN Identity Resolution Attribute (NIRA)
|
||||
* @brief Construct NAN Identity Resolution Attribute (NIRA)
|
||||
*
|
||||
* @param[out] frm Buffer to write the attribute to
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user