Lines Matching refs:apriv

1257 			     struct airo_info *apriv );
1259 struct airo_info *apriv );
4499 struct airo_info *apriv ) { in setup_proc_entry() argument
4502 strcpy(apriv->proc_name,dev->name); in setup_proc_entry()
4503 apriv->proc_entry = create_proc_entry(apriv->proc_name, in setup_proc_entry()
4506 if (!apriv->proc_entry) in setup_proc_entry()
4508 apriv->proc_entry->uid = proc_uid; in setup_proc_entry()
4509 apriv->proc_entry->gid = proc_gid; in setup_proc_entry()
4514 apriv->proc_entry, &proc_statsdelta_ops, dev); in setup_proc_entry()
4523 apriv->proc_entry, &proc_stats_ops, dev); in setup_proc_entry()
4532 apriv->proc_entry, &proc_status_ops, dev); in setup_proc_entry()
4541 apriv->proc_entry, &proc_config_ops, dev); in setup_proc_entry()
4550 apriv->proc_entry, &proc_SSID_ops, dev); in setup_proc_entry()
4559 apriv->proc_entry, &proc_APList_ops, dev); in setup_proc_entry()
4568 apriv->proc_entry, &proc_BSSList_ops, dev); in setup_proc_entry()
4577 apriv->proc_entry, &proc_wepkey_ops, dev); in setup_proc_entry()
4586 remove_proc_entry("BSSList", apriv->proc_entry); in setup_proc_entry()
4588 remove_proc_entry("APList", apriv->proc_entry); in setup_proc_entry()
4590 remove_proc_entry("SSID", apriv->proc_entry); in setup_proc_entry()
4592 remove_proc_entry("Config", apriv->proc_entry); in setup_proc_entry()
4594 remove_proc_entry("Status", apriv->proc_entry); in setup_proc_entry()
4596 remove_proc_entry("Stats", apriv->proc_entry); in setup_proc_entry()
4598 remove_proc_entry("StatsDelta", apriv->proc_entry); in setup_proc_entry()
4600 remove_proc_entry(apriv->proc_name, airo_entry); in setup_proc_entry()
4606 struct airo_info *apriv ) { in takedown_proc_entry() argument
4607 if ( !apriv->proc_entry->namelen ) return 0; in takedown_proc_entry()
4608 remove_proc_entry("Stats",apriv->proc_entry); in takedown_proc_entry()
4609 remove_proc_entry("StatsDelta",apriv->proc_entry); in takedown_proc_entry()
4610 remove_proc_entry("Status",apriv->proc_entry); in takedown_proc_entry()
4611 remove_proc_entry("Config",apriv->proc_entry); in takedown_proc_entry()
4612 remove_proc_entry("SSID",apriv->proc_entry); in takedown_proc_entry()
4613 remove_proc_entry("APList",apriv->proc_entry); in takedown_proc_entry()
4614 remove_proc_entry("BSSList",apriv->proc_entry); in takedown_proc_entry()
4615 remove_proc_entry("WepKey",apriv->proc_entry); in takedown_proc_entry()
4616 remove_proc_entry(apriv->proc_name,airo_entry); in takedown_proc_entry()
4674 struct airo_info *apriv = dev->ml_priv; in proc_status_open() local
4688 readStatusRid(apriv, &status_rid, 1); in proc_status_open()
4689 readCapabilityRid(apriv, &cap_rid, 1); in proc_status_open()
4757 struct airo_info *apriv = dev->ml_priv; in proc_stats_rid_open() local
4771 readStatsRid(apriv, &stats, rid, 1); in proc_stats_rid_open()
4778 airo_print_warn(apriv->dev->name, in proc_stats_rid_open()
4786 airo_print_warn(apriv->dev->name, "Got a short rid"); in proc_stats_rid_open()
5557 struct airo_info *apriv = dev->ml_priv; in timer_func() local
5560 readConfigRid(apriv, 0); in timer_func()
5561 disable_MAC(apriv, 0); in timer_func()
5562 switch(apriv->config.authType) { in timer_func()
5565 apriv->config.authType = AUTH_OPEN; in timer_func()
5568 if (apriv->keyindex < auto_wep) { in timer_func()
5569 set_wep_tx_idx(apriv, apriv->keyindex, 0, 0); in timer_func()
5570 apriv->config.authType = AUTH_SHAREDKEY; in timer_func()
5571 apriv->keyindex++; in timer_func()
5574 apriv->keyindex = 0; in timer_func()
5575 set_wep_tx_idx(apriv, apriv->defindex, 0, 0); in timer_func()
5576 apriv->config.authType = AUTH_ENCRYPT; in timer_func()
5580 apriv->config.authType = AUTH_SHAREDKEY; in timer_func()
5582 set_bit (FLAG_COMMIT, &apriv->flags); in timer_func()
5583 writeConfigRid(apriv, 0); in timer_func()
5584 enable_MAC(apriv, 0); in timer_func()
5585 up(&apriv->sem); in timer_func()
5588 clear_bit(JOB_AUTOWEP, &apriv->jobs); in timer_func()
5589 apriv->expires = RUN_AT(HZ*3); in timer_func()