3f81ac0762
Previously, stations were added to the driver only after the (Re)Association Response frame was acked. In the time period between the station has acked the (Re)Association Response frame and the time the station was added to the kernel, the station can already start sending Data frames, which will be dropped by the hardware/driver. In addition to the data loss, the driver may ignore NDPs with PM bit set from this STA. Fix this by setting/adding the STA with associated flag set to the driver before the AP sends the (Re)Association Response frame with status success. If the (Re)Association Response frame wasn't acked, remove the station from the driver. Note that setting a station to associated state before the non-AP station acknowledges the (Re)Association Response frame is not compliant with the IEEE 802.11 standard that specifically states that a non-AP station should transition to authenticated/associated state only after it acknowledged the (Re)Association Response frame. However, this is a justifiable simplification to work around the issue described above since 1. The station will be removed in case it does not acknowledge the (Re)Association Response frame. 2. All Data frames would be dropped until the station is set to authorized state and there are no known issues with processing the other Class 3 frames during the short window before the acknowledgement is seen. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> |
||
---|---|---|
.. | ||
accounting.c | ||
accounting.h | ||
acs.c | ||
acs.h | ||
ap_config.c | ||
ap_config.h | ||
ap_drv_ops.c | ||
ap_drv_ops.h | ||
ap_list.c | ||
ap_list.h | ||
ap_mlme.c | ||
ap_mlme.h | ||
authsrv.c | ||
authsrv.h | ||
beacon.c | ||
beacon.h | ||
bss_load.c | ||
bss_load.h | ||
ctrl_iface_ap.c | ||
ctrl_iface_ap.h | ||
dfs.c | ||
dfs.h | ||
dhcp_snoop.c | ||
dhcp_snoop.h | ||
drv_callbacks.c | ||
eap_user_db.c | ||
gas_serv.c | ||
gas_serv.h | ||
hostapd.c | ||
hostapd.h | ||
hs20.c | ||
hs20.h | ||
hw_features.c | ||
hw_features.h | ||
iapp.c | ||
iapp.h | ||
ieee802_1x.c | ||
ieee802_1x.h | ||
ieee802_11.c | ||
ieee802_11.h | ||
ieee802_11_auth.c | ||
ieee802_11_auth.h | ||
ieee802_11_ht.c | ||
ieee802_11_shared.c | ||
ieee802_11_vht.c | ||
Makefile | ||
ndisc_snoop.c | ||
ndisc_snoop.h | ||
p2p_hostapd.c | ||
p2p_hostapd.h | ||
peerkey_auth.c | ||
pmksa_cache_auth.c | ||
pmksa_cache_auth.h | ||
preauth_auth.c | ||
preauth_auth.h | ||
sta_info.c | ||
sta_info.h | ||
tkip_countermeasures.c | ||
tkip_countermeasures.h | ||
utils.c | ||
vlan.c | ||
vlan.h | ||
vlan_init.c | ||
vlan_init.h | ||
vlan_util.c | ||
vlan_util.h | ||
wmm.c | ||
wmm.h | ||
wnm_ap.c | ||
wnm_ap.h | ||
wpa_auth.c | ||
wpa_auth.h | ||
wpa_auth_ft.c | ||
wpa_auth_glue.c | ||
wpa_auth_glue.h | ||
wpa_auth_i.h | ||
wpa_auth_ie.c | ||
wpa_auth_ie.h | ||
wps_hostapd.c | ||
wps_hostapd.h | ||
x_snoop.c | ||
x_snoop.h |