openwrt / openwrt/packages

luci-app-wifischedule: Not possible to use with only one active radio (e.g. 2,4Ghz)

Open
#26,738 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug release/24.10
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

luci-app-wifischedule

Maintainer

Nils Koenig openwrt@newk.it

OpenWrt Version

24.10.1

OpenWrt Target/Subtarget

ath79/nand

Steps to Reproduce
  1. Enable Wifi on 2,4Ghz radio
  2. Disable the 5Ghz radio
  3. Configure wifischedule to turn radio off and on again
  4. Let the Scheduler run
  5. Observe that now both radios are on
Actual Behaviour
  • The package always switches all radios on and off (by design).
  • I would like to use the package for switching only the 2,4Ghz radio.
  • I worked around the problem on that specific instance by hard coding the radio I wanted to switch in /usr/bin/wifi_schedule.sh (function _wifi_get_devices, line 306).
Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /usr/bin/wifi_schedule.sh, especially _wifi_get_devices around line 306, and reproduce the listed configuration with only the 2.4GHz radio enabled. Determine how the scheduler selects radios and make the behavior support switching only the intended active radio without enabling the disabled 5GHz radio; verify using the reproduction steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
embedded-iot, networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.