]> git.ipfire.org Git - thirdparty/hostap.git/commit
GAS: End remain-on-channel due to delayed GAS comeback request
authorMatti Gottlieb <matti.gottlieb@intel.com>
Thu, 10 Dec 2015 10:56:08 +0000 (12:56 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 18 Dec 2015 18:32:53 +0000 (20:32 +0200)
commit2c0d0ae370f72fbe6248feed7ea0635303e3dc5a
tree9344488900da98dc87159949f415c3f0d923c0bf
parentdabdef9e048b17b22b1c025ad592922eab30dda8
GAS: End remain-on-channel due to delayed GAS comeback request

During the sequence of exchanging GAS frames with the AP, the AP can
request to come back in X amount of time and resend the GAS request.

Previously, wpa_supplicant did not terminate the remain-on-channel
session, but rather waited until the requested comeback delay had
expired, and then tried to send the GAS frame (potentially to save the
time that is required to schedule a new remain on channel flow).

This might cause unnecessary idle time (can be close to 1000 ms) in
which the device might be off-channel. Ending the current
remain-on-channel session and then rescheduling makes better usage of
the time in this case.

End remain-on-channel session due to receiving a delayed GAS comeback
request from the AP.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
wpa_supplicant/gas_query.c