packet fate: include status code for auth+associate
During 802.11 authentication, we've seen wpa_supplicant
report error information that is at odds with
over-the-air traffic.
For systems that provide packet fate for these early
frames, we can gather better information about the
auth process from the frames themselves.
Specifically: we can include the status code in the
packet fate summary. Make it so.
While there:
- fix a whitespace issue in parseIeee80211FrameCtrlType()
- rename frameControlField, since it didn't really hold
all of the frame control info. (frameControlField
omitted the frame control flags.)
- modify some packet fate tests to be less specific about
expected whitespace; it's too hard to maintain the tests
when exact whitespace matching is required
BUG=28717266
TEST=unit tests
TEST=manual
Manual test
- configure hostapd to allow zero connections
- configure bullhead to connect to hostapd
$ adb shell dumpsys > /tmp/dumpsys
- verify that packet fate summary shows auth frame with status 17
Change-Id: Ib8742091d0a9acc7fdde0423229d150bf4c1c6d8
4 files changed