Skip to content

Commit 0e66678

Browse files
authored
Merge pull request #12030 from miteshdedhia7/pr/whd_update_1.70
Updates the Cypress WiFi Host Driver to 1.7.0
2 parents 2536e92 + 493d4af commit 0e66678

File tree

5 files changed

+16
-41
lines changed

5 files changed

+16
-41
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/COMPONENT_WHD/generated_mac_address.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
* MAC address is printed during WHD power up
77
*/
88

9-
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:d6:93:82"
9+
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=00:A0:50:2f:32:99"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#define WHD_VERSION "v1.60.0-rc1"
2-
#define WHD_BRANCH "v1.60.0-rc1"
3-
#define WHD_DATE "2019-11-13 21:27:38 -0600"
1+
#define WHD_VERSION "v1.70.0"
2+
#define WHD_BRANCH "v1.70.0"
3+
#define WHD_DATE "2019-12-02 04:14:53 -0600"

targets/TARGET_Cypress/TARGET_PSOC6/COMPONENT_WHD/src/include/whd_events_int.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ typedef enum
166166
WLC_E_PFN_SCAN_COMPLETE = 138, /* PFN completed scan of network list */
167167
WLC_E_RMC_EVENT = 139, /* RMC Event */
168168
WLC_E_DPSTA_INTF_IND = 140, /* DPSTA interface indication */
169-
WLC_E_RRM = 141, /* RRM Event */
170-
WLC_E_ULP = 146, /* ULP entry event */
171-
WLC_E_LAST = 147, /** highest val + 1 for range checking */
169+
WLC_E_RRM = 141, /* RRM Event */
170+
WLC_E_ULP = 146, /* ULP entry event */
171+
WLC_E_TKO = 151, /* TCP Keep Alive Offload Event */
172+
WLC_E_LAST = 152, /* highest val + 1 for range checking */
172173
} whd_event_num_t;
173174

174175
#define WLC_SUP_STATUS_OFFSET (256)

targets/TARGET_Cypress/TARGET_PSOC6/COMPONENT_WHD/src/whd_ap.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -746,12 +746,14 @@ uint32_t whd_wifi_stop_ap(whd_interface_t ifp)
746746
return result2;
747747
}
748748

749-
/* Disable AP mode */
750-
data = (uint32_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, (uint16_t)4);
751-
CHECK_IOCTL_BUFFER_WITH_SEMAPHORE(data, &ap->whd_wifi_sleep_flag);
752-
*data = 0; /* Turn off AP */
753-
CHECK_RETURN_WITH_SEMAPHORE(whd_cdc_send_ioctl(ifp, CDC_SET, WLC_SET_AP, buffer, 0),
754-
&ap->whd_wifi_sleep_flag);
749+
/* Disable AP mode only if AP is on primary interface */
750+
if (prim_ifp == ifp)
751+
{
752+
data = (uint32_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, (uint16_t)4);
753+
CHECK_IOCTL_BUFFER(data);
754+
*data = 0;
755+
CHECK_RETURN(whd_cdc_send_ioctl(ifp, CDC_SET, WLC_SET_AP, buffer, 0) );
756+
}
755757

756758
CHECK_RETURN(whd_wifi_deregister_event_handler(ifp, ifp->event_reg_list[WHD_AP_EVENT_ENTRY]) );
757759
ifp->event_reg_list[WHD_AP_EVENT_ENTRY] = WHD_EVENT_NOT_REGISTERED;

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_WHD/resources/firmware/TARGET_43438/resources.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)