Bug 200611 - iwn problems in "40 MHz" mode, Intel Advanced-N 6502 on Thinkpad T520
Summary: iwn problems in "40 MHz" mode, Intel Advanced-N 6502 on Thinkpad T520
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-03 10:14 UTC by Alex Kapranoff
Modified: 2019-01-27 21:40 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Kapranoff 2015-06-03 10:14:27 UTC
I was fighting for a couple of days trying to connect to my home router from a fresh FreeBSD box. Was getting an infinite loop of this:

Jun  3 12:40:22 famagusta wpa_supplicant[14564]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Serendipity"
Jun  3 12:40:22 famagusta wpa_supplicant[14564]: wlan0: Trying to associate with 20:cf:30:ce:1c:85 (SSID='Serendipity' freq=2422 MHz)
Jun  3 12:40:22 famagusta wpa_supplicant[14564]: wlan0: Associated with 20:cf:30:ce:1c:85
Jun  3 12:40:22 famagusta kernel: wlan0: link state changed to UP
Jun  3 12:40:22 famagusta dhclient[14671]: send_packet: No buffer space available
Jun  3 12:40:30 famagusta kernel: wlan0: link state changed to DOWN
Jun  3 12:40:30 famagusta wpa_supplicant[14564]: wlan0: CTRL-EVENT-DISCONNECTED bssid=20:cf:30:ce:1c:85 reason=0
Jun  3 12:40:30 famagusta wpa_supplicant[14564]: wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
Jun  3 12:40:30 famagusta wpa_supplicant[14564]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="SerendipIity" auth_failures=21 duration=120 reason=WRONG_KEY
Jun  3 12:40:30 famagusta dhclient[14671]: send_packet: Invalid argument
Jun  3 12:40:39 famagusta dhclient[14671]: send_packet: Network is down
Jun  3 12:41:19 famagusta last message repeated 3 times
Jun  3 12:42:30 famagusta wpa_supplicant[14564]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Serendipity"
Jun  3 12:42:30 famagusta wpa_supplicant[14564]: wlan0: Trying to associate with 20:cf:30:ce:1c:85 (SSID='Serendipity' freq=2422 MHz)
Jun  3 12:42:30 famagusta kernel: wlan0: link state changed to UP
Jun  3 12:42:30 famagusta wpa_supplicant[14564]: wlan0: Associated with 20:cf:30:ce:1c:85
Jun  3 12:42:30 famagusta dhclient[14671]: send_packet: No buffer space available
Jun  3 12:42:37 famagusta last message repeated 2 times
Jun  3 12:42:37 famagusta wpa_supplicant[14564]: wlan0: CTRL-EVENT-DISCONNECTED bssid=20:cf:30:ce:1c:85 reason=0
Jun  3 12:42:37 famagusta kernel: wlan0: link state changed to DOWN

The machine is a PC-BSD based on 11-CURRENT on a ThinkPad T520 with iwn0: <Intel Centrino Advanced-N 6205>.

"Serendipity" is an ASUS RT-16N home device configured for "WPA-Auto-Personal" and "TKIP+AES". It supports 802.11n mode.

There is also a router setting called "Bandwidth" with two options: "40 MHz" and "20 MHz". It was set to 40 and changing it to 20 resolved all problems.
Comment 1 Adolfo Perez Alvarez 2015-10-04 11:19:55 UTC
Same problem here with a Lifebook U772 and Intel Centrino Advanced-N 6205, using 10.2-RELEASE-amd64.

Seems to be fixed in FreeBSD-10.2-STABLE-amd64-20150917-r287929. At least in my case, it works flawlessly with the configuration generated by bsdinstall.
Comment 2 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-27 21:40:32 UTC
Seems to be already resolved (as noted in comment #1)