lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.33k stars 307 forks source link

[Feature Request] Adjustable TX power #160

Open vguttmann opened 3 years ago

vguttmann commented 3 years ago

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 commented 3 years ago

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.

lakinduakash commented 3 years ago

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.

vguttmann commented 3 years ago

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.