aboutsummaryrefslogtreecommitdiff
path: root/src/print_wireless_info.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22print_wireless_info: fix FTBFS on hurd and kfreebsdMichael Stapelberg1-0/+4
Patch by Axel Beckert.
2016-08-14Make print_disk_info, print_eth_info and print_wireless_info compile on ↵Tommie Gannert1-0/+6
NetBSD without warnings.
2016-08-14Define IW_ESSID_MAX_SIZE for OpenBSD.Tommie Gannert1-1/+2
Also fixes a signedness warning.
2016-05-13Add ifdef to compile wireless_info on Mac (#127)Alexis Hildebrandt1-0/+4
2015-12-04Added support for Pango markup.Kenneth Lyons1-1/+1
2015-10-12Correctly calculate Wireless link qualityStefan Bader1-1/+1
Wireless quality was stuck at 100% due to a signed with unsigned integer division.
2015-10-08Fix build under FreeBSD after recent changes for Linux.John Baldwin1-0/+4
2015-10-04Added support for lemonbarBrendan Van Hook1-3/+3
2015-09-25document code originsMichael Stapelberg1-2/+3
fixes #65
2015-09-25Fix comparison between signed/unsigned warning for realMichael Stapelberg1-1/+1
2015-09-25use proper unsigned type for ESSID lengthMichael Stapelberg1-1/+1
2015-09-25use nlmsg_data instead of the too-new genlmsg_hdrMichael Stapelberg1-1/+1
2015-09-25use NL80211_RATE_INFO_BITRATE (16-bit)Michael Stapelberg1-4/+4
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 Stapelberg1-108/+219
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 Baldwin1-19/+30
- 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. Czarkoff1-1/+1
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 Adriaanse1-3/+2
This makes the value for %signal match ifconfig(8) in all cases.
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg1-331/+328
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 Tynkkynen1-0/+15
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 Stapelberg1-4/+3
2013-01-24wifi: properly display ad-hoc networksAdrien Schildknecht1-0/+9
No statistics are displayed with ad-hoc networks since none are available.
2012-11-15DragonFlyBSD support addedScott Tincman1-1/+14
2012-10-16i3status - Handle down wireless interfaces just like ethernet interfaces ↵Jasper Lievisse Adriaanse1-3/+12
(e.g. colors)
2012-10-10Implement %essid and %signal for wireless on OpenBSD.Jasper Lievisse Adriaanse1-0/+75
2012-04-08add yajl compat codeMichael Stapelberg1-0/+2
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-36/+27
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+9
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 Daroussin1-0/+76
2011-07-21Fix FTBFS on kFreeBSDAxel Beckert1-0/+5
2010-09-22Implement displaying the wireless connection speed (Thanks Felicitus)Michael Stapelberg1-0/+14
Based on a patch by Felicitus.
2010-07-04Support customized colors.Fernando Tarlá Cardoso Lemos1-2/+2
2010-06-30Don't leak skfd on errors. Don't spam stderr if the iface isn't present.Fernando Tarlá Cardoso Lemos1-1/+1
2010-06-25Evaluate wireless quality average. Fix dBm calculations.Fernando Tarlá Cardoso Lemos1-76/+163
2010-06-25wireless: fix formatsMichael Stapelberg1-2/+2
2010-06-24Display wireless quality as percentageMichael Stapelberg1-1/+1
2010-06-24Take into account the wireless quality maximum.Fernando Tarlá Cardoso Lemos1-14/+49
2010-04-19Treat the interface as 'down' when it cannot be found in /proc/net/wireless ↵Michael Stapelberg1-5/+1
(Thanks to Fabio Zanini)
2010-01-26wireless: display no IP instead of (null)Michael Stapelberg1-1/+4
2010-01-11Fix FTBFS on kFreeBSD and Hurd: libiw is Linux-onlyAxel Beckert1-0/+3
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-0/+92
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.