Andrew Zaborowski
3d9cbdb6f6
ap: Drop two unneeded DEL_KEY commands
...
DEL_KEY is not needed and will return errors right after NEW_STATION or
right after DEL_STATION. In both cases the kernel makes sure there are
no old keys for the station already.
2017-10-12 10:46:17 -05:00
Andrew Zaborowski
3c64d21e34
ap: Use ie_tlv_builder in ap_build_beacon_pr_head
2017-10-12 10:46:14 -05:00
Andrew Zaborowski
aca698573f
ap: Handle netdev DOWN event
2017-09-22 12:44:41 -05:00
Andrew Zaborowski
251edd2557
ap: Handle PTK handshake frame 4/4
...
Handle the 4-Way Handshake last frame, install keys, enable data frames
on the controlled port.
2017-09-22 12:44:17 -05:00
Andrew Zaborowski
a3361c5077
ap: Handle PTK handshake frame 2/4, send frame 3/4
2017-09-22 12:43:09 -05:00
Andrew Zaborowski
c505de3582
ap: Send PTK handshake frame 1 of 4
2017-09-22 12:41:41 -05:00
Andrew Zaborowski
29ee350ec3
ap: Handle Association / Disassociation
...
Parse Association Request frames and send Association Responses, handle
Disassociation. With this we should be able to receive uncontrolled
port data frames since we register the STAs with the kernel.
In this version I don't register for Reassociation frames.
2017-09-22 12:32:19 -05:00
Andrew Zaborowski
1842fe542b
ap: Handle Authentication and Deauthentication frames
...
Parse authentication frames and send responses, manage a list of STAs.
2017-09-22 12:29:33 -05:00
Andrew Zaborowski
d8378c5a0f
ap: Handle Probe Request frames
...
Parse probe requests and send probe responses to show up in active
scans.
2017-09-22 12:26:06 -05:00
Andrew Zaborowski
2ebc64db55
ap: Build and send NL80211_CMD_START_AP and STOP_AP
...
This should be enough for the AP to start sending beacons and appear in
a passive scan.
2017-09-12 14:33:03 -05:00
Andrew Zaborowski
212bc08104
ap: Add AP mode api
...
Very basic WPA2-PSK only access point mode API with stubs of the start and
stop functions.
2017-09-12 14:29:34 -05:00