Lines Matching refs:airo_info
1102 struct airo_info;
1105 static void OUT4500( struct airo_info *, u16 register, u16 value );
1106 static unsigned short IN4500( struct airo_info *, u16 register );
1107 static u16 setup_card(struct airo_info*, u8 *mac, int lock);
1108 static int enable_MAC(struct airo_info *ai, int lock);
1109 static void disable_MAC(struct airo_info *ai, int lock);
1110 static void enable_interrupts(struct airo_info*);
1111 static void disable_interrupts(struct airo_info*);
1112 static u16 issuecommand(struct airo_info*, Cmd *pCmd, Resp *pRsp);
1113 static int bap_setup(struct airo_info*, u16 rid, u16 offset, int whichbap);
1114 static int aux_bap_read(struct airo_info*, __le16 *pu16Dst, int bytelen,
1116 static int fast_bap_read(struct airo_info*, __le16 *pu16Dst, int bytelen,
1118 static int bap_write(struct airo_info*, const __le16 *pu16Src, int bytelen,
1120 static int PC4500_accessrid(struct airo_info*, u16 rid, u16 accmd);
1121 static int PC4500_readrid(struct airo_info*, u16 rid, void *pBuf, int len, int lock);
1122 static int PC4500_writerid(struct airo_info*, u16 rid, const void
1124 static int do_writerid( struct airo_info*, u16 rid, const void *rid_data,
1126 static u16 transmit_allocate(struct airo_info*, int lenPayload, int raw);
1127 static int transmit_802_3_packet(struct airo_info*, int len, char *pPacket);
1128 static int transmit_802_11_packet(struct airo_info*, int len, char *pPacket);
1132 static void mpi_receive_802_3(struct airo_info *ai);
1133 static void mpi_receive_802_11(struct airo_info *ai);
1134 static int waitbusy (struct airo_info *ai);
1141 static void airo_read_wireless_stats (struct airo_info *local);
1147 static void micinit(struct airo_info *ai);
1148 static int micsetup(struct airo_info *ai);
1149 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len);
1150 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
1155 static void airo_networks_free(struct airo_info *ai);
1157 struct airo_info { struct
1200 int (*bap_read)(struct airo_info*, __le16 *pu16Dst, int bytelen, argument
1251 static inline int bap_read(struct airo_info *ai, __le16 *pu16Dst, int bytelen, in bap_read() argument
1258 struct airo_info *apriv );
1260 struct airo_info *apriv );
1262 static int cmdreset(struct airo_info *ai);
1263 static int setflashmode (struct airo_info *ai);
1264 static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime);
1265 static int flashputbuf(struct airo_info *ai);
1266 static int flashrestart(struct airo_info *ai,struct net_device *dev);
1283 #define AIRO_FLASH(dev) (((struct airo_info *)dev->ml_priv)->flash)
1290 static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq);
1297 static int flashpchar(struct airo_info *ai,int byte,int dwelltime);
1324 static void micinit(struct airo_info *ai) in micinit()
1357 static int micsetup(struct airo_info *ai) { in micsetup()
1394 static int encapsulate(struct airo_info *ai ,etherHead *frame, MICBuffer *mic, int payLen) in encapsulate()
1450 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) in decapsulate()
1554 static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq) in RxSeqValid()
1743 static int readBSSListRid(struct airo_info *ai, int first, in readBSSListRid()
1766 static int readWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int temp, int lock) in readWepKeyRid()
1772 static int writeWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int perm, int lock) in writeWepKeyRid()
1786 static int readSsidRid(struct airo_info*ai, SsidRid *ssidr) in readSsidRid()
1791 static int writeSsidRid(struct airo_info*ai, SsidRid *pssidr, int lock) in writeSsidRid()
1796 static int readConfigRid(struct airo_info *ai, int lock) in readConfigRid()
1812 static inline void checkThrottle(struct airo_info *ai) in checkThrottle()
1825 static int writeConfigRid(struct airo_info *ai, int lock) in writeConfigRid()
1845 static int readStatusRid(struct airo_info *ai, StatusRid *statr, int lock) in readStatusRid()
1850 static int readAPListRid(struct airo_info *ai, APListRid *aplr) in readAPListRid()
1855 static int writeAPListRid(struct airo_info *ai, APListRid *aplr, int lock) in writeAPListRid()
1860 static int readCapabilityRid(struct airo_info *ai, CapabilityRid *capr, int lock) in readCapabilityRid()
1865 static int readStatsRid(struct airo_info*ai, StatsRid *sr, int rid, int lock) in readStatsRid()
1870 static void try_auto_wep(struct airo_info *ai) in try_auto_wep()
1879 struct airo_info *ai = dev->ml_priv; in airo_open()
1928 struct airo_info *ai = dev->ml_priv; in mpi_start_xmit()
1972 struct airo_info *ai = dev->ml_priv; in mpi_send_packet()
2047 static void get_tx_error(struct airo_info *ai, s32 fid) in get_tx_error()
2101 struct airo_info *priv = dev->ml_priv; in airo_end_xmit()
2129 struct airo_info *priv = dev->ml_priv; in airo_start_xmit()
2168 struct airo_info *priv = dev->ml_priv; in airo_end_xmit11()
2196 struct airo_info *priv = dev->ml_priv; in airo_start_xmit11()
2241 struct airo_info *ai = dev->ml_priv; in airo_read_stats()
2275 struct airo_info *local = dev->ml_priv; in airo_get_stats()
2289 static void airo_set_promisc(struct airo_info *ai) { in airo_set_promisc()
2302 struct airo_info *ai = dev->ml_priv; in airo_set_multicast_list()
2320 struct airo_info *ai = dev->ml_priv; in airo_set_mac_address()
2345 static void add_airo_dev(struct airo_info *ai) in add_airo_dev()
2353 static void del_airo_dev(struct airo_info *ai) in del_airo_dev()
2360 struct airo_info *ai = dev->ml_priv; in airo_close()
2386 struct airo_info *ai = dev->ml_priv; in stop_airo_card()
2461 static int mpi_init_descriptors (struct airo_info *ai) in mpi_init_descriptors()
2538 static int mpi_map_card(struct airo_info *ai, struct pci_dev *pci) in mpi_map_card()
2683 static struct net_device *init_wifidev(struct airo_info *ai, in init_wifidev()
2705 struct airo_info *ai = dev->ml_priv; in reset_card()
2720 static int airo_networks_allocate(struct airo_info *ai) in airo_networks_allocate()
2735 static void airo_networks_free(struct airo_info *ai) in airo_networks_free()
2741 static void airo_networks_initialize(struct airo_info *ai) in airo_networks_initialize()
2782 struct airo_info *ai; in _init_airo_card()
2947 static int waitbusy (struct airo_info *ai) { in waitbusy()
2960 struct airo_info *ai = dev->ml_priv; in reset_airo_card()
2983 struct airo_info *ai = dev->ml_priv; in airo_send_event()
2999 static void airo_process_scan_results (struct airo_info *ai) { in airo_process_scan_results()
3060 struct airo_info *ai = dev->ml_priv; in airo_thread()
3170 static void airo_handle_cisco_mic(struct airo_info *ai) in airo_handle_cisco_mic()
3239 static void airo_handle_link(struct airo_info *ai) in airo_handle_link()
3280 static void airo_handle_rx(struct airo_info *ai) in airo_handle_rx()
3421 static void airo_handle_tx(struct airo_info *ai, u16 status) in airo_handle_tx()
3479 struct airo_info *ai = dev->ml_priv; in airo_interrupt()
3541 static void OUT4500( struct airo_info *ai, u16 reg, u16 val ) { in OUT4500()
3552 static u16 IN4500( struct airo_info *ai, u16 reg ) { in IN4500()
3566 static int enable_MAC(struct airo_info *ai, int lock) in enable_MAC()
3605 static void disable_MAC( struct airo_info *ai, int lock ) { in disable_MAC()
3622 static void enable_interrupts( struct airo_info *ai ) { in enable_interrupts()
3627 static void disable_interrupts( struct airo_info *ai ) { in disable_interrupts()
3631 static void mpi_receive_802_3(struct airo_info *ai) in mpi_receive_802_3()
3701 static void mpi_receive_802_11(struct airo_info *ai) in mpi_receive_802_11()
3787 static u16 setup_card(struct airo_info *ai, u8 *mac, int lock) in setup_card()
3930 static u16 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp) { in issuecommand()
3982 static int bap_setup(struct airo_info *ai, u16 rid, u16 offset, int whichbap ) in bap_setup()
4020 static u16 aux_setup(struct airo_info *ai, u16 page, in aux_setup()
4034 static int aux_bap_read(struct airo_info *ai, __le16 *pu16Dst, in aux_bap_read()
4071 static int fast_bap_read(struct airo_info *ai, __le16 *pu16Dst, in fast_bap_read()
4083 static int bap_write(struct airo_info *ai, const __le16 *pu16Src, in bap_write()
4095 static int PC4500_accessrid(struct airo_info *ai, u16 rid, u16 accmd) in PC4500_accessrid()
4114 static int PC4500_readrid(struct airo_info *ai, u16 rid, void *pBuf, int len, int lock) in PC4500_readrid()
4179 static int PC4500_writerid(struct airo_info *ai, u16 rid, in PC4500_writerid()
4253 static u16 transmit_allocate(struct airo_info *ai, int lenPayload, int raw) in transmit_allocate()
4311 static int transmit_802_3_packet(struct airo_info *ai, int len, char *pPacket) in transmit_802_3_packet()
4354 static int transmit_802_11_packet(struct airo_info *ai, int len, char *pPacket) in transmit_802_11_packet()
4501 struct airo_info *apriv ) { in setup_proc_entry()
4575 struct airo_info *apriv ) in takedown_proc_entry()
4634 struct airo_info *apriv = dev->ml_priv; in proc_status_open()
4716 struct airo_info *apriv = dev->ml_priv; in proc_stats_rid_open()
4768 static inline int sniffing_mode(struct airo_info *ai) in sniffing_mode()
4778 struct airo_info *ai = dev->ml_priv; in proc_config_on_close()
4989 struct airo_info *ai = dev->ml_priv; in proc_config_open()
5079 struct airo_info *ai = dev->ml_priv; in proc_SSID_on_close()
5114 struct airo_info *ai = dev->ml_priv; in proc_APList_on_close()
5144 static int do_writerid( struct airo_info *ai, u16 rid, const void *rid_data, in do_writerid()
5157 static int get_wep_key(struct airo_info *ai, u16 index, char *buf, u16 buflen) in get_wep_key()
5180 static int get_wep_tx_idx(struct airo_info *ai) in get_wep_tx_idx()
5200 static int set_wep_key(struct airo_info *ai, u16 index, const char *key, in set_wep_key()
5223 static int set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock) in set_wep_tx_idx()
5248 struct airo_info *ai = dev->ml_priv; in proc_wepkey_on_close()
5299 struct airo_info *ai = dev->ml_priv; in proc_wepkey_open()
5347 struct airo_info *ai = dev->ml_priv; in proc_SSID_open()
5390 struct airo_info *ai = dev->ml_priv; in proc_APList_open()
5429 struct airo_info *ai = dev->ml_priv; in proc_BSSList_open()
5507 struct airo_info *apriv = dev->ml_priv; in timer_func()
5578 struct airo_info *ai = dev->ml_priv; in airo_pci_suspend()
5611 struct airo_info *ai = dev->ml_priv; in airo_pci_resume()
5694 struct airo_info *ai; in airo_cleanup_module()
5696 ai = list_entry(airo_devices.next, struct airo_info, dev_list); in airo_cleanup_module()
5791 struct airo_info *local = dev->ml_priv; in airo_set_freq()
5832 struct airo_info *local = dev->ml_priv; in airo_get_freq()
5863 struct airo_info *local = dev->ml_priv; in airo_set_essid()
5908 struct airo_info *local = dev->ml_priv; in airo_get_essid()
5936 struct airo_info *local = dev->ml_priv; in airo_set_wap()
5971 struct airo_info *local = dev->ml_priv; in airo_get_wap()
5992 struct airo_info *local = dev->ml_priv; in airo_set_nick()
6015 struct airo_info *local = dev->ml_priv; in airo_get_nick()
6034 struct airo_info *local = dev->ml_priv; in airo_set_rate()
6104 struct airo_info *local = dev->ml_priv; in airo_get_rate()
6126 struct airo_info *local = dev->ml_priv; in airo_set_rts()
6150 struct airo_info *local = dev->ml_priv; in airo_get_rts()
6169 struct airo_info *local = dev->ml_priv; in airo_set_frag()
6194 struct airo_info *local = dev->ml_priv; in airo_get_frag()
6213 struct airo_info *local = dev->ml_priv; in airo_set_mode()
6276 struct airo_info *local = dev->ml_priv; in airo_get_mode()
6297 static inline int valid_index(struct airo_info *ai, int index) in valid_index()
6311 struct airo_info *local = dev->ml_priv; in airo_set_encode()
6411 struct airo_info *local = dev->ml_priv; in airo_get_encode()
6467 struct airo_info *local = dev->ml_priv; in airo_set_encodeext()
6573 struct airo_info *local = dev->ml_priv; in airo_get_encodeext()
6640 struct airo_info *local = dev->ml_priv; in airo_set_auth()
6708 struct airo_info *local = dev->ml_priv; in airo_get_auth()
6757 struct airo_info *local = dev->ml_priv; in airo_set_txpow()
6794 struct airo_info *local = dev->ml_priv; in airo_get_txpow()
6814 struct airo_info *local = dev->ml_priv; in airo_set_retry()
6852 struct airo_info *local = dev->ml_priv; in airo_get_retry()
6883 struct airo_info *local = dev->ml_priv; in airo_get_range()
7008 struct airo_info *local = dev->ml_priv; in airo_set_power()
7065 struct airo_info *local = dev->ml_priv; in airo_get_power()
7096 struct airo_info *local = dev->ml_priv; in airo_set_sens()
7115 struct airo_info *local = dev->ml_priv; in airo_get_sens()
7135 struct airo_info *local = dev->ml_priv; in airo_get_aplist()
7213 struct airo_info *ai = dev->ml_priv; in airo_set_scan()
7259 struct airo_info *ai = dev->ml_priv; in airo_translate_scan()
7435 struct airo_info *ai = dev->ml_priv; in airo_get_scan()
7479 struct airo_info *local = dev->ml_priv; in airo_config_commit()
7624 struct airo_info *ai = dev->ml_priv; in airo_ioctl()
7695 static void airo_read_wireless_stats(struct airo_info *local) in airo_read_wireless_stats()
7752 struct airo_info *local = dev->ml_priv; in airo_get_wireless_stats()
7777 struct airo_info *ai = dev->ml_priv; in readrids()
7843 struct airo_info *ai = dev->ml_priv; in writerids()
7846 static int (* writer)(struct airo_info *, u16 rid, const void *, int, int); in writerids()
7966 return cmdreset((struct airo_info *)dev->ml_priv); in flashcard()
7972 return setflashmode((struct airo_info *)dev->ml_priv); in flashcard()
7979 return flashgchar((struct airo_info *)dev->ml_priv, z, 8000); in flashcard()
7986 return flashpchar((struct airo_info *)dev->ml_priv, z, 8000); in flashcard()
7996 flashputbuf((struct airo_info *)dev->ml_priv); in flashcard()
8000 if (flashrestart((struct airo_info *)dev->ml_priv, dev)) in flashcard()
8015 static int cmdreset(struct airo_info *ai) { in cmdreset()
8039 static int setflashmode (struct airo_info *ai) { in setflashmode()
8066 static int flashpchar(struct airo_info *ai,int byte,int dwelltime) { in flashpchar()
8106 static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime){ in flashgchar()
8137 static int flashputbuf(struct airo_info *ai){ in flashputbuf()
8159 static int flashrestart(struct airo_info *ai,struct net_device *dev){ in flashrestart()