Re: [PATCH] Reduce delay between Assoc REQ and Assoc RESP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 01, 2023 at 07:51:49AM +0000, Jurijs Soloveckis wrote:
> There is a delay between sending association response after association request, 
> due to the fact that between receiving the request and sending the response the beacon is updated, after analyzing inputs from the STA.
> There may be several updates if multiple fields need to change.
> This can cause issues with some devices in noisy environments with many VAPs and connected STAs.
> The solution:
> 1. Handle the beacon update after the association response is sent.
> 2. Consolidate all the beacon updates to one operation.

> diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
> @@ -4437,7 +4437,8 @@ static void ieee80211_ml_process_link(struct hostapd_data *hapd,
>         }
>         hapd->sta_aid[(sta->aid - 1) / 32] |= BIT((sta->aid - 1) % 32);
>         sta->listen_interval = origin_sta->listen_interval;
> -       update_ht_state(hapd, sta);
> +       if (update_ht_state(hapd, sta) > 0)
> +               ieee802_11_set_beacons(hapd->iface);

This is whitespace damaged (at least tabs replaced with eight spaces,
trailing spaces removed) and as such, does not apply. Would you be able
to send this in a manner that does not message formatting?

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux