Lines Matching refs:new_wavepoint
632 wavepoint_history *new_wavepoint; in wl_new_wavepoint() local
641 new_wavepoint=(wavepoint_history *) kmalloc(sizeof(wavepoint_history),GFP_ATOMIC); in wl_new_wavepoint()
642 if(new_wavepoint==NULL) in wl_new_wavepoint()
645 new_wavepoint->nwid=nwid; /* New WavePoints NWID */ in wl_new_wavepoint()
646 new_wavepoint->average_fast=0; /* Running Averages..*/ in wl_new_wavepoint()
647 new_wavepoint->average_slow=0; in wl_new_wavepoint()
648 new_wavepoint->qualptr=0; /* Start of ringbuffer */ in wl_new_wavepoint()
649 new_wavepoint->last_seq=seq-1; /* Last sequence no.seen */ in wl_new_wavepoint()
650 memset(new_wavepoint->sigqual,0,WAVEPOINT_HISTORY);/* Empty ringbuffer */ in wl_new_wavepoint()
652 new_wavepoint->next=lp->wavepoint_table.head;/* Add to wavepoint table */ in wl_new_wavepoint()
653 new_wavepoint->prev=NULL; in wl_new_wavepoint()
656 lp->wavepoint_table.head->prev=new_wavepoint; in wl_new_wavepoint()
658 lp->wavepoint_table.head=new_wavepoint; in wl_new_wavepoint()
662 return new_wavepoint; in wl_new_wavepoint()