]> git.ipfire.org Git - thirdparty/hostap.git/commit
FST: Fix session setup failure with peer without MB IE
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>
Mon, 7 Mar 2016 13:22:54 +0000 (15:22 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 7 Mar 2016 16:04:47 +0000 (18:04 +0200)
commitcc1af6faed963a33809c6bcd4b590c44a64b0d96
tree0ef6c9589ffb2f9699dce4c6aa60ec51e9b42c06
parentdfe0745c9a8246400316879be0115cc119c4882f
FST: Fix session setup failure with peer without MB IE

Upon receiving FST setup request on old band, the peer is searched on
new band. The assumption is that MB IE from this peer on new band
previously received either in assoc event or in FST setup request.

There are cases in which above assumption doesn't work, peer is not
found and session setup fails. For example:
- STA connects over 11ac. Due to driver limitation, MB IE is not included
in assoc event
- STA connects over 11ad. MB IE included in assoc event.
- FST session established on 11ac band, with AP as initiator. i.e. FST
setup request sent in AP=>STA direction. STA searches for peer's (AP)
MB IE on 11ad band which exists.
- FST switch occur
- FST session established on 11ad band, with STA as initiator. i.e. FST
setup request sent in STA=>AP direction. AP searches for peer's (STA)
MB IE on 11ac band which are absent.

For fixing the above, consider also peers without MB IE as candidates in
the search algorithm.

Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
src/fst/fst_group.c