Commit Graph

158 Commits

Author SHA1 Message Date
billz
01caca9fad Prune unused class method 2025-12-24 18:29:11 +01:00
billz
632f72a5a7 Prune unused class method 2025-12-24 17:56:37 +01:00
billz
b4f9b3d5f4 Resolve PHP warning: undefined var $wpa_numeric 2025-12-24 17:55:48 +01:00
billz
e92329231f Standardize labels for IEEE 802.11 standards 2025-12-24 17:46:19 +01:00
billz
dac7723441 Minor: comments 2025-12-21 20:25:15 +01:00
billz
3211735534 Fix dhcpcd.conf duplicate entries + trailing newline accumulation 2025-12-21 19:13:33 +01:00
billz
15a680934d Merge remote-tracking branch 'origin/master' into feat/80211ax-80211be 2025-12-21 18:18:14 +01:00
billz
c03f81719c Enable 802.11be / WiFi 7 mode in getModeCapabilities() 2025-12-14 08:30:14 +01:00
billz
0a3dbef531 Fix 802.11be mode not displaying in UI when WPA3 is enabled 2025-12-14 08:29:25 +01:00
billz
c29f45867c Add dynamic center frequency + HT40 direction for 802.11ax/be 2025-12-07 15:17:07 +01:00
Brian Beattie
c08095065e Fix bridged mode setting incorrect bridge parameter
When bridged mode is enabled, the bridge parameter in hostapd.conf
was set to "1" instead of "br0", causing authentication failures.

This fix introduces a separate bridgeName parameter for the hostapd
configuration while maintaining the boolean bridge parameter for
dnsmasq and dhcpcd services.

Fixes #2021
2025-12-06 17:24:46 -08:00
billz
681594b8d5 Remove unused var, comments 2025-11-28 08:47:25 +01:00
billz
a0a3a9ca52 Refactor: encapsulate WiFi client operations in WiFiManager class 2025-11-27 18:45:12 +01:00
billz
8bf918ce28 Fix getNetworkIdBySSID() column condition 2025-11-27 12:20:12 +01:00
billz
f9d115bbde Merge remote-tracking branch 'origin/master' into fix/wifi-security-open 2025-11-27 11:09:35 +01:00
meandthemachine
0938c3d9e9 Remove unused local variable
The  assigned/incremented value is/was never used anywhere else in the loop.
2025-11-24 16:03:34 +01:00
meandthemachine
2c63f84862 Determine start index of nearby networks more robustly
Resolves #2003:
Unless we examine its source code, we don't exactly know if `wpa_cli ... list_networks` always assigns network ids in the order the known networks are listed in the configuration file. Therefore, we should not assume it to be this way and instead, we should make the code capable of handling all scenarios (in-synch as well as async) in a robust way.
2025-11-24 15:51:10 +01:00
billz
16e52c3b90 Remove stale wpa_supplicant socket and restart daemon manually 2025-11-24 11:03:03 +01:00
billz
bf86a6ef57 Use self::SECURITY_OPEN for network protocol conditions 2025-11-24 10:01:59 +01:00
billz
f547a35312 Define constant for Open for security protocol 2025-11-23 09:47:58 +01:00
billz
60d58376f1 Fix: Update regex patterns in buildConfig() 2025-11-18 10:59:26 +01:00
billz
95229fd1b7 Add public method getHostapdLogs() 2025-11-16 21:34:48 +01:00
billz
b451971c46 Replace enable/disable log scripts (deprecated) w/ logger_syslog=-1 2025-11-16 21:34:25 +01:00
billz
0c8e1a310c Validate 802.11ax/be specific parameters 2025-11-08 09:55:03 +01:00
billz
2b61f91ba5 Define HE/EHT channel widths, add 802.11ax/be specific parameters 2025-11-08 09:52:15 +01:00
billz
3ae73a9728 Add getModeCapabilities(), validate channel widths for 802.11ax/be 2025-11-08 09:49:59 +01:00
billz
f0d5bde1e5 Add exception handling for getRegDomain() 2025-11-05 17:55:14 +01:00
billz
dcf1a8f8f4 Refactor locale handling into LocaleManager class 2025-10-30 12:12:18 +01:00
billz
b84d26447f Add cookie-based locale persistence 2025-10-22 02:25:34 -07:00
billz
5fa691bca1 Fix: domain_name_server declaration for br0 2025-10-19 11:08:50 -07:00
billz
74bd81a92c Add status message when bridge is enabled, newlines to br0 config 2025-10-19 10:22:03 -07:00
billz
fb4571a191 Construct bridgeConfig when enabled, pass to dhcpcd->buildConfig() 2025-10-19 09:28:43 -07:00
billz
b98c1fb912 Add bridgedEnable + br0 config handling to buildConfig() 2025-10-19 09:28:21 -07:00
billz
fdfbc62e9b Validate bridged mode static IP configuration 2025-10-19 09:23:46 -07:00
billz
a844328da3 php7.4 compatibility: str_starts_with -> strncmp 2025-10-11 00:45:21 -07:00
billz
8bf4116b42 Create installDebianPackages(), select .deb dpkg for current arch 2025-10-10 04:21:39 -07:00
billz
417f803411 Minor: comments + rename method 2025-09-26 23:29:24 -07:00
billz
e514178b33 Create ensureWpaSupplicantConf(), call from setKnownStationsWPA 2025-09-25 01:52:09 -07:00
billz
66b0a42576 Fix undefined vars in class methods + includes 2025-09-12 23:08:48 -07:00
billz
8bb18b43f8 Fix: fallback by seeding default values for interface 2025-09-11 08:56:09 -07:00
billz
73985333b0 Update class methods + js handler for custom path locations 2025-08-21 12:33:48 -07:00
billz
5319b9dbbd Handle undefined PATH_INFO value 2025-08-20 08:11:51 -07:00
billz
75577ecd1d Simplify wpa key management, ieee80211w settings 2025-08-17 14:46:15 -07:00
billz
d1c2e0d3ba Revise buildConfig() to parse settings from getDefaultNetValue 2025-08-17 13:01:58 -07:00
billz
b23084fe7b Fix: Return expected datatype from getHostapdIni() 2025-08-12 13:26:00 -07:00
billz
7f2eb6e88f Coalesce dhcp-option=6 lines, prevents invalid config 2025-08-02 13:13:41 -07:00
billz
63491b17d6 Run wpa_supplicant in background mode (-B) 2025-08-02 13:12:39 -07:00
billz
dadc4e4fb4 Refactor setKnownStationsWPA(), add helper method addWpaNetwork() 2025-07-28 15:56:01 -07:00
billz
c19bd60241 Fix: set return value (bool) 2025-07-20 14:46:33 -07:00
billz
7cc436fbaa Add missing param in dnsmasq->saveConfig() 2025-07-20 10:00:15 -07:00