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