summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_radiotap.h
AgeCommit message (Collapse)Author
2006-06-23add an optional max_rssi attribute to the ieee80211com structure andReyk Floeter
allow to export the RSSI Max value with ioctls and by radiotap headers. ok damien@ jsg@ description: we currently use "dB" as an indication for the signal strength in ifconfig and in the radiotap headers. it means "decibel difference from an arbitrary, fixed reference". this is quite confusing, because different chipsets have different references for the dB/rssi values. we can use the plain RSSI which is described in IEEE 802.11: "The receive signal strength indicator (RSSI) is an optional parameter that has a value of 0 through RSSI Max.". all wireless chipsets have something like a RSSI (normally as a Rx descriptor field), but the value for RSSI Max is chipset-specific. if we know the RSSI Max, we can calculate a percentage which is much easier to understand for the user. we even don't have to use the absolute RSSI Max, we can use an average RSSI Max, figured out by monitoring and tuning the RSSI Max of the drivers. if the user gets a signal of 110%, it would mean "better than the average Max signal". there's no need to do any RSSI calculations in the kernel, it just passes the the relative rssi and max_rssi values to userspace. this is done in the ieee80211_nodereq ioctl structure and possible with a new radiotap header. the radiotap RSSI header allows to get a flexible but common signal indicator instead of the complex and unrelated dB/dBm signal fields. it must include two 8bit values current rssi and RSSI max.
2005-07-30remove a useless timeout after tx (decrease nasty delays whileReyk Floeter
scanning) and fix various other minor things in the ath(4) driver.
2005-05-25add ifconfig -M option to replace wicontrol -L and -l for ap scanningReyk Floeter
and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
2005-01-07add support for BIOCGDLTLIST and BIOCSDLT, see bpf(4)Reyk Floeter
ok canacar@, fgsch@, tested by some other people
2004-12-30replace __attribute__((__packed__)) with __packed.Reyk Floeter
2004-12-25in real C, there is not , after the last enum entry; ok reykTheo de Raadt
2004-11-02some changes merged in from netbsd. ieee80211_regdomain.# will be usedReyk Floeter
by sdr (software defined radios). ok deraadt@ millert@ damien@
2004-06-22Import current NetBSD/FreeBSD 802.11 framework.Todd C. Miller
Based in part on a diff from Matthew Gream.