Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[profiler] enhance FPMS to set / read channel to / from config #78

Open
joshschmelzle opened this issue Sep 26, 2022 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@joshschmelzle
Copy link
Member

Currently FPMS is set to use channel 36 when bringing up profiler.

if action == "start":
# set the config file to use params
cfg_dict = {"channel": "36", "ft_disabled": "False", "he_disabled": "False"}
self.profiler_ctl_file_update(cfg_dict, config_file)
elif action == "start_2dot4ghz":
# set the config file to use params
cfg_dict = {"channel": "11", "ft_disabled": "False", "he_disabled": "False"}
self.profiler_ctl_file_update(cfg_dict, config_file)
elif action == "start_no11r":
# set the config file to use params
cfg_dict = {"channel": "36", "ft_disabled": "True", "he_disabled": "False"}
self.profiler_ctl_file_update(cfg_dict, config_file)
elif action == "start_no11ax":
# set the config file to use params
cfg_dict = {"channel": "36", "ft_disabled": "False", "he_disabled": "True"}
self.profiler_ctl_file_update(cfg_dict, config_file)

Menu options may indicate channel + frequency, but FPMS should set / read frequency (to make it 2.4 / 5 / 6 GHz compatible) from config.ini.

This will be linked to WLAN-Pi/wlanpi-profiler#114

@joshschmelzle joshschmelzle added the enhancement New feature or request label Sep 26, 2022
@joshschmelzle joshschmelzle self-assigned this Sep 26, 2022
@joshschmelzle joshschmelzle added good first issue Good for newcomers help wanted Extra attention is needed labels Oct 3, 2022
@joshschmelzle joshschmelzle removed their assignment Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant