summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dawn/luasrc/tools/ieee80211.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dawn/luasrc/tools/ieee80211.lua')
-rw-r--r--applications/luci-app-dawn/luasrc/tools/ieee80211.lua20
1 files changed, 0 insertions, 20 deletions
diff --git a/applications/luci-app-dawn/luasrc/tools/ieee80211.lua b/applications/luci-app-dawn/luasrc/tools/ieee80211.lua
deleted file mode 100644
index 44b0464427..0000000000
--- a/applications/luci-app-dawn/luasrc/tools/ieee80211.lua
+++ /dev/null
@@ -1,20 +0,0 @@
-module("luci.tools.ieee80211", package.seeall)
-
-function frequency_to_channel(freq)
- if (freq <= 2400) then
- return 0;
- elseif (freq == 2484) then
- return 14;
- elseif (freq < 2484) then
- return (freq - 2407) / 5;
- elseif (freq >= 4910 and freq <= 4980) then
- return (freq - 4000) / 5;
- elseif (freq <= 45000) then
- return (freq - 5000) / 5;
- elseif (freq >= 58320 and freq <= 64800) then
- return (freq - 56160) / 2160;
- else
- return 0;
- end
-end
-