wlan-ap-Telecominfraproject/feeds/ipq807x_v5.4
Venkat Chimata 45eb5c9a6b ieee8021x / hostapd: Fix 802.1x + DVLAN issues
ieee8021x
---------
1. Handle link_up events and update hostapd config
2. For certains scenarios, we need to remove and add
   instead of reload (reload did not work).
   Consider the following scenario -
   Say on CIG 186w as an example
   eth0.4086 interface exists with some non-ieee8021x config.
   Push ieee8021x config. In general the flow is that
   reload_config is called followed by invocation of services (from ucentral-schema)
   Services inovation does n't wait until the configi reloaded ie in this context
   ieee8021x service is invoked much before the network interfaces are recreated.
   That is not correct. To handle this, we capture link-up events
   and remove the existing interface (in hostapd as shown below) and add again
3. For swconfig platforms, the names contain a dot. Handle that gracefully in
   ubus_unsub_object while adding hostapd interface
4. Add better logging using log.syslog

hostapd
---------
In case of swconfig switches, the basename of the interface should be based on the last dot.
Earlier it was done based on the first dot, which would result in incorrect basename.
For example if the interface name is eth0.4087 then the vlan->ifname would be eth0.4087.  (A dot at the end) .
Before this patch, the basename was returned as eth0. It should be eth0.4087

Also fixed the return code by adding a default value of 0 and removed an unncessary check
for if_add before ubus add call.

Signed-off-by: Venkat Chimata <venkata@shasta.cloud>
2024-07-03 06:37:47 +02:00
..
aq-fw-download ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
ath11k-firmware ipq50xx: add optimcloud D series support 2023-11-14 11:09:27 +01:00
ath11k-fwtest ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
ath11k-wifi ath11k-wifi: update CIG WF-188n BDF files 2024-06-20 11:43:15 +02:00
batman-adv ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
ftm ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
hostapd ieee8021x / hostapd: Fix 802.1x + DVLAN issues 2024-07-03 06:37:47 +02:00
ipq50xx ipq50xx: fix typo in Makefile 2024-06-12 19:58:21 +02:00
ipq60xx ipq60xx: Add support for HFCL ion4x_3 2024-05-31 12:21:58 +02:00
ipq807x treewide: fix base-files/* install 2024-04-30 08:45:45 +02:00
iw ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
libtcmd ipq807x: make FTM work 2024-02-06 14:56:25 +01:00
mac80211 ath11k: fix multi band roaming 2024-06-13 08:23:05 +02:00
qca-diag ipq807x: make FTM work 2024-02-06 14:56:25 +01:00
qca-nss-clients ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
qca-nss-dp ipq807x: update v5.4 patches 2023-08-31 16:08:35 +02:00
qca-nss-drv ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
qca-nss-fw ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
qca-ssdk ipq807x: update v5.4 patches 2023-08-31 16:08:35 +02:00
qca-ssdk-shell ipq807x: add ath12 / v5.4 support 2023-04-10 14:25:48 +02:00
wireguard 23.05: various ipq807x_v5.4 fixes 2023-09-28 14:50:26 +02:00