Salut
Mon équipement wifi
03:00.0 Network controller [0280]: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
Subsystem: Hewlett-Packard Company BCM4313 802.11bgn Wireless Network Adapter [103c:1483]
Kernel driver in use: wl
Kernel modules: bcma, wl
règle le txpower à une valeur délirante selon iwconfig
Mode:Managed Frequency:2.412 GHz Access Point: xx
Bit Rate=54 Mb/s Tx-Power=200 dBm
heureusement la modification est possible
root@debian:/# iwconfig wlo2 txpower auto
alors j’ai créé un service au démarrage
cat /lib/systemd/system/wifi-txpower.service
[Unit]
Description=reduction de txpower
Requires=sys-subsystem-net-devices-wlo2.device
After=network.target
[Service]
Type=oneshot
ExecStart=/sbin/iwconfig wlo2 txpower auto
[Install]
WantedBy=multi-user.target
root@debian:/# systemctl enable wifi-txpower.service
Created symlink /etc/systemd/system/multi-user.target.wants/wifi-txpower.service → /lib/systemd/system/wifi-txpower.service.
Les normes imposent une puissance limitée à 100mW (20dBm) (802.11b/g), 200mW ( 23 dBm) (802.11a)