Lines Matching refs:airo_info

1108 struct airo_info;
1111 static void OUT4500(struct airo_info *, u16 reg, u16 value);
1112 static unsigned short IN4500(struct airo_info *, u16 reg);
1113 static u16 setup_card(struct airo_info*, u8 *mac, int lock);
1114 static int enable_MAC(struct airo_info *ai, int lock);
1115 static void disable_MAC(struct airo_info *ai, int lock);
1116 static void enable_interrupts(struct airo_info*);
1117 static void disable_interrupts(struct airo_info*);
1118 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);
1134 static int transmit_802_11_packet(struct airo_info*, int len, char *pPacket);
1138 static void mpi_receive_802_3(struct airo_info *ai);
1139 static void mpi_receive_802_11(struct airo_info *ai);
1140 static int waitbusy(struct airo_info *ai);
1147 static void airo_read_wireless_stats(struct airo_info *local);
1153 static void micinit(struct airo_info *ai);
1154 static int micsetup(struct airo_info *ai);
1155 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len);
1156 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
1161 static void airo_networks_free(struct airo_info *ai);
1163 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()
2302 static void airo_set_promisc(struct airo_info *ai) in airo_set_promisc()
2317 struct airo_info *ai = dev->ml_priv; in airo_set_multicast_list()
2335 struct airo_info *ai = dev->ml_priv; in airo_set_mac_address()
2352 static void add_airo_dev(struct airo_info *ai) in add_airo_dev()
2360 static void del_airo_dev(struct airo_info *ai) in del_airo_dev()
2368 struct airo_info *ai = dev->ml_priv; in airo_close()
2394 struct airo_info *ai = dev->ml_priv; in stop_airo_card()
2468 static int mpi_init_descriptors (struct airo_info *ai) in mpi_init_descriptors()
2545 static int mpi_map_card(struct airo_info *ai, struct pci_dev *pci) in mpi_map_card()
2693 static struct net_device *init_wifidev(struct airo_info *ai, in init_wifidev()
2717 struct airo_info *ai = dev->ml_priv; in reset_card()
2732 static int airo_networks_allocate(struct airo_info *ai) in airo_networks_allocate()
2747 static void airo_networks_free(struct airo_info *ai) in airo_networks_free()
2753 static void airo_networks_initialize(struct airo_info *ai) in airo_networks_initialize()
2792 struct airo_info *ai; in _init_airo_card()
2960 static int waitbusy (struct airo_info *ai) in waitbusy()
2974 struct airo_info *ai = dev->ml_priv; in reset_airo_card()
2998 struct airo_info *ai = dev->ml_priv; in airo_send_event()
3014 static void airo_process_scan_results (struct airo_info *ai) in airo_process_scan_results()
3082 struct airo_info *ai = dev->ml_priv; in airo_thread()
3192 static void airo_handle_cisco_mic(struct airo_info *ai) in airo_handle_cisco_mic()
3261 static void airo_handle_link(struct airo_info *ai) in airo_handle_link()
3306 static void airo_handle_rx(struct airo_info *ai) in airo_handle_rx()
3447 static void airo_handle_tx(struct airo_info *ai, u16 status) in airo_handle_tx()
3503 struct airo_info *ai = dev->ml_priv; in airo_interrupt()
3565 static void OUT4500(struct airo_info *ai, u16 reg, u16 val) in OUT4500()
3577 static u16 IN4500(struct airo_info *ai, u16 reg) in IN4500()
3592 static int enable_MAC(struct airo_info *ai, int lock) in enable_MAC()
3631 static void disable_MAC(struct airo_info *ai, int lock) in disable_MAC()
3651 static void enable_interrupts(struct airo_info *ai) in enable_interrupts()
3657 static void disable_interrupts(struct airo_info *ai) in disable_interrupts()
3662 static void mpi_receive_802_3(struct airo_info *ai) in mpi_receive_802_3()
3732 static void mpi_receive_802_11(struct airo_info *ai) in mpi_receive_802_11()
3818 static inline void set_auth_type(struct airo_info *local, int auth_type) in set_auth_type()
3828 static u16 setup_card(struct airo_info *ai, u8 *mac, int lock) in setup_card()
3969 static u16 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp) in issuecommand()
4022 static int bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap) in bap_setup()
4060 static u16 aux_setup(struct airo_info *ai, u16 page, in aux_setup()
4074 static int aux_bap_read(struct airo_info *ai, __le16 *pu16Dst, in aux_bap_read()
4111 static int fast_bap_read(struct airo_info *ai, __le16 *pu16Dst, in fast_bap_read()
4123 static int bap_write(struct airo_info *ai, const __le16 *pu16Src, in bap_write()
4135 static int PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd) in PC4500_accessrid()
4154 static int PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) in PC4500_readrid()
4219 static int PC4500_writerid(struct airo_info *ai, u16 rid, in PC4500_writerid()
4293 static u16 transmit_allocate(struct airo_info *ai, int lenPayload, int raw) in transmit_allocate()
4351 static int transmit_802_3_packet(struct airo_info *ai, int len, char *pPacket) in transmit_802_3_packet()
4394 static int transmit_802_11_packet(struct airo_info *ai, int len, char *pPacket) in transmit_802_11_packet()
4533 struct airo_info *apriv) in setup_proc_entry()
4608 struct airo_info *apriv) in takedown_proc_entry()
4667 struct airo_info *apriv = dev->ml_priv; in proc_status_open()
4751 struct airo_info *apriv = dev->ml_priv; in proc_stats_rid_open()
4804 static inline int sniffing_mode(struct airo_info *ai) in sniffing_mode()
4814 struct airo_info *ai = dev->ml_priv; in proc_config_on_close()
5025 struct airo_info *ai = dev->ml_priv; in proc_config_open()
5115 struct airo_info *ai = dev->ml_priv; in proc_SSID_on_close()
5151 struct airo_info *ai = dev->ml_priv; in proc_APList_on_close()
5169 static int do_writerid(struct airo_info *ai, u16 rid, const void *rid_data, in do_writerid()
5183 static int get_wep_key(struct airo_info *ai, u16 index, char *buf, u16 buflen) in get_wep_key()
5206 static int get_wep_tx_idx(struct airo_info *ai) in get_wep_tx_idx()
5226 static int set_wep_key(struct airo_info *ai, u16 index, const char *key, in set_wep_key()
5249 static int set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock) in set_wep_tx_idx()
5275 struct airo_info *ai = dev->ml_priv; in proc_wepkey_on_close()
5326 struct airo_info *ai = dev->ml_priv; in proc_wepkey_open()
5374 struct airo_info *ai = dev->ml_priv; in proc_SSID_open()
5418 struct airo_info *ai = dev->ml_priv; in proc_APList_open()
5457 struct airo_info *ai = dev->ml_priv; in proc_BSSList_open()
5543 struct airo_info *apriv = dev->ml_priv; in timer_func()
5613 struct airo_info *ai = dev->ml_priv; in airo_pci_suspend()
5639 struct airo_info *ai = dev->ml_priv; in airo_pci_resume()
5717 struct airo_info *ai; in airo_cleanup_module()
5719 ai = list_entry(airo_devices.next, struct airo_info, dev_list); in airo_cleanup_module()
5814 struct airo_info *local = dev->ml_priv; in airo_set_freq()
5855 struct airo_info *local = dev->ml_priv; in airo_get_freq()
5887 struct airo_info *local = dev->ml_priv; in airo_set_essid()
5932 struct airo_info *local = dev->ml_priv; in airo_get_essid()
5960 struct airo_info *local = dev->ml_priv; in airo_set_wap()
5995 struct airo_info *local = dev->ml_priv; in airo_get_wap()
6016 struct airo_info *local = dev->ml_priv; in airo_set_nick()
6039 struct airo_info *local = dev->ml_priv; in airo_get_nick()
6058 struct airo_info *local = dev->ml_priv; in airo_set_rate()
6128 struct airo_info *local = dev->ml_priv; in airo_get_rate()
6150 struct airo_info *local = dev->ml_priv; in airo_set_rts()
6174 struct airo_info *local = dev->ml_priv; in airo_get_rts()
6193 struct airo_info *local = dev->ml_priv; in airo_set_frag()
6218 struct airo_info *local = dev->ml_priv; in airo_get_frag()
6237 struct airo_info *local = dev->ml_priv; in airo_set_mode()
6300 struct airo_info *local = dev->ml_priv; in airo_get_mode()
6321 static inline int valid_index(struct airo_info *ai, int index) in valid_index()
6335 struct airo_info *local = dev->ml_priv; in airo_set_encode()
6434 struct airo_info *local = dev->ml_priv; in airo_get_encode()
6490 struct airo_info *local = dev->ml_priv; in airo_set_encodeext()
6596 struct airo_info *local = dev->ml_priv; in airo_get_encodeext()
6663 struct airo_info *local = dev->ml_priv; in airo_set_auth()
6732 struct airo_info *local = dev->ml_priv; in airo_get_auth()
6781 struct airo_info *local = dev->ml_priv; in airo_set_txpow()
6818 struct airo_info *local = dev->ml_priv; in airo_get_txpow()
6838 struct airo_info *local = dev->ml_priv; in airo_set_retry()
6876 struct airo_info *local = dev->ml_priv; in airo_get_retry()
6907 struct airo_info *local = dev->ml_priv; in airo_get_range()
7033 struct airo_info *local = dev->ml_priv; in airo_set_power()
7090 struct airo_info *local = dev->ml_priv; in airo_get_power()
7121 struct airo_info *local = dev->ml_priv; in airo_set_sens()
7140 struct airo_info *local = dev->ml_priv; in airo_get_sens()
7160 struct airo_info *local = dev->ml_priv; in airo_get_aplist()
7238 struct airo_info *ai = dev->ml_priv; in airo_set_scan()
7292 struct airo_info *ai = dev->ml_priv; in airo_translate_scan()
7469 struct airo_info *ai = dev->ml_priv; in airo_get_scan()
7513 struct airo_info *local = dev->ml_priv; in airo_config_commit()
7656 struct airo_info *ai = dev->ml_priv; in airo_ioctl()
7727 static void airo_read_wireless_stats(struct airo_info *local) in airo_read_wireless_stats()
7784 struct airo_info *local = dev->ml_priv; in airo_get_wireless_stats()
7810 struct airo_info *ai = dev->ml_priv; in readrids()
7874 struct airo_info *ai = dev->ml_priv; in writerids()
7877 int (*writer)(struct airo_info *, u16 rid, const void *, int, int); in writerids()
7998 return cmdreset((struct airo_info *)dev->ml_priv); in flashcard()
8004 return setflashmode((struct airo_info *)dev->ml_priv); in flashcard()
8011 return flashgchar((struct airo_info *)dev->ml_priv, z, 8000); in flashcard()
8018 return flashpchar((struct airo_info *)dev->ml_priv, z, 8000); in flashcard()
8028 flashputbuf((struct airo_info *)dev->ml_priv); in flashcard()
8032 if (flashrestart((struct airo_info *)dev->ml_priv, dev)) in flashcard()
8047 static int cmdreset(struct airo_info *ai) in cmdreset()
8072 static int setflashmode (struct airo_info *ai) in setflashmode()
8100 static int flashpchar(struct airo_info *ai, int byte, int dwelltime) in flashpchar()
8141 static int flashgchar(struct airo_info *ai, int matchbyte, int dwelltime) in flashgchar()
8173 static int flashputbuf(struct airo_info *ai) in flashputbuf()
8196 static int flashrestart(struct airo_info *ai, struct net_device *dev) in flashrestart()