|
|
iq->updated = IW_QUAL_ALL_UPDATED; | iq->updated = IW_QUAL_ALL_UPDATED; |
} | } |
| |
|
#if 0 |
static void | static void |
preempt_scan(struct net_device *dev, int max_grace, int max_wait) | preempt_scan(struct net_device *dev, int max_grace, int max_wait) |
{ | { |
|
|
__func__); | __func__); |
} | } |
} | } |
|
#endif |
static struct iw_statistics * | static struct iw_statistics * |
ieee80211_iw_getstats(struct net_device *dev) | ieee80211_iw_getstats(struct net_device *dev) |
{ | { |
|
|
/* XXX always manual... */ | /* XXX always manual... */ |
IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, | IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, |
"%s: active scan request\n", __func__); | "%s: active scan request\n", __func__); |
preempt_scan(dev, 100, 100); |
// preempt_scan(dev, 100, 100); |
#if WIRELESS_EXT > 17 | #if WIRELESS_EXT > 17 |
if (data && (data->flags & IW_SCAN_THIS_ESSID)) { | if (data && (data->flags & IW_SCAN_THIS_ESSID)) { |
struct iw_scan_req req; | struct iw_scan_req req; |