linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

[Feature Request] Adjustable TX power

Open vguttmann opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. A problem for me is the comparatively low reach of the hotspot, and, under windows, the TX power (and therefore reach) are higher, so I know it is possible to adjust the TX power higher than it currently is.

Describe the solution you'd like A way to set the transmit power in the advanced settings

Describe alternatives you've considered Setting it outside of linux-wifi-hotspot, but I thought this might make a good addition to this project.

Additional context Now, full disclosure: Adjusting the TX power of a wifi adapter beyond certain limits is illegal in basically every country. However, now, adjusting the TX power is completely impossible, and it's not as if the authorities are going around and measuring the TX power of devices.

vguttmann avatar May 10 '21 17:05 vguttmann

If you want to implement this, I will provide a script that will adjust the TX power of the given adapter to the power given, however, someone else probably has to do the UI work to implement it.

vguttmann avatar May 10 '21 17:05 vguttmann

That would be nice to implement that.

If you want to implement this, I will provide a script that will adjust the TX power of the given adapter to the power given, however, someone else probably has to do the UI work to implement it.

It is better to provide the tx power as an argument to the create_ap script. You can make a pull request on that.

lakinduakash avatar May 10 '21 18:05 lakinduakash

So, I'm currently working on getting the project to work, but a few dependencies are broken, at least on Ubuntu 20.04 LTS, and the official kernel repo has some inconsistencies regarding filenames. Obviously, that's no bueno, so if we want to do that, we need to include a few files from which the WiFi power database will be built and signed, because every time we want to change the power, we need to modify the text document, and build a binary database out of that because iw needs that binary database.

vguttmann avatar May 13 '21 09:05 vguttmann