diff --git a/EULA.txt b/LICENSE.txt similarity index 100% rename from EULA.txt rename to LICENSE.txt diff --git a/README.md b/README.md index f78c339..b627bb1 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ This library and its features are supported on the following Infineon platforms: - [PSoC™ 62S2 evaluation kit (CY8CEVAL-062S2-MUR-43439M2)]( https://www.infineon.com/cms/en/product/evaluation-boards/cy8ceval-062s2/ ) +- [XMC7200D-E272K8384 kit (KIT_XMC72_EVK_MUR_43439M2)](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc72_evk/) + **Note**: Virtual APIs are supported on all PSoC 62 devices, but they have only been tested on the CY8CEVAL-062S2-MUR-43439M2 kit. ## Dependent libraries diff --git a/RELEASE.md b/RELEASE.md index e45f43c..154e897 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -14,6 +14,14 @@ See the [README.md](./README.md) for a complete description of the Wi-Fi Connect ## Changelog +### v3.2.0 + +- Added support for KIT_XMC72_EVK_MUR_43439M2 kit + +### v3.1.2 + +- Minor bug fixes + ### v3.1.1 - Updated documentation diff --git a/docs/api_reference_manual/html/index.html b/docs/api_reference_manual/html/index.html index 7a74aeb..b7c2789 100644 --- a/docs/api_reference_manual/html/index.html +++ b/docs/api_reference_manual/html/index.html @@ -117,7 +117,8 @@

  • PSoC™ 62S2 evaluation kit (CY8CEVAL-062S2-LAI-4373M2)
  • CYW954907AEVAL1F Evaluation Kit(CYW954907AEVAL1F)
  • CYW943907AEVAL1F Evaluation Kit(CYW943907AEVAL1F)
  • -
  • PSoC™ 62S2 evaluation kit (CY8CEVAL-062S2-MUR-43439M2)
    Note
    Virtual APIs are supported on all PSoC 62 devices, but they have only been tested on the CY8CEVAL-062S2-MUR-43439M2 kit.
    +
  • PSoC™ 62S2 evaluation kit (CY8CEVAL-062S2-MUR-43439M2)
  • +
  • XMC7200D-E272K8384 kit (KIT_XMC72_EVK_MUR_43439M2)
    Note
    Virtual APIs are supported on all PSoC 62 devices, but they have only been tested on the CY8CEVAL-062S2-MUR-43439M2 kit.
  • diff --git a/source/COMPONENT_55500/cy_chip_constants.h b/source/COMPONENT_55500/cy_chip_constants.h new file mode 100644 index 0000000..98a16fc --- /dev/null +++ b/source/COMPONENT_55500/cy_chip_constants.h @@ -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) diff --git a/source/COMPONENT_55900/cy_chip_constants.h b/source/COMPONENT_55900/cy_chip_constants.h new file mode 100644 index 0000000..98a16fc --- /dev/null +++ b/source/COMPONENT_55900/cy_chip_constants.h @@ -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) diff --git a/source/cy_wcm.c b/source/cy_wcm.c index 58056d7..70a848d 100644 --- a/source/cy_wcm.c +++ b/source/cy_wcm.c @@ -494,7 +494,7 @@ printf("%s: IOVAR buffer short!\n", __FUNCTION__); \ #define XTLV_OPTION_ALIGN32 0x0001 /* 32bit alignment of type.len.data */ #define XTLV_OPTION_IDU8 0x0002 /* shorter id */ #define XTLV_OPTION_LENU8 0x0004 /* shorted length */ -#define ALIGN_SIZE(size, boundary) (((size) + (boundary) - 1) \ +#define WCM_ALIGN_SIZE(size, boundary) (((size) + (boundary) - 1) \ & ~((boundary) - 1)) #define OFFSETOF(type, member) ( (uintptr_t)&( (type *)0 )->member ) #define _LTOH16_UA(cp) ((cp)[0] | ((cp)[1] << 8)) @@ -2334,7 +2334,7 @@ static int xtlv_size_for_data(int dlen, xtlv_opts_t opts, const uint8_t **data) { int hsz; hsz = xtlv_hdr_size(opts, data); - return ((opts & XTLV_OPTION_ALIGN32) ? ALIGN_SIZE(dlen + hsz, 4) : (dlen + hsz)); + return ((opts & XTLV_OPTION_ALIGN32) ? WCM_ALIGN_SIZE(dlen + hsz, 4) : (dlen + hsz)); } static int xtlv_len(const xtlv_t *elt, xtlv_opts_t opts) @@ -3135,7 +3135,7 @@ static void process_scan_data(void *arg) { int16_t requested_range = scan_handler.scan_filter.param.rssi_range; int16_t signal_strength = whd_scan_res->signal_strength; - if(signal_strength < requested_range) + if(signal_strength <= requested_range) { goto exit; } diff --git a/version.xml b/version.xml index 59dd588..1818f01 100644 --- a/version.xml +++ b/version.xml @@ -1 +1 @@ -3.1.1.2005 +3.2.0.2058