if_iwm: Make the wifi LED work with iwm(4).
authorImre Vadász <imre@vdsz.com>
Fri, 1 Jan 2016 21:41:23 +0000 (22:41 +0100)
committerImre Vadász <imre@vdsz.com>
Fri, 1 Jan 2016 21:54:05 +0000 (22:54 +0100)
commit22380cdd4c1587261b62217362cc2b9736046237
tree28acf1e4335c796741085868e387026f900ccfa2
parentec7b634429fbe2a62bc7e2237e620b1fb948a2ea
if_iwm: Make the wifi LED work with iwm(4).

- While the wifi device is scanning or trying to associate, the LED
  should blink now.
- When associated to a wifi network, the LED will stop blinking and stay
  enabled.

Taken-From: OpenBSD
sys/dev/netif/iwm/Makefile
sys/dev/netif/iwm/if_iwm.c
sys/dev/netif/iwm/if_iwm_led.c [new file with mode: 0644]
sys/dev/netif/iwm/if_iwm_led.h [new file with mode: 0644]
sys/dev/netif/iwm/if_iwmvar.h