Merge pull request #12030 from miteshdedhia7/pr/whd_update_1.70

Updates the Cypress WiFi Host Driver to 1.7.0
pull/12052/head
Martin Kojtal 2019-12-06 13:44:42 +01:00 committed by GitHub
commit 0e66678bf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 41 deletions

View File

@ -6,4 +6,4 @@
* MAC address is printed during WHD power up * MAC address is printed during WHD power up
*/ */
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:d6:93:82" #define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:2f:32:99"

View File

@ -1,3 +1,3 @@
#define WHD_VERSION "v1.60.0-rc1" #define WHD_VERSION "v1.70.0"
#define WHD_BRANCH "v1.60.0-rc1" #define WHD_BRANCH "v1.70.0"
#define WHD_DATE "2019-11-13 21:27:38 -0600" #define WHD_DATE "2019-12-02 04:14:53 -0600"

View File

@ -166,9 +166,10 @@ typedef enum
WLC_E_PFN_SCAN_COMPLETE = 138, /* PFN completed scan of network list */ WLC_E_PFN_SCAN_COMPLETE = 138, /* PFN completed scan of network list */
WLC_E_RMC_EVENT = 139, /* RMC Event */ WLC_E_RMC_EVENT = 139, /* RMC Event */
WLC_E_DPSTA_INTF_IND = 140, /* DPSTA interface indication */ WLC_E_DPSTA_INTF_IND = 140, /* DPSTA interface indication */
WLC_E_RRM = 141, /* RRM Event */ WLC_E_RRM = 141, /* RRM Event */
WLC_E_ULP = 146, /* ULP entry event */ WLC_E_ULP = 146, /* ULP entry event */
WLC_E_LAST = 147, /** highest val + 1 for range checking */ WLC_E_TKO = 151, /* TCP Keep Alive Offload Event */
WLC_E_LAST = 152, /* highest val + 1 for range checking */
} whd_event_num_t; } whd_event_num_t;
#define WLC_SUP_STATUS_OFFSET (256) #define WLC_SUP_STATUS_OFFSET (256)

View File

@ -746,12 +746,14 @@ uint32_t whd_wifi_stop_ap(whd_interface_t ifp)
return result2; return result2;
} }
/* Disable AP mode */ /* Disable AP mode only if AP is on primary interface */
data = (uint32_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, (uint16_t)4); if (prim_ifp == ifp)
CHECK_IOCTL_BUFFER_WITH_SEMAPHORE(data, &ap->whd_wifi_sleep_flag); {
*data = 0; /* Turn off AP */ data = (uint32_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, (uint16_t)4);
CHECK_RETURN_WITH_SEMAPHORE(whd_cdc_send_ioctl(ifp, CDC_SET, WLC_SET_AP, buffer, 0), CHECK_IOCTL_BUFFER(data);
&ap->whd_wifi_sleep_flag); *data = 0;
CHECK_RETURN(whd_cdc_send_ioctl(ifp, CDC_SET, WLC_SET_AP, buffer, 0) );
}
CHECK_RETURN(whd_wifi_deregister_event_handler(ifp, ifp->event_reg_list[WHD_AP_EVENT_ENTRY]) ); CHECK_RETURN(whd_wifi_deregister_event_handler(ifp, ifp->event_reg_list[WHD_AP_EVENT_ENTRY]) );
ifp->event_reg_list[WHD_AP_EVENT_ENTRY] = WHD_EVENT_NOT_REGISTERED; ifp->event_reg_list[WHD_AP_EVENT_ENTRY] = WHD_EVENT_NOT_REGISTERED;

View File

@ -1,28 +0,0 @@
/*
* Copyright (c) 2019, Cypress Semiconductor Corporation, All Rights Reserved
* SPDX-License-Identifier: LicenseRef-PBL
*
* This file and the related binary are licensed under the
* Permissive Binary License, Version 1.0 (the "License");
* you may not use these files except in compliance with the License.
*
* You may obtain a copy of the License here:
* LICENSE-permissive-binary-license-1.0.txt and at
* https://www.mbed.com/licenses/PBL-1.0
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* Automatically generated file - this comment ensures resources.h file creation */
/* Auto-generated header file. Do not edit */
#ifndef INCLUDED_RESOURCES_H_
#define INCLUDED_RESOURCES_H_
#include "wiced_resource.h"
extern const resource_hnd_t wifi_firmware_image;
extern const resource_hnd_t wifi_firmware_clm_blob;
extern const unsigned char wifi_firmware_image_data[420690];
extern const unsigned char wifi_firmware_clm_blob_image_data[7222];
#endif /* ifndef INCLUDED_RESOURCES_H_ */