Lines Matching refs:nwid
617 wavepoint_history *wl_roam_check(unsigned short nwid, net_local *lp) in wl_roam_check() argument
622 if(ptr->nwid==nwid) in wl_roam_check()
630 wavepoint_history *wl_new_wavepoint(unsigned short nwid, unsigned char seq, net_local* lp) in wl_new_wavepoint() argument
635 printk(KERN_DEBUG "WaveLAN: New Wavepoint, NWID:%.4X\n",nwid); in wl_new_wavepoint()
645 new_wavepoint->nwid=nwid; /* New WavePoints NWID */ in wl_new_wavepoint()
713 printk(KERN_DEBUG "WaveLAN: Bye bye %.4X\n",wavepoint->nwid); in wl_cell_expiry()
778 printk(KERN_DEBUG "WaveLAN: Doing handover to %.4X, dev %s\n",wavepoint->nwid,lp->dev->name); in wv_roam_handover()
784 m.w.mmw_netw_id_l = wavepoint->nwid & 0xFF; in wv_roam_handover()
785 m.w.mmw_netw_id_h = (wavepoint->nwid & 0xFF00) >> 8; in wv_roam_handover()
803 unsigned short nwid=ntohs(beacon->nwid); in wl_roam_gather() local
810 nwid=nwid^ntohs(beacon->domain_id); in wl_roam_gather()
815 printk(KERN_DEBUG "Domain: %.4X NWID: %.4X SigQual=%d\n",ntohs(beacon->domain_id),nwid,sigqual); in wl_roam_gather()
820 wavepoint=wl_roam_check(nwid,lp); /* Find WavePoint table entry */ in wl_roam_gather()
823 wavepoint=wl_new_wavepoint(nwid,beacon->seq,lp); in wl_roam_gather()
1199 lp->wstats.discard.nwid += (m.mmr_wrong_nwid_h << 8) | m.mmr_wrong_nwid_l; in wv_mmc_show()
1941 if(!wrq->u.nwid.disabled)
1944 psa.psa_nwid[0] = (wrq->u.nwid.value & 0xFF00) >> 8;
1945 psa.psa_nwid[1] = wrq->u.nwid.value & 0xFF;
1947 if(wrq->u.nwid.on)
1950 psa.psa_nwid[0] = (wrq->u.nwid.nwid & 0xFF00) >> 8;
1951 psa.psa_nwid[1] = wrq->u.nwid.nwid & 0xFF;
1983 wrq->u.nwid.value = (psa.psa_nwid[0] << 8) + psa.psa_nwid[1];
1984 wrq->u.nwid.disabled = !(psa.psa_nwid_select);
1985 wrq->u.nwid.fixed = 1; /* Superfluous */
1987 wrq->u.nwid.nwid = (psa.psa_nwid[0] << 8) + psa.psa_nwid[1];
1988 wrq->u.nwid.on = psa.psa_nwid_select;
2602 wstats->discard.nwid += (m.mmr_wrong_nwid_h << 8) | m.mmr_wrong_nwid_l;