On 26-Jun-25 5:31 PM, Johannes Berg wrote:
On Thu, 2025-06-26 at 11:59 +0530, Suraj P Kizhakkethil wrote:
Adding support for the 'set channel' command provides users with the
flexibility to use channel numbers instead of frequencies.
Sure, but who are "users" here? Most people we'd normally describe as
"users" will never touch iw. The users here are mostly us, who work on
wifi in the first place? There are some corner cases like sniffer
though.
The thing that might've made some sense here perhaps is the automatic
center frequency setting that you get if you just set the channel and
bandwidth, but I think that also works with center frequency, so my
example should be also possible instead as
iw dev wlan0 set freq 6195 80MHz
If you think this change is not acceptable or needs modification, please
let me know. I’ll either drop it or make the necessary adjustments.
I just think it's really quite awkward to do in the code and unnecessary
as well. _Maybe_ if we were to do something like "6ghz:5" for the
channel number? But I'm not a huge fan either.
johannes
Sure, Johannes. After internal discussion, we've decided to drop this
patch, as this change would not be optimal.
Thank you for your support and feedback.