Lines Matching full:threshold
110 * Standard Wireless Handler : set spy threshold
118 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in ipw_wx_set_thrspy() local
125 spydata->spy_thr_low = threshold->low; in ipw_wx_set_thrspy()
126 spydata->spy_thr_high = threshold->high; in ipw_wx_set_thrspy()
137 * Standard Wireless Handler : get spy threshold
145 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in ipw_wx_get_thrspy() local
152 threshold->low = spydata->spy_thr_low; in ipw_wx_get_thrspy()
153 threshold->high = spydata->spy_thr_high; in ipw_wx_get_thrspy()
161 * Prepare and send a Spy Threshold event
169 struct iw_thrspy threshold; in iw_send_thrspy_event() local
175 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
176 threshold.addr.sa_family = ARPHRD_ETHER; in iw_send_thrspy_event()
178 threshold.qual = *wstats; in iw_send_thrspy_event()
180 threshold.low = spydata->spy_thr_low; in iw_send_thrspy_event()
181 threshold.high = spydata->spy_thr_high; in iw_send_thrspy_event()
184 wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold); in iw_send_thrspy_event()
214 /* Generate an event if we cross the spy threshold. in libipw_spy_update()
216 * event only when we go under the low threshold or above the in libipw_spy_update()
217 * high threshold. */ in libipw_spy_update()