mirror of https://github.com/ARMmbed/mbed-os.git
Update WiFi Host Driver to 1.7.0
- Fixes issues with stopping AP in APSTA modepull/12030/head
parent
9248169f1f
commit
26cc865fed
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue