Changeset 2420

Show
Ignore:
Timestamp:
06/02/07 01:48:47 (2 years ago)
Author:
mentor
Message:

Remove minimum RSSI requirements from scan results. I do not believe that this is a condition that should be imposed at this level; especially as RSSI is arbitary.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/net80211/ieee80211_scan_sta.c

    r2412 r2420  
    6464#define STA_FAILS_AGE   (2 * 60)        /* time before clearing fails (secs) */ 
    6565#define STA_PURGE_SCANS 2               /* age for purging entries (scans) */ 
    66  
    67 /* XXX tunable */ 
    68 #define STA_RSSI_MIN    8               /* min acceptable rssi */ 
    6966 
    7067#define RSSI_LPF_LEN    10 
     
    778775        if (se0->se_notseen >= STA_PURGE_SCANS) 
    779776                fail |= 0x80; 
    780         if (se->se_rssi < STA_RSSI_MIN) 
    781                 fail |= 0x100; 
    782777#ifdef IEEE80211_DEBUG 
    783778        if (ieee80211_msg_is_reported(vap, IEEE80211_MSG_SCAN | IEEE80211_MSG_ROAM)) { 
     
    790785                printf(" %3d%c", ieee80211_chan2ieee(ic, se->se_chan), 
    791786                        fail & 0x01 ? '!' : ' '); 
    792                 printf(" %+4d%c", se->se_rssi, fail & 0x100 ? '!' : ' '); 
     787                printf(" %+4d", se->se_rssi); 
    793788                printf(" %2dM%c", (rate & IEEE80211_RATE_VAL) / 2, 
    794789                        fail & 0x08 ? '!' : ' ');