⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wl_export.h

📁 wi-fi sources for asus wl138g v2 pci card
💻 H
字号:
/* * Required functions exported by the port-specific (os-dependent) driver * to common (os-independent) driver code. * * Copyright 2005-2006, Broadcom Corporation * All Rights Reserved.                 *                                      * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. * * $Id$ */#ifndef _wl_export_h_#define _wl_export_h_/* misc callbacks */struct wl_info;extern void wl_init(struct wl_info *wl);extern uint wl_reset(struct wl_info *wl);extern void wl_intrson(struct wl_info *wl);extern uint32 wl_intrsoff(struct wl_info *wl);extern void wl_intrsrestore(struct wl_info *wl, uint32 macintmask);extern void wl_event(struct wl_info *wl, wlc_event_t *e);extern int wl_up(struct wl_info *wl);extern void wl_down(struct wl_info *wl);extern int wl_dump(struct wl_info *wl, char *buf, uint len);extern void wl_txflowcontrol(struct wl_info *wl, bool state);/* timer functions */struct wl_timer;extern struct wl_timer *wl_init_timer(struct wl_info *wl, void (*fn)(void* arg));extern void wl_free_timer(struct wl_info *wl, struct wl_timer *timer);extern void wl_add_timer(struct wl_info *wl, struct wl_timer *timer, uint ms, int periodic);extern bool wl_del_timer(struct wl_info *wl, struct wl_timer *timer);/* data receive and interface management functions */struct wl_if;extern void wl_sendup(struct wl_info *wl, struct wl_if *wlif, void *p);extern char *wl_ifname(struct wl_info *wl, struct wl_if *wlif);extern void wl_monitor(struct wl_info *wl, wl_rxsts_t *rxsts, void *p);extern void wl_set_monitor(struct wl_info *wl, int val);extern int wl_tkip_miccheck(struct wl_info *wl, void *p, int hdr_len, bool group_key, int id);extern int wl_tkip_micadd(struct wl_info *wl, void *p, int hdr_len);extern int wl_tkip_encrypt(struct wl_info *wl, void *p, int hdr_len);extern int wl_tkip_decrypt(struct wl_info *wl, void *p, int hdr_len, bool group_key);extern void wl_tkip_printstats(struct wl_info *wl, bool group_key);extern int wl_tkip_keyset(struct wl_info *wl, wsec_key_t *key);#endif	/* _wl_export_h_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -