Partial fix for wifi-1737:
Use of current DHCP sniffing library from opensync increases
memory footprint of nm with increased number of vlans.
This patch restricts DHCP sniffing on a maximum of 4 vlans.
This is a workaround and actual fix would be to use a better
packet filter such as eBPF
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
Remove NOR factory image for tplink-ex447/ex227 as now its
switched to nand based image.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
A netlink request to fetch the current channel was leading to a race condition.
Since the current channel is already reported by nl events, the redundant code
is removed.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
This was causing sporadic issues where the q6 did not reboot into proper runstate
post coldboot calibration.
Signed-off-by: John Crispin <john@phrozen.org>
Generate factory nand images for tp-link ex447 and ex227.
This image is used to flash for migrating from stock qsdk
image to tip openwrt image using the nand flash.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This patch will add the support to enable captive portal on multiple ssid's with same
captive portal profile
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
Fix for Memory corruption observed in SM.
This was also the cause for missing SSID and band reporting
inside client events.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
IP event protobuf expects ip address to be in the form of bytes.
Added the missing conversion.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
This patch primarily reverts fdf5bb6e96
(opensync: add average STA RSSI tracking). Netlink request to track STA RSSI
every 10 secs was leading to a race condition because the receive callback
for the request was also used to receive rest of the nl80211 events.
This was resulting in lost messages and hence VIF State was not getting populated correctly.
Now, the code to poll for STA RSSI in opensync is redundant and is not used because STA RSSI is already
tracked in hostapd. Removing it solves the redundancy and the race.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
This patch will add support to detect the offset of the bitmask before
configuring MIMO mode on AP
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
set ieee80211w as 2 which enables the requirement
for PMF to be mandatory for wpa3 mode.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
- Hostapd will have a list of channels which it is allowed to switch to after receiving DFS event.
- cpp check switched from 1.82 to 1.90-4 so some code changes in redirclient.c and captive.c for passing static analysis.
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
Add support for dynamic vlan in custom_options:
dynamic_vlan (values 0 1 and 2)
0 - disabled
1 - enabled
2 - enabled and reject if Radius server doesnt have Dynamic VLAN
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This patch will resolve the radio config fail problem, when tx
power configured more than allowed operational range of AP.
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>