Closed kphanipavan closed 8 months ago
Before:
After, using cut
:
~Works on my end~
can_transmit_to_channel() at line 627 also needs changes. The program is dying with cannot transmit error.
Thank you for reporting. We should take reaction to that change.
I'm still using a distro that using iw 4.9. So are you or anyone willing to make a PR?
I copied the changes from this commit from linux-wifi-hotspot: https://github.com/lakinduakash/linux-wifi-hotspot/commit/2dc1649add81854b79903dd16d59fcbbfa2fd8d3
This works for my AP
https://github.com/garywill/linux-router/commit/32f168ec8c9a69e022ae97d3bfd113fe088626d6
I made can_transmit_to_channel()
ignores freq value and just focus on channel number
grep -E " [0-9]+(\.[0-9]+){0,1} MHz \[${CHANNEL_NUM}\]"
Current frequency taken from
iw
now prints differently now, as shown above.Changes related to that is shown in the diff: https://fossies.org/diffs/iw/5.19_vs_6.7/info.c-diff.html
The number after the dot is the frequency offset. The awk script requires changes to handle this. Below is the error thrown currently.
~Pvn