Wi-Fi - unstable connection

I've installed FreeBSD 13.1 on Lenovo ThinkPad T530 laptop. It has Centrino Advanced-N 6205 [Taylor Peak] Wi-Fi card installed.
The problem is that the network connection is really unstable - some packets are lost, there are many TCP retransmissions. The Wi-Fi cover is good (other devices have no problems). The same card works correctly under Windows 7 (on double boot).
I suppose that the card needs an adjustment of some parameters, but I cannot find any information about iwn driver parameters and how to set them. Under Windows I see many parameters available under the 'Advanced' tab of the card's driver.
How can I manage the iwn driver under FreeBSD?
 
To start, have you consulted the man pages for that driver and related topics?
iwn(4)

I apologize if that's a little basic, but perhaps it could help us find a good starting point.
Kernel mods, loading the drivers, etc.
 
On my ThinkPad T430 Laptop, Have the same card, which is Centrino Advanced-N 6205 [Taylor Peak] Wi-Fi card installed. Works great for me.

Here on the Lenovo TC93 ThinkCentre /etc/rc.conf file contents:

cat /etc/rc.conf
rc_debug="YES"
rc_info="YES"
zfs_enable="YES"
kld_list="linux linux64 cuse fusefs /boot/modules/i915kms.ko"
linux_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
devfs_enable="YES"
devfs_system_ruleset="devfsrules_common"
dbus_enable="YES"
lightdm_enable="YES"
webcamd_enable="YES"
webcamd_0_flags="-d ugen1.3"
cupsd_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
moused_enable="YES"
ipfw_enable="YES"
firewall_enable="YES"
inetd_enable="YES"
ifconfig_em0="DHCP"
#wlans_iwm0="wlan0"
# ifconfig_wlan0="inet 172.22.223.251 netmask 255.255.252.0 media OFDM/36Mbps mode 11g"
# ifconfig_wlan0="WPA DHCP channel 6 ssid 'Swinomish Lodge Guest' "
# ifconfig_wlan0="DHCP channel 6 ssid 'Swinomish Lodge Guest' "
# ifconfig_wlan0="DHCP"
keymap="us.kbd"
hostname="fredTC93-pc"
dsbmd_enable="YES"
#defaultrouter="172.22.220.1"
wlans_iwm0="wlan1"
# eliminate "WPA" if not using on OPEN Network
# ifconfig_wlan1="WPA DHCP"
ifconfig_wlan1="DHCP"
# ifconfig_wlan1="inet 192.168.1.37 netmask 255.255.255.0"
# wlans_rtwn0="wlan2"
# ifconfig_wlan2="WPA DHCP"
smartd_enable="YES"
# defaultrouter="192.168.1.1"
enable_ubuntu="YES"

# Important 2 lines
wlans_iwm0="wlan1"
ifconfig_wlan1="DHCP"
 
/BOOT/LOADER.CONF file contents:
cat /boot/loader.conf
boot_verbose="1"
verbose_loading="YES"
rc_system="bsdrc"
crypto_load="YES"
aesni_load="YES"
geom_eli_load="YES"
vfs.zfs.arc_max="512M"
zfs_load="YES"
#
kern.cam.boot_delay="3000"
#add two lines from https://forums.freebsd.org/threads/boot-delay.42596/
loader_delay="1"
autoboot_delay="4"
hw.memtest.tests="0"
vfs.root_mount_always_wait=1

# https://www.reddit.com/r/freebsd/comments/gq56mq/is_there_a_way_to_speed_up_the_boot_process/
hw-usb.no_boot_wait="0"
# https://gist.github.com/mizhka/d6dec8211112209cbaa8bf28a3c58b71
# https://unix.stackexchange.com/ques...s-dev-gpt-rootfs-was-no-longer-created-how-to
#kern.geom.label.disk_ident.enable=1
kern.geom.label.gptid.enable=1
kern.geom.label.gpt.enable=1
#kern.geom.label.ufs.enable=1
# http://web.mit.edu/freebsd/head/sys/boot/forth/loader.conf detailed list of options
#
# f the boot stops with a mountroot error while booting off the installation disc, usually with USB CD/DVD drives, escape to the loader prompt and run the following:
#
#set kern.cam.boot_delay="10000"
#boot
kern.cam.boot_delay="10000"
umodem_load="YES"
usb_template_load="YES"
hw.usb.template=3

# https://www.micski.dk/2021/12/21/install-ubuntu-base-system-into-freebsds-linu
x-binary-compatibility/
linux_load="YES"
linux64_load="YES"
fdescfs_load="YES"
linprocfs_load="YES"
tmpfs_load="YES"
linsysfs_load="YES"
 
ifconfig_wlan0="WPA powersave mode 11g"
I forced the g mode at the access point level, so, anyway, it is g now. I don't think it would be necessary to force it at the card level, as in some hotels only b mode is available.
 
It seems that the situation degrades when I charge the network (download or upload something). I tried to replace the access point without a significant improving of the situation. I replaced the card with Intel Centrino Ultimate-N 6300 - it definitely works better, but I still have network down sometimes :(
 
Back
Top