Searched refs:s32Error (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/staging/wilc1000/
H A Dwilc_wfi_cfgoperations.c487 s32 s32Error = 0; WILC_WFI_Set_PMKSA() local
497 s32Error = host_int_set_pmkid_info(priv->hWILCWFIDrv, &priv->pmkid_list); WILC_WFI_Set_PMKSA()
499 if (s32Error != 0) WILC_WFI_Set_PMKSA()
506 return s32Error; WILC_WFI_Set_PMKSA()
698 s32 s32Error = 0; scan() local
745 s32Error = host_int_scan(priv->hWILCWFIDrv, USER_SCAN, ACTIVE_SCAN, scan()
751 s32Error = host_int_scan(priv->hWILCWFIDrv, USER_SCAN, ACTIVE_SCAN, scan()
762 if (s32Error != 0) { scan()
763 s32Error = -EBUSY; scan()
764 PRINT_WRN(CFG80211_DBG, "Device is busy: Error(%d)\n", s32Error); scan()
767 return s32Error; scan()
785 s32 s32Error = 0; connect() local
846 s32Error = -ENOENT; connect()
850 PRINT_D(CFG80211_DBG, "Required bss not in scan results: Error(%d)\n", s32Error); connect()
940 s32Error = -ENOTSUPP; connect()
941 PRINT_ER("Not supported cipher: Error(%d)\n", s32Error); connect()
1006 s32Error = host_int_set_join_req(priv->hWILCWFIDrv, pstrNetworkInfo->au8bssid, sme->ssid, connect()
1011 if (s32Error != 0) { connect()
1012 PRINT_ER("host_int_set_join_req(): Error(%d)\n", s32Error); connect()
1013 s32Error = -ENOENT; connect()
1019 return s32Error; connect()
1034 s32 s32Error = 0; disconnect() local
1055 s32Error = host_int_disconnect(priv->hWILCWFIDrv, reason_code); disconnect()
1056 if (s32Error != 0) { disconnect()
1057 PRINT_ER("Error in disconnecting: Error(%d)\n", s32Error); disconnect()
1058 s32Error = -EINVAL; disconnect()
1061 return s32Error; disconnect()
1079 s32 s32Error = 0, KeyLen = params->key_len; add_key() local
1338 PRINT_ER("Not supported cipher: Error(%d)\n", s32Error); add_key()
1339 s32Error = -ENOTSUPP; add_key()
1343 return s32Error; add_key()
1627 s32 s32Error = 0; set_wiphy_params() local
1665 s32Error = hif_set_cfg(priv->hWILCWFIDrv, &pstrCfgParamVal); set_wiphy_params()
1666 if (s32Error) set_wiphy_params()
1670 return s32Error; set_wiphy_params()
1688 s32 s32Error = 0; set_pmksa() local
1715 s32Error = -EINVAL; set_pmksa()
1718 if (!s32Error) { set_pmksa()
1720 s32Error = host_int_set_pmkid_info(priv->hWILCWFIDrv, &priv->pmkid_list); set_pmksa()
1722 return s32Error; set_pmksa()
1739 s32 s32Error = 0; del_pmksa() local
1766 s32Error = -EINVAL; del_pmksa()
1769 return s32Error; del_pmksa()
2122 s32 s32Error = 0; remain_on_channel() local
2132 return s32Error; remain_on_channel()
2143 s32Error = host_int_remain_on_channel(priv->hWILCWFIDrv remain_on_channel()
2151 return s32Error; remain_on_channel()
2171 s32 s32Error = 0; cancel_remain_on_channel() local
2178 s32Error = host_int_ListenStateExpired(priv->hWILCWFIDrv, priv->strRemainOnChanParams.u32ListenSessionID); cancel_remain_on_channel()
2179 return s32Error; cancel_remain_on_channel()
2882 s32 s32Error = 0; start_ap() local
2894 s32Error = set_channel(wiphy, &settings->chandef); start_ap()
2896 if (s32Error != 0) start_ap()
2901 s32Error = host_int_add_beacon(priv->hWILCWFIDrv, start_ap()
2907 return s32Error; start_ap()
2926 s32 s32Error = 0; change_beacon() local
2932 s32Error = host_int_add_beacon(priv->hWILCWFIDrv, change_beacon()
2938 return s32Error; change_beacon()
2952 s32 s32Error = 0; stop_ap() local
2965 s32Error = host_int_del_beacon(priv->hWILCWFIDrv); stop_ap()
2967 if (s32Error) stop_ap()
2970 return s32Error; stop_ap()
2985 s32 s32Error = 0; add_station() local
3034 s32Error = host_int_add_station(priv->hWILCWFIDrv, &strStaParams); add_station()
3035 if (s32Error) add_station()
3039 return s32Error; add_station()
3055 s32 s32Error = 0; del_station() local
3071 s32Error = host_int_del_allstation(priv->hWILCWFIDrv, priv->assoc_stainfo.au8Sta_AssociatedBss); del_station()
3076 s32Error = host_int_del_station(priv->hWILCWFIDrv, mac); del_station()
3078 if (s32Error) del_station()
3081 return s32Error; del_station()
3096 s32 s32Error = 0; change_station() local
3146 s32Error = host_int_edit_station(priv->hWILCWFIDrv, &strStaParams); change_station()
3147 if (s32Error) change_station()
3150 return s32Error; change_station()
3357 s32 s32Error = 0; wilc_create_wiphy() local
3410 s32Error = wiphy_register(wdev->wiphy); wilc_create_wiphy()
3411 if (s32Error) { wilc_create_wiphy()
3435 int s32Error = 0; wilc_init_host_int() local
3446 if (s32Error < 0) { wilc_init_host_int()
3448 return s32Error; wilc_init_host_int()
3456 s32Error = host_int_init(net, &priv->hWILCWFIDrv); wilc_init_host_int()
3457 if (s32Error) wilc_init_host_int()
3460 return s32Error; wilc_init_host_int()
3474 int s32Error = 0; wilc_deinit_host_int() local
3486 s32Error = host_int_deinit(priv->hWILCWFIDrv); wilc_deinit_host_int()
3495 if (s32Error) wilc_deinit_host_int()
3498 return s32Error; wilc_deinit_host_int()
H A Dcoreconfigurator.c471 s32 s32Error = 0; DeallocateNetworkInfo() local
478 s32Error = -EFAULT; DeallocateNetworkInfo()
485 s32Error = -EFAULT; DeallocateNetworkInfo()
488 return s32Error; DeallocateNetworkInfo()
505 s32 s32Error = 0; ParseAssocRespInfo() local
541 return s32Error; ParseAssocRespInfo()
556 s32 s32Error = 0; DeallocateAssocRespInfo() local
563 s32Error = -EFAULT; DeallocateAssocRespInfo()
570 s32Error = -EFAULT; DeallocateAssocRespInfo()
573 return s32Error; DeallocateAssocRespInfo()
H A Dlinux_wlan.c1499 s32 s32Error = 0; mac_ioctl() local
1526 s32Error = host_int_get_rssi(priv->hWILCWFIDrv, &(rssi)); mac_ioctl()
1527 if (s32Error) mac_ioctl()
1538 s32Error = -EFAULT; mac_ioctl()
1549 s32Error = -EOPNOTSUPP; mac_ioctl()
1558 return s32Error; mac_ioctl()

Completed in 215 milliseconds