Searched refs:host_if_drv (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/staging/wilc1000/
H A Dhost_interface.h294 struct host_if_drv { struct
357 s32 host_int_remove_key(struct host_if_drv *hWFIDrv, const u8 *pu8StaAddress);
372 int host_int_remove_wep_key(struct host_if_drv *wfi_drv, u8 index);
385 int host_int_set_wep_default_key(struct host_if_drv *hif_drv, u8 index);
406 int host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv,
422 int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
442 s32 host_int_add_ptk(struct host_if_drv *hWFIDrv, const u8 *pu8Ptk, u8 u8PtkKeylen,
457 s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac, u32 *pu32InactiveTime);
475 s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk, u8 u8GtkKeylen,
496 s32 host_int_add_tx_gtk(struct host_if_drv *hWFIDrv, u8 u8KeyLen, u8 *pu8TxGtk, u8 u8KeyIdx);
519 s32 host_int_set_pmkid_info(struct host_if_drv *hWFIDrv, struct host_if_pmkid_attr *pu8PmkidInfoArray);
543 s32 host_int_get_pmkid_info(struct host_if_drv *hWFIDrv, u8 *pu8PmkidInfoArray,
560 s32 host_int_set_RSNAConfigPSKPassPhrase(struct host_if_drv *hWFIDrv, u8 *pu8PassPhrase,
576 s32 host_int_get_RSNAConfigPSKPassPhrase(struct host_if_drv *hWFIDrv,
590 s32 host_int_get_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress);
603 s32 host_int_set_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress);
634 s32 host_int_set_start_scan_req(struct host_if_drv *hWFIDrv, u8 scanSource);
650 s32 host_int_get_start_scan_req(struct host_if_drv *hWFIDrv, u8 *pu8ScanSource);
664 s32 host_int_set_join_req(struct host_if_drv *hWFIDrv, u8 *pu8bssid,
684 s32 host_int_flush_join_req(struct host_if_drv *hWFIDrv);
698 s32 host_int_disconnect(struct host_if_drv *hWFIDrv, u16 u16ReasonCode);
711 s32 host_int_disconnect_station(struct host_if_drv *hWFIDrv, u8 assoc_id);
738 s32 host_int_get_assoc_req_info(struct host_if_drv *hWFIDrv, u8 *pu8AssocReqInfo,
752 s32 host_int_get_assoc_res_info(struct host_if_drv *hWFIDrv, u8 *pu8AssocRespInfo,
769 s32 host_int_get_rx_power_level(struct host_if_drv *hWFIDrv, u8 *pu8RxPowerLevel,
787 int host_int_set_mac_chnl_num(struct host_if_drv *wfi_drv, u8 channel);
804 s32 host_int_get_host_chnl_num(struct host_if_drv *hWFIDrv, u8 *pu8ChNo);
818 s32 host_int_get_rssi(struct host_if_drv *hWFIDrv, s8 *ps8Rssi);
819 s32 host_int_get_link_speed(struct host_if_drv *hWFIDrv, s8 *ps8lnkspd);
837 s32 host_int_scan(struct host_if_drv *hWFIDrv, u8 u8ScanSource,
854 s32 hif_set_cfg(struct host_if_drv *hWFIDrv, struct cfg_param_val *pstrCfgParamVal);
868 s32 hif_get_cfg(struct host_if_drv *hWFIDrv, u16 u16WID, u16 *pu16WID_Value);
881 s32 host_int_init(struct net_device *dev, struct host_if_drv **phWFIDrv);
892 s32 host_int_deinit(struct host_if_drv *hWFIDrv);
917 s32 host_int_add_beacon(struct host_if_drv *hWFIDrv, u32 u32Interval,
935 s32 host_int_del_beacon(struct host_if_drv *hWFIDrv);
951 s32 host_int_add_station(struct host_if_drv *hWFIDrv,
967 s32 host_int_del_allstation(struct host_if_drv *hWFIDrv, u8 pu8MacAddr[][ETH_ALEN]);
982 s32 host_int_del_station(struct host_if_drv *hWFIDrv, const u8 *pu8MacAddr);
998 s32 host_int_edit_station(struct host_if_drv *hWFIDrv,
1016 s32 host_int_set_power_mgmt(struct host_if_drv *hWFIDrv, bool bIsEnabled, u32 u32Timeout);
1028 s32 host_int_setup_multicast_filter(struct host_if_drv *hWFIDrv, bool bIsEnabled, u32 u32count);
1038 s32 host_int_setup_ipaddress(struct host_if_drv *hWFIDrv, u8 *pu8IPAddr, u8 idx);
1050 s32 host_int_delBASession(struct host_if_drv *hWFIDrv, char *pBSSID, char TID);
1061 s32 host_int_del_All_Rx_BASession(struct host_if_drv *hWFIDrv, char *pBSSID, char TID);
1073 s32 host_int_get_ipaddress(struct host_if_drv *hWFIDrv, u8 *pu8IPAddr, u8 idx);
1084 s32 host_int_remain_on_channel(struct host_if_drv *hWFIDrv, u32 u32SessionID, u32 u32duration, u16 chan, wilc_remain_on_chan_expired RemainOnChanExpired, wilc_remain_on_chan_ready RemainOnChanReady, void *pvUserArg);
1100 s32 host_int_ListenStateExpired(struct host_if_drv *hWFIDrv, u32 u32SessionID);
1111 s32 host_int_frame_register(struct host_if_drv *hWFIDrv, u16 u16FrameType, bool bReg);
1121 int host_int_set_wfi_drv_handler(struct host_if_drv *address);
1122 int host_int_set_operation_mode(struct host_if_drv *wfi_drv, u32 mode);
1124 static s32 Handle_ScanDone(struct host_if_drv *drvHandler, enum scan_event enuEvent);
1128 s32 host_int_get_statistics(struct host_if_drv *hWFIDrv, struct rf_info *pstrStatistics);
H A Dhost_interface.c202 struct host_if_drv *drv;
234 static struct host_if_drv *wfidrv_list[NUM_CONCURRENT_IFC + 1];
235 struct host_if_drv *terminated_handle;
267 static struct host_if_drv *join_req_drv;
277 static int add_handler_in_list(struct host_if_drv *handler) add_handler_in_list()
291 static int remove_handler_in_list(struct host_if_drv *handler) remove_handler_in_list()
305 static int get_id_from_handler(struct host_if_drv *handler) get_id_from_handler()
320 static struct host_if_drv *get_handler_from_id(int id) get_handler_from_id()
327 static s32 Handle_SetChannel(struct host_if_drv *hif_drv, Handle_SetChannel()
351 static s32 Handle_SetWfiDrvHandler(struct host_if_drv *hif_drv, Handle_SetWfiDrvHandler()
376 static s32 Handle_SetOperationMode(struct host_if_drv *hif_drv, Handle_SetOperationMode()
401 s32 Handle_set_IPAddress(struct host_if_drv *hif_drv, u8 *pu8IPAddr, u8 idx) Handle_set_IPAddress()
434 s32 Handle_get_IPAddress(struct host_if_drv *hif_drv, u8 *pu8IPAddr, u8 idx) Handle_get_IPAddress()
468 static s32 Handle_SetMacAddress(struct host_if_drv *hif_drv, Handle_SetMacAddress()
498 static s32 Handle_GetMacAddress(struct host_if_drv *hif_drv, Handle_GetMacAddress()
521 static s32 Handle_CfgParam(struct host_if_drv *hif_drv, Handle_CfgParam()
811 static s32 Handle_Scan(struct host_if_drv *hif_drv, Handle_Scan()
939 static s32 Handle_ScanDone(struct host_if_drv *hif_drv, Handle_ScanDone()
980 static s32 Handle_Connect(struct host_if_drv *hif_drv, Handle_Connect()
1270 static s32 Handle_FlushConnect(struct host_if_drv *hif_drv) Handle_FlushConnect()
1316 static s32 Handle_ConnectTimeout(struct host_if_drv *hif_drv) Handle_ConnectTimeout()
1393 static s32 Handle_RcvdNtwrkInfo(struct host_if_drv *hif_drv, Handle_RcvdNtwrkInfo()
1474 static s32 Handle_RcvdGnrlAsyncInfo(struct host_if_drv *hif_drv, Handle_RcvdGnrlAsyncInfo()
1696 static int Handle_Key(struct host_if_drv *hif_drv, Handle_Key()
1966 static void Handle_Disconnect(struct host_if_drv *hif_drv) Handle_Disconnect()
2045 void resolve_disconnect_aberration(struct host_if_drv *hif_drv) resolve_disconnect_aberration()
2055 static s32 Handle_GetChnl(struct host_if_drv *hif_drv) Handle_GetChnl()
2080 static void Handle_GetRssi(struct host_if_drv *hif_drv) Handle_GetRssi()
2102 static void Handle_GetLinkspeed(struct host_if_drv *hif_drv) Handle_GetLinkspeed()
2126 s32 Handle_GetStatistics(struct host_if_drv *hif_drv, struct rf_info *pstrStatistics) Handle_GetStatistics()
2171 static s32 Handle_Get_InActiveTime(struct host_if_drv *hif_drv, Handle_Get_InActiveTime()
2216 static void Handle_AddBeacon(struct host_if_drv *hif_drv, Handle_AddBeacon()
2271 static void Handle_DelBeacon(struct host_if_drv *hif_drv) Handle_DelBeacon()
2341 static void Handle_AddStation(struct host_if_drv *hif_drv, Handle_AddStation()
2370 static void Handle_DelAllSta(struct host_if_drv *hif_drv, Handle_DelAllSta()
2413 static void Handle_DelStation(struct host_if_drv *hif_drv, Handle_DelStation()
2443 static void Handle_EditStation(struct host_if_drv *hif_drv, Handle_EditStation()
2472 static int Handle_RemainOnChan(struct host_if_drv *hif_drv, Handle_RemainOnChan()
2545 static int Handle_RegisterFrame(struct host_if_drv *hif_drv, Handle_RegisterFrame()
2579 static u32 Handle_ListenStateExpired(struct host_if_drv *hif_drv, Handle_ListenStateExpired()
2626 struct host_if_drv *hif_drv = (struct host_if_drv *)arg; ListenTimerCB()
2640 static void Handle_PowerManagement(struct host_if_drv *hif_drv, Handle_PowerManagement()
2665 static void Handle_SetMulticastFilter(struct host_if_drv *hif_drv, Handle_SetMulticastFilter()
2704 static s32 Handle_AddBASession(struct host_if_drv *hif_drv, Handle_AddBASession()
2768 static s32 Handle_DelAllRxBASessions(struct host_if_drv *hif_drv, Handle_DelAllRxBASessions()
2811 struct host_if_drv *hif_drv; hostIFthread()
2817 hif_drv = (struct host_if_drv *)msg.drv; hostIFthread()
3042 s32 host_int_remove_key(struct host_if_drv *hif_drv, const u8 *pu8StaAddress) host_int_remove_key()
3054 int host_int_remove_wep_key(struct host_if_drv *hif_drv, u8 index) host_int_remove_wep_key()
3081 int host_int_set_wep_default_key(struct host_if_drv *hif_drv, u8 index) host_int_set_wep_default_key()
3108 int host_int_add_wep_key_bss_sta(struct host_if_drv *hif_drv, host_int_add_wep_key_bss_sta()
3142 int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, host_int_add_wep_key_bss_ap()
3186 s32 host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *pu8Ptk, host_int_add_ptk()
3251 s32 host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *pu8RxGtk, host_int_add_rx_gtk()
3313 s32 host_int_set_pmkid_info(struct host_if_drv *hif_drv, struct host_if_pmkid_attr *pu8PmkidInfoArray) host_int_set_pmkid_info()
3345 s32 host_int_get_pmkid_info(struct host_if_drv *hif_drv, host_int_get_pmkid_info()
3359 s32 host_int_set_RSNAConfigPSKPassPhrase(struct host_if_drv *hif_drv, host_int_set_RSNAConfigPSKPassPhrase()
3375 s32 host_int_get_MacAddress(struct host_if_drv *hif_drv, u8 *pu8MacAddress) host_int_get_MacAddress()
3396 s32 host_int_set_MacAddress(struct host_if_drv *hif_drv, u8 *pu8MacAddress) host_int_set_MacAddress()
3415 s32 host_int_get_RSNAConfigPSKPassPhrase(struct host_if_drv *hif_drv, host_int_get_RSNAConfigPSKPassPhrase()
3428 s32 host_int_set_start_scan_req(struct host_if_drv *hif_drv, u8 scanSource) host_int_set_start_scan_req()
3440 s32 host_int_get_start_scan_req(struct host_if_drv *hif_drv, u8 *pu8ScanSource) host_int_get_start_scan_req()
3452 s32 host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid, host_int_set_join_req()
3518 s32 host_int_flush_join_req(struct host_if_drv *hif_drv) host_int_flush_join_req()
3543 s32 host_int_disconnect(struct host_if_drv *hif_drv, u16 u16ReasonCode) host_int_disconnect()
3567 s32 host_int_disconnect_station(struct host_if_drv *hif_drv, u8 assoc_id) host_int_disconnect_station()
3579 s32 host_int_get_assoc_req_info(struct host_if_drv *hif_drv, host_int_get_assoc_req_info()
3593 s32 host_int_get_assoc_res_info(struct host_if_drv *hif_drv, host_int_get_assoc_res_info()
3624 s32 host_int_get_rx_power_level(struct host_if_drv *hif_drv, host_int_get_rx_power_level()
3638 int host_int_set_mac_chnl_num(struct host_if_drv *hif_drv, u8 channel) host_int_set_mac_chnl_num()
3680 int host_int_set_wfi_drv_handler(struct host_if_drv *hif_drv) host_int_set_wfi_drv_handler()
3699 int host_int_set_operation_mode(struct host_if_drv *hif_drv, u32 mode) host_int_set_operation_mode()
3718 s32 host_int_get_host_chnl_num(struct host_if_drv *hif_drv, u8 *pu8ChNo) host_int_get_host_chnl_num()
3743 s32 host_int_get_inactive_time(struct host_if_drv *hif_drv, host_int_get_inactive_time()
3771 s32 host_int_test_get_int_wid(struct host_if_drv *hif_drv, u32 *pu32TestMemAddr) host_int_test_get_int_wid()
3799 s32 host_int_get_rssi(struct host_if_drv *hif_drv, s8 *ps8Rssi) host_int_get_rssi()
3826 s32 host_int_get_link_speed(struct host_if_drv *hif_drv, s8 *ps8lnkspd) host_int_get_link_speed()
3853 s32 host_int_get_statistics(struct host_if_drv *hif_drv, struct rf_info *pstrStatistics) host_int_get_statistics()
3873 s32 host_int_scan(struct host_if_drv *hif_drv, u8 u8ScanSource, host_int_scan()
3926 s32 hif_set_cfg(struct host_if_drv *hif_drv, hif_set_cfg()
3947 s32 hif_get_cfg(struct host_if_drv *hif_drv, u16 u16WID, u16 *pu16WID_Value) hif_get_cfg()
4042 struct host_if_drv *hif_drv = (struct host_if_drv *)arg; GetPeriodicRSSI()
4068 s32 host_int_init(struct net_device *dev, struct host_if_drv **hif_drv_handler) host_int_init()
4071 struct host_if_drv *hif_drv; host_int_init()
4085 hif_drv = kzalloc(sizeof(struct host_if_drv), GFP_KERNEL); host_int_init()
4177 s32 host_int_deinit(struct host_if_drv *hif_drv) host_int_deinit()
4255 struct host_if_drv *hif_drv = NULL; NetworkInfoReceived()
4284 struct host_if_drv *hif_drv = NULL; GnrlAsyncInfoReceived()
4325 struct host_if_drv *hif_drv = NULL; host_int_ScanCompleteReceived()
4349 s32 host_int_remain_on_channel(struct host_if_drv *hif_drv, u32 u32SessionID, host_int_remain_on_channel()
4381 s32 host_int_ListenStateExpired(struct host_if_drv *hif_drv, u32 u32SessionID) host_int_ListenStateExpired()
4405 s32 host_int_frame_register(struct host_if_drv *hif_drv, u16 u16FrameType, bool bReg) host_int_frame_register()
4444 s32 host_int_add_beacon(struct host_if_drv *hif_drv, u32 u32Interval, host_int_add_beacon()
4498 s32 host_int_del_beacon(struct host_if_drv *hif_drv) host_int_del_beacon()
4519 s32 host_int_add_station(struct host_if_drv *hif_drv, host_int_add_station()
4555 s32 host_int_del_station(struct host_if_drv *hif_drv, const u8 *pu8MacAddr) host_int_del_station()
4584 s32 host_int_del_allstation(struct host_if_drv *hif_drv, host_int_del_allstation()
4635 s32 host_int_edit_station(struct host_if_drv *hif_drv, host_int_edit_station()
4672 s32 host_int_set_power_mgmt(struct host_if_drv *hif_drv, host_int_set_power_mgmt()
4703 s32 host_int_setup_multicast_filter(struct host_if_drv *hif_drv, host_int_setup_multicast_filter()
4897 s32 host_int_delBASession(struct host_if_drv *hif_drv, char *pBSSID, char TID) host_int_delBASession()
4925 s32 host_int_del_All_Rx_BASession(struct host_if_drv *hif_drv, host_int_del_All_Rx_BASession()
4955 s32 host_int_setup_ipaddress(struct host_if_drv *hif_drv, u8 *u16ipadd, u8 idx) host_int_setup_ipaddress()
4982 s32 host_int_get_ipaddress(struct host_if_drv *hif_drv, u8 *u16ipadd, u8 idx) host_int_get_ipaddress()
H A Dwilc_wfi_netdevice.h124 struct host_if_drv *hWILCWFIDrv;
154 struct host_if_drv *hif_drv;
H A Dlinux_wlan.c133 struct host_if_drv *pstrWFIDrv; dev_state_ev_handler()
160 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; dev_state_ev_handler()
639 struct host_if_drv *pstrWFIDrv; linux_wlan_init_test_config()
645 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; linux_wlan_init_test_config()
1297 struct host_if_drv *pstrWFIDrv; wilc_set_multicast_list()
1301 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; wilc_set_multicast_list()
1432 struct host_if_drv *pstrWFIDrv; mac_close()
1450 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; mac_close()
H A Dwilc_wfi_cfgoperations.c537 struct host_if_drv *pstrWFIDrv; CfgConnectResult()
548 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; CfgConnectResult()
794 struct host_if_drv *pstrWFIDrv; connect()
800 pstrWFIDrv = (struct host_if_drv *)(priv->hWILCWFIDrv); connect()
1036 struct host_if_drv *pstrWFIDrv; disconnect()
1043 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; disconnect()
1919 struct host_if_drv *pstrWFIDrv; WILC_WFI_p2p_rx()
1924 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; WILC_WFI_p2p_rx()
2204 struct host_if_drv *pstrWFIDrv; mgmt_tx()
2211 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; mgmt_tx()
2353 struct host_if_drv *pstrWFIDrv; mgmt_tx_cancel_wait()
2356 pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv; mgmt_tx_cancel_wait()

Completed in 126 milliseconds