-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix/modify_wifi_country_struct' into 'master'
esp32: make wifi_country_t in idf consistent with VNC See merge request espressif/esp-idf!5463
- Loading branch information
Showing
10 changed files
with
185 additions
and
54 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
components/esp_wifi/include/esp_private/esp_wifi_private.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef _ESP_WIFI_PRIVATE_H | ||
#define _ESP_WIFI_PRIVATE_H | ||
|
||
#include "freertos/FreeRTOS.h" | ||
#include "freertos/queue.h" | ||
#include "sys/queue.h" | ||
#include "sdkconfig.h" | ||
#include "esp_wifi_crypto_types.h" | ||
#include "esp_private/wifi_os_adapter.h" | ||
|
||
|
||
#endif /* _ESP_WIFI_PRIVATE_H */ |
25 changes: 25 additions & 0 deletions
25
components/esp_wifi/include/esp_private/esp_wifi_types_private.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
|
||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef _ESP_WIFI_TYPES_PRIVATE_H | ||
#define _ESP_WIFI_TYPES_PRIVATE_H | ||
|
||
#include <stdint.h> | ||
#include <stdbool.h> | ||
#include "sys/queue.h" | ||
#include "esp_err.h" | ||
#include "esp_interface.h" | ||
#include "esp_event_base.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
|
||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef _WIFI_TYPES_H | ||
#define _WIFI_TYPES_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/** | ||
* @brief WiFi ioctl command type | ||
* | ||
*/ | ||
typedef enum { | ||
WIFI_IOCTL_SET_STA_HT2040_COEX = 1, /**< Set the configuration of STA's HT2040 coexist management */ | ||
WIFI_IOCTL_GET_STA_HT2040_COEX, /**< Get the configuration of STA's HT2040 coexist management */ | ||
WIFI_IOCTL_MAX, | ||
} wifi_ioctl_cmd_t; | ||
|
||
/** | ||
* @brief Configuration for STA's HT2040 coexist management | ||
* | ||
*/ | ||
typedef struct { | ||
int enable; /**< Indicate whether STA's HT2040 coexist management is enabled or not */ | ||
} wifi_ht2040_coex_t; | ||
|
||
/** | ||
* @brief Configuration for WiFi ioctl | ||
* | ||
*/ | ||
typedef struct { | ||
union { | ||
wifi_ht2040_coex_t ht2040_coex; /**< Configuration of STA's HT2040 coexist management */ | ||
} data; /**< Configuration of ioctl command */ | ||
} wifi_ioctl_config_t; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule lib_esp32
updated
7 files
+ − | libcoexist.a | |
+ − | libcore.a | |
+ − | libespnow.a | |
+ − | libmesh.a | |
+ − | libnet80211.a | |
+ − | libpp.a | |
+ − | libsmartconfig.a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters