|
@@ -2237,7 +2237,7 @@ static int hdd_change_sta_state_authenticated(hdd_adapter_t *adapter,
|
|
|
sme_ps_enable_auto_ps_timer(
|
|
|
WLAN_HDD_GET_HAL_CTX(adapter),
|
|
|
adapter->sessionId,
|
|
|
- timeout);
|
|
|
+ timeout, false);
|
|
|
}
|
|
|
|
|
|
return qdf_status_to_os_return(status);
|
|
@@ -2442,7 +2442,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
|
|
|
hdd_station_ctx_t *pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
|
|
|
QDF_STATUS qdf_status = QDF_STATUS_E_FAILURE;
|
|
|
uint8_t reqRsnIe[DOT11F_IE_RSN_MAX_LEN];
|
|
|
- uint32_t reqRsnLength = DOT11F_IE_RSN_MAX_LEN;
|
|
|
+ uint32_t reqRsnLength = DOT11F_IE_RSN_MAX_LEN, ie_len;
|
|
|
int ft_carrier_on = false;
|
|
|
bool hddDisconInProgress = false;
|
|
|
unsigned long rc;
|
|
@@ -2498,6 +2498,19 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
|
|
|
pAdapter->wapi_info.fIsWapiSta = 0;
|
|
|
}
|
|
|
#endif /* FEATURE_WLAN_WAPI */
|
|
|
+ hdd_debug("bss_descr[%d] devicemode[%d]", !!pRoamInfo->pBssDesc,
|
|
|
+ pAdapter->device_mode);
|
|
|
+ if ((QDF_STA_MODE == pAdapter->device_mode) &&
|
|
|
+ pRoamInfo->pBssDesc) {
|
|
|
+ ie_len = GET_IE_LEN_IN_BSS(pRoamInfo->pBssDesc->length);
|
|
|
+ pHddStaCtx->ap_supports_immediate_power_save =
|
|
|
+ wlan_hdd_is_ap_supports_immediate_power_save(
|
|
|
+ (uint8_t *) pRoamInfo->pBssDesc->ieFields,
|
|
|
+ ie_len);
|
|
|
+ hdd_debug("ap_supports_immediate_power_save flag [%d]",
|
|
|
+ pHddStaCtx->ap_supports_immediate_power_save);
|
|
|
+ }
|
|
|
+
|
|
|
/* Indicate 'connect' status to user space */
|
|
|
hdd_send_association_event(dev, pRoamInfo);
|
|
|
|