summaryrefslogtreecommitdiff
path: root/src/print_wireless_info.c
AgeCommit message (Collapse)Author
2015-10-08Fix build under FreeBSD after recent changes for Linux.John Baldwin
2015-10-04Added support for lemonbarBrendan Van Hook
2015-09-25document code originsMichael Stapelberg
fixes #65
2015-09-25Fix comparison between signed/unsigned warning for realMichael Stapelberg
2015-09-25use proper unsigned type for ESSID lengthMichael Stapelberg
2015-09-25use nlmsg_data instead of the too-new genlmsg_hdrMichael Stapelberg
2015-09-25use NL80211_RATE_INFO_BITRATE (16-bit)Michael Stapelberg
NL80211_RATE_INFO_BITRATE32 is not available widely enough yet (the libc used by travis doesn’t have it yet, for example).
2015-09-24wireless (linux): switch from libiw to libnlMichael Stapelberg
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov fixes #32 fixes #52
2015-09-15Fix various issues with wireless information under FreeBSD:John Baldwin
- Instead of hoping that the currently associated AP will show up as the first AP in the list of scan results, fetch the BSSID of the currently associated AP and use that to fetch station info for the AP. This provides more frequently updated signal strength information than scan results and reliably provides information when multiple APs are in range. - Do not treat the RSSI value as a raw signal value in dBm. Instead, use the same formula as ifconfig(8) to compute a signal value. - Do not report the beacon interval value as a signal quality level.
2015-08-06Use "color_degraded" when interface has no IPDmitrij D. Czarkoff
On laptops one may want to have all interfaces up in order to let network prioritization manage switching between wired and wireless connection. In such cases lack of IP address is a useful hint about currently used interface, and color-coding makes it stand out more.
2015-04-04Use the maximum rssi, not the scaled percentage for the signal level.Jasper Lievisse Adriaanse
This makes the value for %signal match ifconfig(8) in all cases.
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3status.
2014-12-03i3status: Support %frequency for wireless interfacesTuomas Tynkkynen
In many public WiFis, the 2.4 GHz wireless band is slow due to congestion, while there is still plenty of bandwidth available on the 5 GHz area. So when debugging wireless issues it's convenient to have i3status display the frequency of the access point that the interface is connected to. This patch adds support for the %frequency tag for wireless interfaces, so for example: format_up = "WLAN: %essid - %quality / %frequency" would result in: "WLAN: eduroam - 074% / 2.4 GHz"
2013-02-26wireless: call START_COLOR only once (Thanks XTaran)Michael Stapelberg
2013-01-24wifi: properly display ad-hoc networksAdrien Schildknecht
No statistics are displayed with ad-hoc networks since none are available.
2012-11-15DragonFlyBSD support addedScott Tincman
2012-10-16i3status - Handle down wireless interfaces just like ethernet interfaces ↵Jasper Lievisse Adriaanse
(e.g. colors)
2012-10-10Implement %essid and %signal for wireless on OpenBSD.Jasper Lievisse Adriaanse
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-07-24Support wifi on FreeBSDBaptiste Daroussin
2011-07-21Fix FTBFS on kFreeBSDAxel Beckert
2010-09-22Implement displaying the wireless connection speed (Thanks Felicitus)Michael Stapelberg
Based on a patch by Felicitus.
2010-07-04Support customized colors.Fernando Tarlá Cardoso Lemos
2010-06-30Don't leak skfd on errors. Don't spam stderr if the iface isn't present.Fernando Tarlá Cardoso Lemos
2010-06-25Evaluate wireless quality average. Fix dBm calculations.Fernando Tarlá Cardoso Lemos
2010-06-25wireless: fix formatsMichael Stapelberg
2010-06-24Display wireless quality as percentageMichael Stapelberg
2010-06-24Take into account the wireless quality maximum.Fernando Tarlá Cardoso Lemos
2010-04-19Treat the interface as 'down' when it cannot be found in /proc/net/wireless ↵Michael Stapelberg
(Thanks to Fabio Zanini)
2010-01-26wireless: display no IP instead of (null)Michael Stapelberg
2010-01-11Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-onlyAxel Beckert
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg
We finally switched to libconfuse for a configuration file format which does not require much work for the programmer nor for the user. Plus, it avoids the Not-Invented-Here syndrome of yet another config file format. Furthermore, as a consequence of providing format strings for every "module" (ipv6, wireless, …), we directly print the output and thus we needed to drop support for wmii. This allowed us to get rid of quite some complexity. Documentation about the new configuration file and options will follow. This commit is the beginning of what will be i3status v2.0.