-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload wifi-connection-manager 3.3.0.2136 [2049]
- Loading branch information
gitlab-runner
committed
Dec 15, 2023
1 parent
2567493
commit 8602aab
Showing
12 changed files
with
296 additions
and
95 deletions.
There are no files selected for viewing
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
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,43 @@ | ||
/* | ||
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or | ||
* an affiliate of Cypress Semiconductor Corporation. All rights reserved. | ||
* | ||
* This software, including source code, documentation and related | ||
* materials ("Software") is owned by Cypress Semiconductor Corporation | ||
* or one of its affiliates ("Cypress") and is protected by and subject to | ||
* worldwide patent protection (United States and foreign), | ||
* United States copyright laws and international treaty provisions. | ||
* Therefore, you may use this Software only as provided in the license | ||
* agreement accompanying the software package from which you | ||
* obtained this Software ("EULA"). | ||
* If no EULA applies, Cypress hereby grants you a personal, non-exclusive, | ||
* non-transferable license to copy, modify, and compile the Software | ||
* source code solely for use in connection with Cypress's | ||
* integrated circuit products. Any reproduction, modification, translation, | ||
* compilation, or representation of this Software except as specified | ||
* above is prohibited without the express written permission of Cypress. | ||
* | ||
* Disclaimer: THIS SOFTWARE IS PROVIDED AS-IS, WITH NO WARRANTY OF ANY KIND, | ||
* EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, NONINFRINGEMENT, IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress | ||
* reserves the right to make changes to the Software without notice. Cypress | ||
* does not assume any liability arising out of the application or use of the | ||
* Software or any product or circuit described in the Software. Cypress does | ||
* not authorize its products for use in any products where a malfunction or | ||
* failure of the Cypress product may reasonably be expected to result in | ||
* significant property damage, injury or death ("High Risk Product"). By | ||
* including Cypress's product in a High Risk Product, the manufacturer | ||
* of such system or application assumes all risk of such use and in doing | ||
* so agrees to indemnify Cypress against all liability. | ||
*/ | ||
|
||
/** | ||
* @file cy_chip_constant.h | ||
* @brief Chip-specific constants | ||
*/ | ||
|
||
#define WL_CHANSPEC_BAND_MASK (0xc000) | ||
#define WL_CHANSPEC_BW_MASK (0x3800) | ||
#define WL_CHANSPEC_BW_10 (0x0800) | ||
#define WL_CHANSPEC_BW_20 (0x1000) | ||
#define WL_CHANSPEC_BW_40 (0x1800) |
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
162 changes: 79 additions & 83 deletions
162
source/COMPONENT_WPS/cy_eapol.c → ...OMPONENT_MBEDTLS/cy_wps_mbedtls_version.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 |
---|---|---|
@@ -1,83 +1,79 @@ | ||
/* | ||
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or | ||
* an affiliate of Cypress Semiconductor Corporation. All rights reserved. | ||
* | ||
* This software, including source code, documentation and related | ||
* materials ("Software") is owned by Cypress Semiconductor Corporation | ||
* or one of its affiliates ("Cypress") and is protected by and subject to | ||
* worldwide patent protection (United States and foreign), | ||
* United States copyright laws and international treaty provisions. | ||
* Therefore, you may use this Software only as provided in the license | ||
* agreement accompanying the software package from which you | ||
* obtained this Software ("EULA"). | ||
* If no EULA applies, Cypress hereby grants you a personal, non-exclusive, | ||
* non-transferable license to copy, modify, and compile the Software | ||
* source code solely for use in connection with Cypress's | ||
* integrated circuit products. Any reproduction, modification, translation, | ||
* compilation, or representation of this Software except as specified | ||
* above is prohibited without the express written permission of Cypress. | ||
* | ||
* Disclaimer: THIS SOFTWARE IS PROVIDED AS-IS, WITH NO WARRANTY OF ANY KIND, | ||
* EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, NONINFRINGEMENT, IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress | ||
* reserves the right to make changes to the Software without notice. Cypress | ||
* does not assume any liability arising out of the application or use of the | ||
* Software or any product or circuit described in the Software. Cypress does | ||
* not authorize its products for use in any products where a malfunction or | ||
* failure of the Cypress product may reasonably be expected to result in | ||
* significant property damage, injury or death ("High Risk Product"). By | ||
* including Cypress's product in a High Risk Product, the manufacturer | ||
* of such system or application assumes all risk of such use and in doing | ||
* so agrees to indemnify Cypress against all liability. | ||
*/ | ||
|
||
/** | ||
* @file cy_eapol.c | ||
* @brief EAPOL handling for receiving EAPOL data from WHD | ||
*/ | ||
|
||
#include "cy_eapol.h" | ||
|
||
#include "whd_buffer_api.h" | ||
#include <stdio.h> | ||
|
||
/****************************************************** | ||
* Macros | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Constants | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Enumerations | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Type Definitions | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Structures | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Function Declarations | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Variables Definitions | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Function Definitions | ||
******************************************************/ | ||
uint8_t* cy_eapol_get_eapol_data( whd_buffer_t packet, whd_interface_t interface ) | ||
{ | ||
return whd_buffer_get_current_piece_data_pointer(interface->whd_driver, packet); | ||
} | ||
|
||
uint16_t cy_get_eapol_packet_size( whd_buffer_t packet, whd_interface_t interface ) | ||
{ | ||
return whd_buffer_get_current_piece_size(interface->whd_driver, packet); | ||
} | ||
/* | ||
* Copyright 2023, Cypress Semiconductor Corporation (an Infineon company) or | ||
* an affiliate of Cypress Semiconductor Corporation. All rights reserved. | ||
* | ||
* This software, including source code, documentation and related | ||
* materials ("Software") is owned by Cypress Semiconductor Corporation | ||
* or one of its affiliates ("Cypress") and is protected by and subject to | ||
* worldwide patent protection (United States and foreign), | ||
* United States copyright laws and international treaty provisions. | ||
* Therefore, you may use this Software only as provided in the license | ||
* agreement accompanying the software package from which you | ||
* obtained this Software ("EULA"). | ||
* If no EULA applies, Cypress hereby grants you a personal, non-exclusive, | ||
* non-transferable license to copy, modify, and compile the Software | ||
* source code solely for use in connection with Cypress's | ||
* integrated circuit products. Any reproduction, modification, translation, | ||
* compilation, or representation of this Software except as specified | ||
* above is prohibited without the express written permission of Cypress. | ||
* | ||
* Disclaimer: THIS SOFTWARE IS PROVIDED AS-IS, WITH NO WARRANTY OF ANY KIND, | ||
* EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, NONINFRINGEMENT, IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress | ||
* reserves the right to make changes to the Software without notice. Cypress | ||
* does not assume any liability arising out of the application or use of the | ||
* Software or any product or circuit described in the Software. Cypress does | ||
* not authorize its products for use in any products where a malfunction or | ||
* failure of the Cypress product may reasonably be expected to result in | ||
* significant property damage, injury or death ("High Risk Product"). By | ||
* including Cypress's product in a High Risk Product, the manufacturer | ||
* of such system or application assumes all risk of such use and in doing | ||
* so agrees to indemnify Cypress against all liability. | ||
*/ | ||
|
||
/** @file cy_wps_mbedtls_version.h | ||
* @brief MBEDTLS major version for WPS | ||
*/ | ||
|
||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "mbedtls/version.h" | ||
|
||
#define MBEDTLS_MAJOR_VERSION_3 (3) | ||
#define MBEDTLS_MAJOR_VERSION_2 (2) | ||
|
||
/****************************************************** | ||
* Macros | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Constants | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Enumerations | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Type Definitions | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Structures | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Global Variables | ||
******************************************************/ | ||
|
||
/****************************************************** | ||
* Function Declarations | ||
******************************************************/ | ||
|
||
#ifdef __cplusplus | ||
} /*extern "C" */ | ||
#endif |
Oops, something went wrong.