esp_wifi: Add pairwise cipher support in softAP config

Closes https://github.com/espressif/esp-idf/issues/5963
This commit is contained in:
kapil.gupta
2020-10-15 14:35:32 +05:30
committed by Kapil Gupta
parent f7c9f1afd7
commit 7bc74089f4
4 changed files with 23 additions and 4 deletions

View File

@@ -222,6 +222,7 @@ typedef struct {
uint8_t ssid_hidden; /**< Broadcast SSID or not, default 0, broadcast the SSID */
uint8_t max_connection; /**< Max number of stations allowed to connect in, default 4, max 10 */
uint16_t beacon_interval; /**< Beacon interval which should be multiples of 100. Unit: TU(time unit, 1 TU = 1024 us). Range: 100 ~ 60000. Default value: 100 */
wifi_cipher_type_t pairwise_cipher; /**< pairwise cipher of SoftAP, group cipher will be derived using this. cipher values are valid starting from WIFI_CIPHER_TYPE_TKIP, enum values before that will be considered as invalid and default cipher suites(TKIP+CCMP) will be used. Valid cipher suites in softAP mode are WIFI_CIPHER_TYPE_TKIP, WIFI_CIPHER_TYPE_CCMP and WIFI_CIPHER_TYPE_TKIP_CCMP. */
} wifi_ap_config_t;
/** @brief STA configuration settings for the ESP32 */