Compare commits

..

13 Commits

Author SHA1 Message Date
jaspreetsachdev
9d06b517dc Merge pull request #955 from Telecominfraproject/main
Merge from main for 4.1.1 release
2025-10-03 11:37:20 -04:00
John Crispin
f2afe49977 ipq53xx: enable LED heartbeat trigger in kernel config
Enable CONFIG_LEDS_TRIGGER_HEARTBEAT to allow LED heartbeat
functionality when device goes offline. Without this kernel option,
the LED trigger mechanism was unavailable, preventing the LED from
flashing to indicate offline status.

Fixes: WIFI-14646
Signed-off-by: John Crispin <john@phrozen.org>
2025-10-02 15:38:50 +02:00
Jimmy Cheng
04cc064026 ath12k-wifi: update NWA50BE BDF files
Adjust 2.4G CCA threshold from 32 to 38 to avoid false detection

Fixes: WIFI-15164
Signed-off-by: Jimmy Cheng <jimmy.cheng@zyxel.com.tw>
2025-10-02 07:43:18 +02:00
jaspreetsachdev
125c75c49b Merge pull request #951 from Telecominfraproject/main
4.1.1 merge from main
2025-09-29 14:23:17 -04:00
jaspreetsachdev
5bd8fe1249 Merge pull request #928 from Telecominfraproject/staging-v4.1
Staging v4.1
2025-09-08 14:49:57 -04:00
John Crispin
593cdba4d7 udhnssnoop: move the code directly into the repo
Signed-off-by: John Crispin <john@phrozen.org>
2025-09-08 16:01:58 +02:00
John Crispin
f811aa6b73 udevmand: move the code directly into the repo
Signed-off-by: John Crispin <john@phrozen.org>
2025-09-08 16:01:58 +02:00
John Crispin
7213dc6dcb ucentral-tools: the git repo is gone, move the code into the package
Signed-off-by: John Crispin <john@phrozen.org>
2025-09-08 16:01:58 +02:00
jaspreetsachdev
7dd139cf3b Merge pull request #925 from Telecominfraproject/release-4.1
Release 4.1
2025-08-30 12:44:52 -04:00
Jaspreet Sachdev
544b687f46 Merge remote-tracking branch 'origin/main' into release-4.1 2025-08-30 12:42:04 -04:00
jaspreetsachdev
462ff4f813 Merge pull request #915 from Telecominfraproject/release-4.1
Release 4.1
2025-08-18 12:28:42 -04:00
Jaspreet Sachdev
71b738f8ee Merge remote-tracking branch 'origin/main' into release-4.1 2025-08-18 12:26:55 -04:00
jaspreetsachdev
4ad04c7948 Merge pull request #914 from Telecominfraproject/release-4.1
Release 4.1 merge
2025-08-14 09:54:57 -04:00
4 changed files with 1 additions and 56 deletions

View File

@@ -1,55 +0,0 @@
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -153,6 +153,7 @@ struct hostapd_sta_wpa_psk_short {
unsigned int is_passphrase:1;
u8 psk[PMK_LEN];
char passphrase[MAX_PASSPHRASE_LEN + 1];
+ int vlan_id;
int ref; /* (number of references held) - 1 */
};
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -2404,6 +2404,42 @@ int ieee802_11_set_radius_info(struct ho
vlan_id->tagged[0] ? "+" : "");
return -1;
}
+
+ /* Store VLAN ID with cached PSK for MPSK roaming support */
+ if (hapd->conf->ssid.dynamic_vlan && psk && vlan_id->notempty &&
+ vlan_id->untagged > 0) {
+ struct hostapd_sta_wpa_psk_short *psk_entry;
+
+ for (psk_entry = psk; psk_entry; psk_entry = psk_entry->next) {
+ psk_entry->vlan_id = vlan_id->untagged;
+ wpa_printf(MSG_DEBUG,
+ "RADIUS MPSK: Stored VLAN %d with PSK for "
+ MACSTR, vlan_id->untagged,
+ MAC2STR(sta->addr));
+ }
+ }
+
+ /* Restore VLAN from cached PSK if not provided by RADIUS */
+ if (hapd->conf->ssid.dynamic_vlan && !vlan_id->notempty && sta->psk) {
+ struct hostapd_sta_wpa_psk_short *psk_entry;
+ int cached_vlan = 0;
+
+ for (psk_entry = sta->psk; psk_entry; psk_entry = psk_entry->next) {
+ if (psk_entry->vlan_id > 0) {
+ cached_vlan = psk_entry->vlan_id;
+ break;
+ }
+ }
+
+ if (cached_vlan > 0) {
+ vlan_id->notempty = 1;
+ vlan_id->untagged = cached_vlan;
+ wpa_printf(MSG_DEBUG,
+ "RADIUS MPSK: Restored VLAN %d from cached PSK for " MACSTR,
+ cached_vlan, MAC2STR(sta->addr));
+ }
+ }
+
if (ap_sta_set_vlan(hapd, sta, vlan_id) < 0)
return -1;
if (sta->vlan_id)

View File

@@ -1180,7 +1180,7 @@ CONFIG_QTI_LICENSE_MANAGER=y
# CONFIG_SYMBOLIC_ERRNAME is not set
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set
# CONFIG_LEDS_CLASS_MULTICOLOR is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
# CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY is not set
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_RANDOM_TRUST_BOOTLOADER is not set