summaryrefslogtreecommitdiff
path: root/src/print_wireless_info.c
AgeCommit message (Collapse)Author
2020-02-10add wireless format-optionsFelix Buehler
2019-10-21wireless: update %signal and %quality based on station info on Linux (#368)Sascha Wessel
Use station info instead of bss info to update %signal and %quality. Bss info is based on scan info and doesn't get updated often. Station info get's updated with every beacon. Bss info still used as fallback.
2019-07-21On NetBSD, include sys/socket.h for AF_INET{,6}.Thomas Klausner
2019-01-23Switch to autotools (#316)Michael Stapelberg
2018-07-15Detect interface type on DragonFly BSDAntonio Huete Jimenez
2018-07-13able to print percentageFelix Buehler
its now possible to have percentage before and after a variable. except for the date. But percentage with dates does not make much sense to me, so i skipped it.
2018-06-29add format_quality option in wirelessFelix Buehler
2018-05-15Fix MacOS buildeplanet
2017-12-11Update comment as in #247 (#254)Emeric Planet
2017-12-11Add IPv6 address when IPv4 isn't available (#247)Emeric Planet
2017-01-31Include sys/select.h on OpenBSD (#198)Jasper Lievisse Adriaanse
Fixes a compilation error: /usr/include/net80211/ieee80211_ioctl.h:339: warning: implicit declaration of function 'howmany' /usr/include/net80211/ieee80211_ioctl.h:339: error: 'NBBY' undeclared here (not in a function) /usr/include/net80211/ieee80211_ioctl.h:339: error: variably modified 'nr_rxmcs' at file scope
2016-11-12Use blank padding for wireless quality (#166) (#167)Jon Bernard
2016-08-22print_wireless_info: fix FTBFS on hurd and kfreebsdMichael Stapelberg
Patch by Axel Beckert.
2016-08-14Make print_disk_info, print_eth_info and print_wireless_info compile on ↵Tommie Gannert
NetBSD without warnings.
2016-08-14Define IW_ESSID_MAX_SIZE for OpenBSD.Tommie Gannert
Also fixes a signedness warning.
2016-05-13Add ifdef to compile wireless_info on Mac (#127)Alexis Hildebrandt
2015-12-04Added support for Pango markup.Kenneth Lyons
2015-10-12Correctly calculate Wireless link qualityStefan Bader
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 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