sema_init(&hWaitResponse, 0);
-
-
/*Allocate host interface private structure*/
pstrWFIDrv = kzalloc(sizeof(tstrWILC_WFIDrv), GFP_KERNEL);
if (!pstrWFIDrv) {
sema_init(&(pstrWFIDrv->hSemGetCHNL), 0);
sema_init(&(pstrWFIDrv->hSemInactiveTime), 0);
-
-
-
PRINT_D(HOSTINF_DBG, "INIT: CLIENT COUNT %d\n", clients_count);
if (clients_count == 0) {
mod_timer(&g_hPeriodicRSSI, jiffies + msecs_to_jiffies(5000));
}
-
setup_timer(&pstrWFIDrv->hScanTimer, TimerCB_Scan, 0);
setup_timer(&pstrWFIDrv->hConnectTimer, TimerCB_Connect, 0);
pstrWFIDrv->strCfgValues.active_scan_time, pstrWFIDrv->strCfgValues.passive_scan_time,
pstrWFIDrv->strCfgValues.curr_tx_rate);
-
up(&(pstrWFIDrv->gtOsCfgValuesSem));
clients_count++; /* increase number of created entities */
_fail_:
return s32Error;
-
}
/**
* @brief host_int_deinit