Commit Graph

290 Commits

Author SHA1 Message Date
ravi vaishnav
d2eaffae16 wifi-1614 Disable-TX_STBC-when-configuring-1x1
Added support to update the TX-STBC capability if only single Tx-antenna is available

Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
2021-03-12 13:05:17 -05:00
Yashvardhan
ca7b766171 wifi-1704: Wifi6 Add missing hostapd patch for client events
Added missing client events support to wifi6-hostapd

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-03-11 19:38:03 -05:00
John Crispin
9d13fc7330 ipq807x: add 512MB profile
This greatly improves the memory issues that we were seeing on QCA/AX.

Signed-off-by: John Crispin <john@phrozen.org>
2021-03-11 16:31:13 +01:00
Rick Sommerville
34b495c94c WIFI-1549 Fix Wifi6 SM crash
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-03-09 11:44:40 -05:00
Ammad Rehmat
623afeafd3 Wifi-1666 : Fix for reflecting the actual channel value in wifi radio state
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-03-08 18:42:09 -05:00
Yashvardhan
799d5bfe9b wifi-1514: Fix SM crash
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>
2021-03-04 13:03:47 -05:00
Chaitanya Godavarthi
5a57c8e2b1 opensync: Add Local power constraint radio option
Add local_power_constraint radio params

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-26 09:31:27 -05:00
Yashvardhan
685c25424a Wifi-1470 Fix missing ip string to bytes conversion
IP event protobuf expects ip address to be in the form of bytes.
Added the missing conversion.

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-02-26 09:21:02 -05:00
Yashvardhan
c6ebc8bec7 Wifi-1572 Repair VIF_State to show the correct number of associated clients
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>
2021-02-25 09:07:41 -05:00
Ammad Rehmat
79a65c2985 Wifi-1623 : Any event coming from hostapd with 5G frequency will be treated as coming from 5G radio not 5gU/5gL
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-24 19:17:33 -05:00
Yashvardhan
00d39a0835 Wifi-1572 Increase nl socket buffer size
Partial fix for Wifi-1572

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-02-24 15:09:25 -05:00
Rick Sommerville
d2873b935e Wifi-1637 Configure max associate clients per radio
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-02-23 20:54:32 -05:00
Nagendrababu
9215aac0f9 WIFI-1531-captive-portal-parameters-update-error
This patch will fix latest parameters update error from captive portal
profile

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-23 19:57:52 -05:00
Nagendrababu
63e48453c8 WIFI-1543-EX447 MIMO configuration
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>
2021-02-23 15:43:23 -05:00
Nagendrababu
61fab91974 WIFI-1531-Captive-Portal-User/Pass-Defect
This patch will add support for captive portal on all SSIDs under each radio

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-22 13:58:23 -05:00
John Crispin
65cdb70c3b hostapd: add per phy max sta count
Normally max_num_sta is per BSS. This patch allows setting a pre IFACE max.

Signed-off-by: John Crispin <john@phrozen.org>
2021-02-22 13:54:42 -05:00
Rick Sommerville
9be815ef7a Wifi 1355 Repair MIMO mode auto
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-02-21 08:59:02 -05:00
Chaitanya Godavarthi
710cebf3e1 opensync: Dynamic VLAN add hotplug
Add hotplug script which adds the Dynamic
VLAN for the desired interface.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-20 15:46:41 -05:00
Chaitanya Godavarthi
ed7194e1b4 Fix for wifi6 Crash in nft in ssidratelimit hotplug
Fixes crash in kernel due to nft accessing
kernel in hotplug code early on.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-18 20:40:59 -05:00
Yashvardhan
f56edd7673 opensync: Update ovsdb schema to support 11ax
Ovsdb schema for VIF_Config/State is updated to support 11ax as min_hw_mode

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-02-17 14:27:02 -05:00
Chris Busch
b3f8465123
Merge pull request #179 from Telecominfraproject/staging-ssidratelimit-fix
opensync: fix ssid-ratelimiting
Ack'd-by: Chris Busch chrisbusch@fb.com
2021-02-17 13:10:50 -05:00
Chaitanya Godavarthi
d92c28e5cb opensync: fix ssid-ratelimiting
Fix ssid ratelimiting bugs

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-17 11:02:49 -05:00
Chaitanya Godavarthi
0f8a885c97 opensync: Set ieee80211w as 2 in wpa3 mode
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>
2021-02-16 22:31:29 -05:00
Arif Alam
3741e3c999 opensync: enable dhcp sniffing only on bridge interface
Reduce nm running memory footprint by enabling dhcp sniffing only on bridge interface.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-02-11 23:09:24 -05:00
Ammad Rehmat
e8bb46609d Wifi-1502 : Hostapd has the list of channels it can switch to in case of DFS event
- 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>
2021-02-11 22:12:13 -05:00
Chaitanya Godavarthi
efc52018e5 opensync: Add support for dynamic vlan in custom_options
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>
2021-02-09 13:19:40 -05:00
Arif Alam
ccefe53629 hostapd: fix passpoint r2 osu config params
Fixes WIFI-1498

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-02-09 13:17:23 -05:00
Nagendrababu
d6e1a02432 WIFI-1458-Tx-Power-Range
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>
2021-02-08 17:27:03 -05:00
Rick Sommerville
122965a3ad Wifi-1472 Wifi6 software upgrade fix with TIP cloud
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-02-07 22:20:18 -05:00
Chaitanya Godavarthi
b6b0ddfcf6 ssidratelimit: Convert bits/sec to bytes/sec
Convert kbits/sec bandwidth information given
to kbytes/sec.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-04 22:06:07 -05:00
Ammad Rehmat
fd35b98e61 Wifi-888 : Channel switch events due to high interference and DFS
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-04 22:01:17 -05:00
Ammad Rehmat
f6739a6c0f WIFI-1412 Command manager clears entries upon completion/failure from state and config table
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-03 21:19:19 -05:00
Ammad Rehmat
af486ae7f7 WIFI-1435 : Stop session command implemented in command manager
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-03 21:17:39 -05:00
Yashvardhan
06c9dd4d2a opensync: Add GRE support
- Added support to create GRE tunnel interface and corresponding
   vlans

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-02-02 22:24:00 -05:00
Nagendrababu
fb04fbbd00 WIFI-1355 Configure MIMO mode
This patch will add fix for MIMO mode configuration issue

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-02 22:14:48 -05:00
Nagendrababu
f65c9cd537 WIFI-961: Fix for Command Manager Crash
This patch will reslove command manager crash issue and also add support for deleting the lingering entries in
the command state table

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-01 15:36:45 -05:00
John Crispin
686c4df90d ath11k: fix broken mac detection on eap102 / wf188n
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-01 07:28:18 +01:00
Rick Sommerville
dca36b0128 Wifi-1393 Software upgrade SHA check repair.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-29 10:05:45 -05:00
Rick Sommerville
253ff7b918 WIFI-1308 Validate EAP parameters before UCI update
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-26 13:11:25 -05:00
John Crispin
fe9c076692 hostaps/ax: add the hapd respawn fix
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>
2021-01-26 10:27:31 +01:00
John Crispin
6a14c4ca12 ath11k: reduce log-spam
Do not print unknown event warnings.

Signed-off-by: John Crispin <john@phrozen.org>
2021-01-26 10:07:15 +01:00
Rick Sommerville
6e451ce367 WIFI-1318 Reduce memory required for sysupgrade
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-21 16:59:40 -05:00
Ammad Rehmat
f7345e5e18 NETEXP-898: Increase the waiting time before terminating the websocket
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-01-19 09:08:25 -05:00
John Crispin
13b2d00a35 wifi-ax: fix WIFI-1244 - iwinfo did not allow you to set the county code
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 18:19:55 +01:00
John Crispin
7ae17f821b ipq807x: update kernel patches and add new boards
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
John Crispin
2f71c9c367 wlan-ap-config: fix hostname detection on qcom/ax units
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
John Crispin
3392cec348 wlan-ap-config: properly detect the cig wf-194c serial
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
John Crispin
db9507bcc1 wlan-ap-config: move oom reboot trigger to the right location
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
Yashvardhan
861c2168ab opensync: Fix events timestamp
- Added milliseconds timestamp precision
- Data type changed to uint64 to hold millisecond timestamp

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-01-14 20:31:19 -05:00
John Crispin
73b62d7126 luci-mod-simple: add tab to allow LAN configuration in the webui
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-13 14:26:48 +01:00