Lines Matching refs:apriv

1265 			     struct airo_info *apriv);
1267 struct airo_info *apriv);
4542 struct airo_info *apriv) in setup_proc_entry() argument
4547 strcpy(apriv->proc_name, dev->name); in setup_proc_entry()
4548 apriv->proc_entry = proc_mkdir_mode(apriv->proc_name, airo_perm, in setup_proc_entry()
4550 if (!apriv->proc_entry) in setup_proc_entry()
4552 proc_set_user(apriv->proc_entry, proc_kuid, proc_kgid); in setup_proc_entry()
4556 apriv->proc_entry, &proc_statsdelta_ops, dev); in setup_proc_entry()
4563 apriv->proc_entry, &proc_stats_ops, dev); in setup_proc_entry()
4570 apriv->proc_entry, &proc_status_ops, dev); in setup_proc_entry()
4577 apriv->proc_entry, &proc_config_ops, dev); in setup_proc_entry()
4584 apriv->proc_entry, &proc_SSID_ops, dev); in setup_proc_entry()
4591 apriv->proc_entry, &proc_APList_ops, dev); in setup_proc_entry()
4598 apriv->proc_entry, &proc_BSSList_ops, dev); in setup_proc_entry()
4605 apriv->proc_entry, &proc_wepkey_ops, dev); in setup_proc_entry()
4612 remove_proc_subtree(apriv->proc_name, airo_entry); in setup_proc_entry()
4617 struct airo_info *apriv) in takedown_proc_entry() argument
4619 remove_proc_subtree(apriv->proc_name, airo_entry); in takedown_proc_entry()
4676 struct airo_info *apriv = dev->ml_priv; in proc_status_open() local
4690 readStatusRid(apriv, &status_rid, 1); in proc_status_open()
4691 readCapabilityRid(apriv, &cap_rid, 1); in proc_status_open()
4760 struct airo_info *apriv = dev->ml_priv; in proc_stats_rid_open() local
4774 readStatsRid(apriv, &stats, rid, 1); in proc_stats_rid_open()
4781 airo_print_warn(apriv->dev->name, in proc_stats_rid_open()
4789 airo_print_warn(apriv->dev->name, "Got a short rid"); in proc_stats_rid_open()
5563 struct airo_info *apriv = dev->ml_priv; in timer_func() local
5566 readConfigRid(apriv, 0); in timer_func()
5567 disable_MAC(apriv, 0); in timer_func()
5568 switch(apriv->config.authType) { in timer_func()
5571 apriv->config.authType = AUTH_OPEN; in timer_func()
5574 if (apriv->keyindex < auto_wep) { in timer_func()
5575 set_wep_tx_idx(apriv, apriv->keyindex, 0, 0); in timer_func()
5576 apriv->config.authType = AUTH_SHAREDKEY; in timer_func()
5577 apriv->keyindex++; in timer_func()
5580 apriv->keyindex = 0; in timer_func()
5581 set_wep_tx_idx(apriv, apriv->defindex, 0, 0); in timer_func()
5582 apriv->config.authType = AUTH_ENCRYPT; in timer_func()
5586 apriv->config.authType = AUTH_SHAREDKEY; in timer_func()
5588 set_bit (FLAG_COMMIT, &apriv->flags); in timer_func()
5589 writeConfigRid(apriv, 0); in timer_func()
5590 enable_MAC(apriv, 0); in timer_func()
5591 up(&apriv->sem); in timer_func()
5594 clear_bit(JOB_AUTOWEP, &apriv->jobs); in timer_func()
5595 apriv->expires = RUN_AT(HZ*3); in timer_func()