Some client events are duplicated and some of them are missing in the
client event report.
Root Cause 1: Processed clients events were not tagged in hostapd and
were thus getting duplicated during subsequent polling of client events.
Root Cause 2: Race between processing and clearing of client sessions
was leading to missing events.
Solution 1: Processed client events are tagged in hostapd and are reported only once.
Solution 2: Sessions are cleared only after they are processed by SM.
Also got rid of some unnecessary logs.
Acceptance Criteria: No duplicate client events in the mqtt report send by AP.
Sessions in the hostapd are successfully cleared after being processed by SM.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
Switch to a DFS channel by RRM failed
since cac was not being run. We set the Beacon
CSA IE and reload the interface with new channel.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
1. Set HT VHT HE based on the hw_mode
2. Set secondary frequency (center_freq1) based on bandwidth
3. Add HE parameter in ubus call switch_chan
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Sometimes we see a Client session created with sessionId=0,
and this never gets deleted. The AP keep on sending this event
as long as it exist in the events list.
SessionId=0 is invalid. Adding checks to avoid creating session
with Id=0. Also added a check in the opensync ubus to skip
already processed events.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Configure the following without vif reload:
Tx power
probe_response_threshold
client disconnect threshold
Beacon and multicast rates
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
wifi6 AP does not forward broadcast ARP request sent from one wifi
client to another wifi client. Enable proxy arp by default to have the
AP respond to ARP requests on behalf of the client.
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
If a previously associated-and-authorized STA comes for a new
connection (Assoc Request), AP rejects the Assoc with code 17.
Solution is to delete the STA entry at AP before re-adding the
STA entry. This clears out the state-machine at the AP and
accepts the new connection from the STA.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Fixes the following passpoint config params:
- Network Auth Type
- Connection Capability
- IP Address Availability
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
Add custom options to enable proxy arp and
mcast to ucast, this is used for Hotspot 2.0.
It is tested for ipv4.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
- Channel switch event is generated from hostapd and is sent to cloud
when AP switches channel due to high signal interference or radar detection.
The patch was missing in wifi6 hostapd and is added in this commit.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
WPA3-Enterprise Only mode requires that the AP enables at least
AKM suite selector 00-0F-AC:5 (IEEE 802.1X with SHA-256) and not
enable AKM suite selector: 00-0F-AC:1 (IEEE 802.1X with SHA-1).
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
When restarting wifi too fast, hapd will stop restarting as procd assumes it is
in a crash loop. Apply the upstream fix to the AX hostapd.sh file.
Signed-off-by: John Crispin <john@phrozen.org>
Latest CAF driver wont work with our current FW. Lets backport the relevant
patches instead. This basically gives use bss coloring, rnr, oob, ...
Signed-off-by: John Crispin <john@phrozen.org>