Lines Matching refs:airo_info

1107 struct airo_info;
1110 static void OUT4500(struct airo_info *, u16 reg, u16 value);
1111 static unsigned short IN4500(struct airo_info *, u16 reg);
1112 static u16 setup_card(struct airo_info*, struct net_device *dev, int lock);
1113 static int enable_MAC(struct airo_info *ai, int lock);
1114 static void disable_MAC(struct airo_info *ai, int lock);
1115 static void enable_interrupts(struct airo_info*);
1116 static void disable_interrupts(struct airo_info*);
1117 static u16 issuecommand(struct airo_info*, Cmd *pCmd, Resp *pRsp,
1119 static int bap_setup(struct airo_info*, u16 rid, u16 offset, int whichbap);
1120 static int aux_bap_read(struct airo_info*, __le16 *pu16Dst, int bytelen,
1122 static int fast_bap_read(struct airo_info*, __le16 *pu16Dst, int bytelen,
1124 static int bap_write(struct airo_info*, const __le16 *pu16Src, int bytelen,
1126 static int PC4500_accessrid(struct airo_info*, u16 rid, u16 accmd);
1127 static int PC4500_readrid(struct airo_info*, u16 rid, void *pBuf, int len, int lock);
1128 static int PC4500_writerid(struct airo_info*, u16 rid, const void
1130 static int do_writerid(struct airo_info*, u16 rid, const void *rid_data,
1132 static u16 transmit_allocate(struct airo_info*, int lenPayload, int raw);
1133 static int transmit_802_3_packet(struct airo_info*, int len, char *pPacket,
1135 static int transmit_802_11_packet(struct airo_info*, int len, char *pPacket,
1140 static void mpi_receive_802_3(struct airo_info *ai);
1141 static void mpi_receive_802_11(struct airo_info *ai);
1142 static int waitbusy(struct airo_info *ai);
1154 static void micinit(struct airo_info *ai);
1155 static int micsetup(struct airo_info *ai);
1156 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len);
1157 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
1162 static void airo_networks_free(struct airo_info *ai);
1164 struct airo_info { struct
1206 int (*bap_read)(struct airo_info*, __le16 *pu16Dst, int bytelen, argument
1258 static inline int bap_read(struct airo_info *ai, __le16 *pu16Dst, int bytelen, in bap_read() argument
1265 struct airo_info *apriv);
1267 struct airo_info *apriv);
1269 static int cmdreset(struct airo_info *ai);
1270 static int setflashmode(struct airo_info *ai);
1271 static int flashgchar(struct airo_info *ai, int matchbyte, int dwelltime);
1272 static int flashputbuf(struct airo_info *ai);
1273 static int flashrestart(struct airo_info *ai, struct net_device *dev);
1290 #define AIRO_FLASH(dev) (((struct airo_info *)dev->ml_priv)->flash)
1297 static int RxSeqValid(struct airo_info *ai, miccntx *context, int mcast, u32 micSeq);
1304 static int flashpchar(struct airo_info *ai, int byte, int dwelltime);
1331 static void micinit(struct airo_info *ai) in micinit()
1364 static int micsetup(struct airo_info *ai) in micsetup()
1402 static int encapsulate(struct airo_info *ai, etherHead *frame, MICBuffer *mic, int payLen) in encapsulate()
1458 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) in decapsulate()
1562 static int RxSeqValid(struct airo_info *ai, miccntx *context, int mcast, u32 micSeq) in RxSeqValid()
1745 static int readBSSListRid(struct airo_info *ai, int first, in readBSSListRid()
1768 static int readWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int temp, int lock) in readWepKeyRid()
1774 static int writeWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int perm, int lock) in writeWepKeyRid()
1788 static int readSsidRid(struct airo_info*ai, SsidRid *ssidr) in readSsidRid()
1793 static int writeSsidRid(struct airo_info*ai, SsidRid *pssidr, int lock) in writeSsidRid()
1798 static int readConfigRid(struct airo_info *ai, int lock) in readConfigRid()
1814 static inline void checkThrottle(struct airo_info *ai) in checkThrottle()
1827 static int writeConfigRid(struct airo_info *ai, int lock) in writeConfigRid()
1847 static int readStatusRid(struct airo_info *ai, StatusRid *statr, int lock) in readStatusRid()
1852 static int writeAPListRid(struct airo_info *ai, APListRid *aplr, int lock) in writeAPListRid()
1857 static int readCapabilityRid(struct airo_info *ai, CapabilityRid *capr, int lock) in readCapabilityRid()
1862 static int readStatsRid(struct airo_info*ai, StatsRid *sr, int rid, int lock) in readStatsRid()
1867 static void try_auto_wep(struct airo_info *ai) in try_auto_wep()
1877 struct airo_info *ai = dev->ml_priv; in airo_open()
1927 struct airo_info *ai = dev->ml_priv; in mpi_start_xmit()
1975 struct airo_info *ai = dev->ml_priv; in mpi_send_packet()
2050 static void get_tx_error(struct airo_info *ai, s32 fid) in get_tx_error()
2105 struct airo_info *priv = dev->ml_priv; in airo_end_xmit()
2133 struct airo_info *priv = dev->ml_priv; in airo_start_xmit()
2177 struct airo_info *priv = dev->ml_priv; in airo_end_xmit11()
2205 struct airo_info *priv = dev->ml_priv; in airo_start_xmit11()
2254 struct airo_info *ai = dev->ml_priv; in airo_read_stats()
2288 struct airo_info *local = dev->ml_priv; in airo_get_stats()
2298 static void airo_set_promisc(struct airo_info *ai, bool may_sleep) in airo_set_promisc()
2313 struct airo_info *ai = dev->ml_priv; in airo_set_multicast_list()
2331 struct airo_info *ai = dev->ml_priv; in airo_set_mac_address()
2348 static void add_airo_dev(struct airo_info *ai) in add_airo_dev()
2356 static void del_airo_dev(struct airo_info *ai) in del_airo_dev()
2364 struct airo_info *ai = dev->ml_priv; in airo_close()
2390 struct airo_info *ai = dev->ml_priv; in stop_airo_card()
2464 static int mpi_init_descriptors (struct airo_info *ai) in mpi_init_descriptors()
2541 static int mpi_map_card(struct airo_info *ai, struct pci_dev *pci) in mpi_map_card()
2689 static struct net_device *init_wifidev(struct airo_info *ai, in init_wifidev()
2713 struct airo_info *ai = dev->ml_priv; in reset_card()
2728 static int airo_networks_allocate(struct airo_info *ai) in airo_networks_allocate()
2743 static void airo_networks_free(struct airo_info *ai) in airo_networks_free()
2749 static void airo_networks_initialize(struct airo_info *ai) in airo_networks_initialize()
2788 struct airo_info *ai; in _init_airo_card()
2956 static int waitbusy (struct airo_info *ai) in waitbusy()
2970 struct airo_info *ai = dev->ml_priv; in reset_airo_card()
2994 struct airo_info *ai = dev->ml_priv; in airo_send_event()
3010 static void airo_process_scan_results (struct airo_info *ai) in airo_process_scan_results()
3078 struct airo_info *ai = dev->ml_priv; in airo_thread()
3186 static void airo_handle_cisco_mic(struct airo_info *ai) in airo_handle_cisco_mic()
3255 static void airo_handle_link(struct airo_info *ai) in airo_handle_link()
3298 static void airo_handle_rx(struct airo_info *ai) in airo_handle_rx()
3439 static void airo_handle_tx(struct airo_info *ai, u16 status) in airo_handle_tx()
3495 struct airo_info *ai = dev->ml_priv; in airo_interrupt()
3557 static void OUT4500(struct airo_info *ai, u16 reg, u16 val) in OUT4500()
3569 static u16 IN4500(struct airo_info *ai, u16 reg) in IN4500()
3584 static int enable_MAC(struct airo_info *ai, int lock) in enable_MAC()
3623 static void disable_MAC(struct airo_info *ai, int lock) in disable_MAC()
3643 static void enable_interrupts(struct airo_info *ai) in enable_interrupts()
3649 static void disable_interrupts(struct airo_info *ai) in disable_interrupts()
3654 static void mpi_receive_802_3(struct airo_info *ai) in mpi_receive_802_3()
3724 static void mpi_receive_802_11(struct airo_info *ai) in mpi_receive_802_11()
3810 static inline void set_auth_type(struct airo_info *local, int auth_type) in set_auth_type()
3820 static int noinline_for_stack airo_readconfig(struct airo_info *ai, in airo_readconfig()
3881 static u16 setup_card(struct airo_info *ai, struct net_device *dev, int lock) in setup_card()
3973 static u16 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp, in issuecommand()
4027 static int bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap) in bap_setup()
4065 static u16 aux_setup(struct airo_info *ai, u16 page, in aux_setup()
4079 static int aux_bap_read(struct airo_info *ai, __le16 *pu16Dst, in aux_bap_read()
4116 static int fast_bap_read(struct airo_info *ai, __le16 *pu16Dst, in fast_bap_read()
4128 static int bap_write(struct airo_info *ai, const __le16 *pu16Src, in bap_write()
4140 static int PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd) in PC4500_accessrid()
4159 static int PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) in PC4500_readrid()
4224 static int PC4500_writerid(struct airo_info *ai, u16 rid, in PC4500_writerid()
4298 static u16 transmit_allocate(struct airo_info *ai, int lenPayload, int raw) in transmit_allocate()
4356 static int transmit_802_3_packet(struct airo_info *ai, int len, char *pPacket, in transmit_802_3_packet()
4401 static int transmit_802_11_packet(struct airo_info *ai, int len, char *pPacket, in transmit_802_11_packet()
4542 struct airo_info *apriv) in setup_proc_entry()
4617 struct airo_info *apriv) in takedown_proc_entry()
4676 struct airo_info *apriv = dev->ml_priv; in proc_status_open()
4760 struct airo_info *apriv = dev->ml_priv; in proc_stats_rid_open()
4813 static inline int sniffing_mode(struct airo_info *ai) in sniffing_mode()
4823 struct airo_info *ai = dev->ml_priv; in proc_config_on_close()
5034 struct airo_info *ai = dev->ml_priv; in proc_config_open()
5124 struct airo_info *ai = dev->ml_priv; in proc_SSID_on_close()
5160 struct airo_info *ai = dev->ml_priv; in proc_APList_on_close()
5178 static int do_writerid(struct airo_info *ai, u16 rid, const void *rid_data, in do_writerid()
5192 static int get_wep_key(struct airo_info *ai, u16 index, char *buf, u16 buflen) in get_wep_key()
5215 static int get_wep_tx_idx(struct airo_info *ai) in get_wep_tx_idx()
5235 static int set_wep_key(struct airo_info *ai, u16 index, const u8 *key, in set_wep_key()
5258 static int set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock) in set_wep_tx_idx()
5284 struct airo_info *ai = dev->ml_priv; in proc_wepkey_on_close()
5345 struct airo_info *ai = dev->ml_priv; in proc_wepkey_open()
5393 struct airo_info *ai = dev->ml_priv; in proc_SSID_open()
5437 struct airo_info *ai = dev->ml_priv; in proc_APList_open()
5476 struct airo_info *ai = dev->ml_priv; in proc_BSSList_open()
5562 struct airo_info *apriv = dev->ml_priv; in timer_func()
5632 struct airo_info *ai = dev->ml_priv; in airo_pci_suspend()
5658 struct airo_info *ai = dev->ml_priv; in airo_pci_resume()
5736 struct airo_info *ai; in airo_cleanup_module()
5738 ai = list_entry(airo_devices.next, struct airo_info, dev_list); in airo_cleanup_module()
5833 struct airo_info *local = dev->ml_priv; in airo_set_freq()
5874 struct airo_info *local = dev->ml_priv; in airo_get_freq()
5906 struct airo_info *local = dev->ml_priv; in airo_set_essid()
5951 struct airo_info *local = dev->ml_priv; in airo_get_essid()
5979 struct airo_info *local = dev->ml_priv; in airo_set_wap()
6014 struct airo_info *local = dev->ml_priv; in airo_get_wap()
6035 struct airo_info *local = dev->ml_priv; in airo_set_nick()
6058 struct airo_info *local = dev->ml_priv; in airo_get_nick()
6077 struct airo_info *local = dev->ml_priv; in airo_set_rate()
6147 struct airo_info *local = dev->ml_priv; in airo_get_rate()
6169 struct airo_info *local = dev->ml_priv; in airo_set_rts()
6193 struct airo_info *local = dev->ml_priv; in airo_get_rts()
6212 struct airo_info *local = dev->ml_priv; in airo_set_frag()
6237 struct airo_info *local = dev->ml_priv; in airo_get_frag()
6256 struct airo_info *local = dev->ml_priv; in airo_set_mode()
6319 struct airo_info *local = dev->ml_priv; in airo_get_mode()
6340 static inline int valid_index(struct airo_info *ai, int index) in valid_index()
6354 struct airo_info *local = dev->ml_priv; in airo_set_encode()
6453 struct airo_info *local = dev->ml_priv; in airo_get_encode()
6509 struct airo_info *local = dev->ml_priv; in airo_set_encodeext()
6615 struct airo_info *local = dev->ml_priv; in airo_get_encodeext()
6682 struct airo_info *local = dev->ml_priv; in airo_set_auth()
6751 struct airo_info *local = dev->ml_priv; in airo_get_auth()
6800 struct airo_info *local = dev->ml_priv; in airo_set_txpow()
6837 struct airo_info *local = dev->ml_priv; in airo_get_txpow()
6857 struct airo_info *local = dev->ml_priv; in airo_set_retry()
6895 struct airo_info *local = dev->ml_priv; in airo_get_retry()
6926 struct airo_info *local = dev->ml_priv; in airo_get_range()
7052 struct airo_info *local = dev->ml_priv; in airo_set_power()
7110 struct airo_info *local = dev->ml_priv; in airo_get_power()
7141 struct airo_info *local = dev->ml_priv; in airo_set_sens()
7160 struct airo_info *local = dev->ml_priv; in airo_get_sens()
7180 struct airo_info *local = dev->ml_priv; in airo_get_aplist()
7258 struct airo_info *ai = dev->ml_priv; in airo_set_scan()
7312 struct airo_info *ai = dev->ml_priv; in airo_translate_scan()
7489 struct airo_info *ai = dev->ml_priv; in airo_get_scan()
7533 struct airo_info *local = dev->ml_priv; in airo_config_commit()
7677 struct airo_info *ai = dev->ml_priv; in airo_siocdevprivate()
7748 static void airo_read_wireless_stats(struct airo_info *local) in airo_read_wireless_stats()
7802 struct airo_info *local = dev->ml_priv; in airo_get_wireless_stats()
7823 struct airo_info *ai = dev->ml_priv; in readrids()
7887 struct airo_info *ai = dev->ml_priv; in writerids()
7890 int (*writer)(struct airo_info *, u16 rid, const void *, int, int); in writerids()
8011 return cmdreset((struct airo_info *)dev->ml_priv); in flashcard()
8017 return setflashmode((struct airo_info *)dev->ml_priv); in flashcard()
8024 return flashgchar((struct airo_info *)dev->ml_priv, z, 8000); in flashcard()
8031 return flashpchar((struct airo_info *)dev->ml_priv, z, 8000); in flashcard()
8041 flashputbuf((struct airo_info *)dev->ml_priv); in flashcard()
8045 if (flashrestart((struct airo_info *)dev->ml_priv, dev)) in flashcard()
8060 static int cmdreset(struct airo_info *ai) in cmdreset()
8085 static int setflashmode (struct airo_info *ai) in setflashmode()
8113 static int flashpchar(struct airo_info *ai, int byte, int dwelltime) in flashpchar()
8154 static int flashgchar(struct airo_info *ai, int matchbyte, int dwelltime) in flashgchar()
8186 static int flashputbuf(struct airo_info *ai) in flashputbuf()
8209 static int flashrestart(struct airo_info *ai, struct net_device *dev) in flashrestart()