From 01caca9fad4083bc42ada735b032385aebe9f50b Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 24 Dec 2025 18:29:11 +0100 Subject: [PATCH] Prune unused class method --- .../Networking/Hotspot/HostapdManager.php | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/RaspAP/Networking/Hotspot/HostapdManager.php b/src/RaspAP/Networking/Hotspot/HostapdManager.php index 5ca9b474..6caf56be 100644 --- a/src/RaspAP/Networking/Hotspot/HostapdManager.php +++ b/src/RaspAP/Networking/Hotspot/HostapdManager.php @@ -465,27 +465,6 @@ class HostapdManager return is_array($configs) ? count($configs) : 0; } - /** - * Gets capabilities for a given IEEE 802.11 mode - * - * @param string $mode - * @return array - */ - public function getModeCapabilities(string $mode): array - { - $capabilities = [ - 'a' => ['bands' => ['5'], 'max_width' => 20], - 'b' => ['bands' => ['2.4'], 'max_width' => 22], - 'g' => ['bands' => ['2.4'], 'max_width' => 20], - 'n' => ['bands' => ['2.4', '5'], 'max_width' => 40], - 'ac' => ['bands' => ['5'], 'max_width' => 160], - 'ax' => ['bands' => ['2.4', '5', '6'], 'max_width' => 160], - 'be' => ['bands' => ['2.4', '5', '6'], 'max_width' => 320] - ]; - - return $capabilities[$mode] ?? $capabilities['g']; - } - /** * Extracts channel width from mode settings *