[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 Andriy Voskoboinyk changed: What|Removed |Added Assignee|freebsd-wirel...@freebsd.or |a...@freebsd.org |g | Status|Open|In Progress --- Comment #11 from Andriy Voskoboinyk --- Created attachment 170081 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170081&action=edit Patch for ifconfig Try to apply it to the src tree and rebuild/reinstall ifconfig. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #10 from Andriy Voskoboinyk --- here (ifieee80211.c): > /* NB: we use an HT40 channel center that matches HT20 */ > flags = (flags &~ IEEE80211_CHAN_HT40) | IEEE80211_CHAN_HT20; -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 Andriy Voskoboinyk changed: What|Removed |Added Status|New |Open --- Comment #9 from Andriy Voskoboinyk --- Ok; as I can see, there are (overall) 123 channels + country JP should filter out the highest band (149, 153, 157, 161, 165) (-10 channels) and two pairs of ht40 channels (149+/153- and 157+/161- - they are also present in the list) (-> should be 109 channels). There is no channel 8+/9+/12-/13- in the logfile; so, the problem is not in the driver (probably, ifconfig/lib80211?) + also: > Other country (for example, us, de, etc.) is working on 11-current. There are only two regdomains, which allow 12 and 13 HT40 channels: NONE and JAPAN. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #8 from Masachika ISHIZUKA --- Created attachment 170075 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170075&action=edit messages This is messages. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #7 from Andriy Voskoboinyk --- (In reply to Masachika ISHIZUKA from comment #6) Ok, I forget about debug options. Try to add 'options IWN_DEBUG' to the kernel config and rebuild/reinstall it. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #6 from Masachika ISHIZUKA --- (In reply to Andriy Voskoboinyk from comment #5) Thank you for reply. But important message didn't appear. cucumber# kenv hint.iwn.0.debug=0x4010 hint.iwn.0.debug="0x4010" cucumber# kldunload if_iwn cucumber# kldload if_iwn cucumber# tail -20 /var/log/messages | sed 's/\(hash=\).*$/\1/' May 7 09:02:17 cucumber kernel: iwn0: detached May 7 09:02:17 cucumber kernel: pci3: at device 0.0 (no driver attached) May 7 09:02:17 cucumber root: /etc/rc.d/netif: WARNING: wlan0 does not exist. Skipped. May 7 09:02:24 cucumber kernel: iwn0: mem 0xf050-0xf0501fff irq 17 at device 0.0 on pci3 May 7 09:02:25 cucumber wpa_supplicant[3227]: Successfully initialized wpa_supplicant May 7 09:02:25 cucumber kernel: wlan0: Ethernet address: 00:24:d7:06:dc:08 May 7 09:02:25 cucumber kernel: iwn0: iwn_setregdomain: invalid channel 8 freq 2447/0x20480 May 7 09:02:25 cucumber kernel: iwn0: iwn_read_firmware: ucode rev=0x09dd0401 May 7 09:02:25 cucumber kernel: iwn0: iwn_read_firmware: ucode rev=0x09dd0401 May 7 09:02:26 cucumber wpa_supplicant[3228]: wlan0: Trying to associate with dc:fb:02:2b:d9:90 (SSID='ishorg-iNEi4Udw-a' freq=5220 MHz) May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: Associated with dc:fb:02:2b:d9:90 May 7 09:02:27 cucumber kernel: wlan0: link state changed to UP May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13 May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 13 (TLS) selected May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=JP/ST=Tokyo/O=ish/CN=cucumber.ish.org/emailAddress=ishiz...@ish.org' hash= May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/C=JP/ST=Tokyo/L=Suginami/O=ish/CN=gw3.ish.org/emailAddress=ishiz...@ish.org' hash= May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: WPA: Key negotiation completed with dc:fb:02:2b:d9:90 [PTK=CCMP GTK=CCMP] May 7 09:02:27 cucumber wpa_supplicant[3228]: wlan0: CTRL-EVENT-CONNECTED - Connection to dc:fb:02:2b:d9:90 completed [id=0 id_str=] -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #5 from Andriy Voskoboinyk --- Can you execute: kenv hint.iwn.0.debug=0x4010 reload the driver and attach dmesg output? (I have no idea where 8 and 9 were picked up (iwn_bands[5] = { 1, 2, 3, 4, 5, 6, 7 }). -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #4 from Masachika ISHIZUKA --- (In reply to Andriy Voskoboinyk from comment #3) Thank you for reply. I found that 'ifconfig -v wlan0 list chan' on 10.3R and 11-current are defferent. There are 109 nchans on 10.3R and 113 nchans (109 nchans are identical on 10.3R and 4 are ch8 HT40U, ch9 HT40U, ch12 HT40D, ch13 HT 40D) on 11-current. (N-6300 has 112 nchan was miscount.) > looks like a bug in add_channel_ht40(); it shouldn't add them. I'm not check yet, perhaps you are right. Thank you very much!!! -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #3 from Andriy Voskoboinyk --- > channel 8 freq 2447/0x20480 > channel 9 freq 2452/0x20480 HT40U > channel 12 freq 2467/0x40480 > channel 13 freq 2472/0x40480 HT40D looks like a bug in add_channel_ht40(); it shouldn't add them. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 --- Comment #2 from Andriy Voskoboinyk --- (In reply to Andriy Voskoboinyk from comment #1) a bit wrong here; by default, all channels are seen, so this should not change anything (r293716 has another intention). -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 Andriy Voskoboinyk changed: What|Removed |Added CC||a...@freebsd.org --- Comment #1 from Andriy Voskoboinyk --- > 'ifconfig wlan0 country JP' is working on 10.3-RELEASE it's (almost) noop; needed call (ic_getradiocaps) was added only in r293716. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
[Bug 209328] ifconfig wlan0 country JP cannot work on iwn(N-6300)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209328 Bug ID: 209328 Summary: ifconfig wlan0 country JP cannot work on iwn(N-6300) Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: i...@amail.plala.or.jp My PC (dell studio 1558) has N-6300 (iwn driver with iwn6000g2bfw.ko). 'ifconfig wlan0 country JP' is working on 10.3-RELEASE, but isn't working on 11-current (r298976) with message 'iwn0: iwn_setregdomain: invalid channel 8 freq 2447/0x20480'. Other country (for example, us, de, etc.) is working on 11-current. N-6300 has 112 nchan when country JP,iwn_setregdomain in if_iwn.c failed iwn_find_eeprom_channel(sc, c) with only 4 nchan. (invalid channel 8 freq 2447/0x20480, invalid channel 9 freq 2452/0x20480, invalid channel 12 freq 2467/0x40480, invalid channel 13 freq 2472/0x40480). I don't know cause. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"