Lines Matching full:threshold
108 * Standard Wireless Handler : set spy threshold
116 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_set_thrspy() local
123 spydata->spy_thr_low = threshold->low; in iw_handler_set_thrspy()
124 spydata->spy_thr_high = threshold->high; in iw_handler_set_thrspy()
135 * Standard Wireless Handler : get spy threshold
143 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_get_thrspy() local
150 threshold->low = spydata->spy_thr_low; in iw_handler_get_thrspy()
151 threshold->high = spydata->spy_thr_high; in iw_handler_get_thrspy()
159 * Prepare and send a Spy Threshold event
167 struct iw_thrspy threshold; in iw_send_thrspy_event() local
173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
174 threshold.addr.sa_family = ARPHRD_ETHER; in iw_send_thrspy_event()
176 threshold.qual = *wstats; in iw_send_thrspy_event()
178 threshold.low = spydata->spy_thr_low; in iw_send_thrspy_event()
179 threshold.high = spydata->spy_thr_high; in iw_send_thrspy_event()
182 wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold); in iw_send_thrspy_event()
212 /* Generate an event if we cross the spy threshold. in wireless_spy_update()
214 * event only when we go under the low threshold or above the in wireless_spy_update()
215 * high threshold. */ in wireless_spy_update()