Add FILS support to hostapd

Hi everyone!

I've recently been interested in enabling FILS support in OpenWRT and as recently the patch disabling FILS has been removed I thought it was the perfect opportunity to enable it.

I have little knowledge of scripting so my script may be far from perfect so anyone is welcome to help!
If you think I should make a pull request to work there on this feature let me know.

As for the results of the current work developed it is partially working, in the sense that, when enabled with:

option 80211ai '1'

The AP comes up and in the beacons I can see the FILS capability, the RSN authentication and the FILS Indication tag, the Windows laptops can connect to the wifi but the android phones can't... I believe this is because the windows devices don't support FILS so they use the other authentication methods available (?).
Once I can I'll do a capture with a wifi monitor to see what is happening.

In the meantime here is my repo:

Thanks!

hello, i'm also interested in enabling FILS
I am running 23.05.0-rc3 on Archer A7v5
It shows FILS_STA as supported in "iw list"

I tried enabling it via
option 80211ai '1'
everything works fine and all my client can connect to it, but I can't see any FILS capability or any sort of tag in beacon frames via wireshark.
Which option should I be looking at in beacon advertisement in wireshark to make sure it's working?

i had to add these 2 options to get the FILS supported advertisement in Beacon frames,

        option 80211ai '1'                                                              
        option fils '1'

EDIT: Although FILS was enabled via above config. But none of my Android/iOS devices were roaming from one AP to another. They were simply disconnecting from previous AP, then connecting to new one after a while when roaming inside the house.
So i disabled FILS, and went back to 802.11k/v/r with DAWN and it's all smooth now.
Just leaving my findings here.
Tested on 22.05.3 on Archer A7v5

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.