When iwm(4) firmware reports missed beacons, send a probe request only
authorstsp <stsp@openbsd.org>
Fri, 2 Jun 2017 11:18:37 +0000 (11:18 +0000)
committerstsp <stsp@openbsd.org>
Fri, 2 Jun 2017 11:18:37 +0000 (11:18 +0000)
commitdfc4a70d3bb5bdd4dda4101af9e80eda14e13536
tree1390705259d704543dc18c05c72a45719d05cf50
parentc044966f9058551cced09fbe75b95fb7827f6880
When iwm(4) firmware reports missed beacons, send a probe request only
if ic_mgt_timer indicates that we're not already waiting for a response.
Fixes a flood of probe requests sent out while the interrupt kept firing.

Also, byteswap the missed beacon counter value when reading it.

ok mpi@
sys/dev/pci/if_iwm.c