webbbn / wifibroadcast_bridge

A UDP bridge over a wifibroadcast link
GNU Lesser General Public License v2.1
6 stars 4 forks source link

atheros TX power settings issue #1

Open appetito opened 4 years ago

appetito commented 4 years ago

I installed wifibroadcast_bridge from sources on my raspberry pi 4b+ (and 3b+) with Atheros cards (AR9271)

Looks like It works, but I have this messages in logs:

Jun 28 19:33:11 raspberrypi python3[540]: 19:33:11 INFO: Setting txpower on interface wlan1 to 63 Jun 28 19:33:11 raspberrypi python3[540]: 19:33:11 WARNING: Could not set txpower on wlan1 Jun 28 19:33:11 raspberrypi python3[540]: 19:33:11 WARNING: [Errno 2] No such file or directory: '/sys/module/ath9k_hw/parameters/txpower'

webbbn commented 4 years ago

In order to support changing the power of the ath9k wifi cards without reloading the driver you need this patch: https://github.com/webbbn/Open.HD-Kernel-Builder/blob/master/patches/ath9k_htc-misc.patch in the kernel driver.