Re: [iwn] Cedric's stuff is in -HEAD
On Mon, Nov 11, 2013 at 10:21 PM, Adrian Chadd adr...@freebsd.org wrote: Hi, I've just committed Cedric's stuff to -HEAD. I also fixed the MRR stuff to work. With latest everything + http://people.freebsd.org/~adrian/iwn/2013-iwn-linkq-2stream-ant-fix-1.diff flymockour-l7% sysctl dev.iwn.0 dev.iwn.0.%desc: Intel Centrino Advanced-N 6205 dev.iwn.0.%driver: iwn dev.iwn.0.%location: slot=0 function=0 dev.iwn.0.%pnpinfo: vendor=0x8086 device=0x0085 subvendor=0x8086 subdevice=0x1311 class=0x028000 dev.iwn.0.%parent: pci3 dev.iwn.0.debug: 1 It stayed up for good 15 mins and then I saw this: Nov 12 10:25:47 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 114 retries 0 nkill 0 rate 8000e10d duration 139 status 201 Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 115 len 108 nsegs 2 rate 008d plcp 0xe10d Nov 12 10:25:48 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 115 retries 0 nkill 0 rate 8000e10d duration 139 status 201 Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 116 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:49 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 116 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 1 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 6 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 11 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 7 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 13 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 117 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 118 len 108 nsegs 2 rate 008d plcp 0xe10d Nov 12 10:25:49 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 117 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:49 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 118 retries 0 nkill 0 rate 8000e10d duration 139 status 201 Nov 12 10:25:50 flymockour-l7 kernel: iwn_notif_intr: scanning channel 13 status 1 Nov 12 10:25:50 flymockour-l7 kernel: received statistics without RSSI Nov 12 10:25:50 flymockour-l7 wpa_supplicant[8743]: wlan0: Trying to associate with 6c:f3:7f:4d:88:27 (SSID='Y!Office' freq=2437 MHz) Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 119 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:50 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 119 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 120 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:50 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 120 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:50 flymockour-l7 kernel: wlan0: link state changed to DOWN Nov 12 10:25:50 flymockour-l7 wpa_supplicant[8743]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address Nov 12 10:25:50 flymockour-l7 wpa_supplicant[8743]: wlan0:
Re: [iwn] Cedric's stuff is in -HEAD
Run with wlandebug +assoc +state +debug +output +scan +crypto On 12 November 2013 10:41, hiren panchasara hiren.panchas...@gmail.com wrote: On Mon, Nov 11, 2013 at 10:21 PM, Adrian Chadd adr...@freebsd.org wrote: Hi, I've just committed Cedric's stuff to -HEAD. I also fixed the MRR stuff to work. With latest everything + http://people.freebsd.org/~adrian/iwn/2013-iwn-linkq-2stream-ant-fix-1.diff flymockour-l7% sysctl dev.iwn.0 dev.iwn.0.%desc: Intel Centrino Advanced-N 6205 dev.iwn.0.%driver: iwn dev.iwn.0.%location: slot=0 function=0 dev.iwn.0.%pnpinfo: vendor=0x8086 device=0x0085 subvendor=0x8086 subdevice=0x1311 class=0x028000 dev.iwn.0.%parent: pci3 dev.iwn.0.debug: 1 It stayed up for good 15 mins and then I saw this: Nov 12 10:25:47 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 114 retries 0 nkill 0 rate 8000e10d duration 139 status 201 Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:48 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 115 len 108 nsegs 2 rate 008d plcp 0xe10d Nov 12 10:25:48 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 115 retries 0 nkill 0 rate 8000e10d duration 139 status 201 Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 116 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:49 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 116 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 1 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 6 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 11 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 7 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_notif_intr: scanning channel 13 status 1 Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 117 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:49 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 118 len 108 nsegs 2 rate 008d plcp 0xe10d Nov 12 10:25:49 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 117 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:49 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 118 retries 0 nkill 0 rate 8000e10d duration 139 status 201 Nov 12 10:25:50 flymockour-l7 kernel: iwn_notif_intr: scanning channel 13 status 1 Nov 12 10:25:50 flymockour-l7 kernel: received statistics without RSSI Nov 12 10:25:50 flymockour-l7 wpa_supplicant[8743]: wlan0: Trying to associate with 6c:f3:7f:4d:88:27 (SSID='Y!Office' freq=2437 MHz) Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 119 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:50 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 119 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 0: nr=16, rate=0x8d, rateentry=0x8f Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 1: nr=16, rate=0x8d, rateentry=0x8e Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_rate_to_linkq_offset: idx 2: nr=16, rate=0x8d, rateentry=0x8d Nov 12 10:25:50 flymockour-l7 kernel: iwn_tx_data: qid 0 idx 120 len 0 nsegs 0 rate 008d plcp 0xe10d Nov 12 10:25:50 flymockour-l7 kernel: iwn5000_tx_done: qid 0 idx 120 retries 0 nkill 0 rate 8000e10d duration 132 status 201 Nov 12 10:25:50
Re: [iwn] Cedric's stuff is in -HEAD
On Tue, Nov 12, 2013 at 10:45 AM, Adrian Chadd adr...@freebsd.org wrote: Run with wlandebug +assoc +state +debug +output +scan +crypto http://people.freebsd.org/~hiren/20131112_iwnfail_atwork.txt Thanks a bunch Adrian! ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: [iwn] Cedric's stuff is in -HEAD
On 12 November 2013 11:13, hiren panchasara hiren.panchas...@gmail.com wrote: On Tue, Nov 12, 2013 at 10:45 AM, Adrian Chadd adr...@freebsd.org wrote: Run with wlandebug +assoc +state +debug +output +scan +crypto http://people.freebsd.org/~hiren/20131112_iwnfail_atwork.txt What's this showing? What was going on at this time? Thanks a bunch Adrian! so, I have a feeling that for best iwn(4) behaviour, we should likely extend net80211 to not do its own scan stuff (by putting the VAP into power save mode whilst doing scanning) but just to fire off a scan request. I _think_ iwn(4) will do it itself. We should however still fix the scan code to not be a racy, unpredictable thing. -adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: [iwn] Cedric's stuff is in -HEAD
On Tue, Nov 12, 2013 at 12:19 PM, Adrian Chadd adr...@freebsd.org wrote: On 12 November 2013 11:13, hiren panchasara hiren.panchas...@gmail.com wrote: On Tue, Nov 12, 2013 at 10:45 AM, Adrian Chadd adr...@freebsd.org wrote: Run with wlandebug +assoc +state +debug +output +scan +crypto http://people.freebsd.org/~hiren/20131112_iwnfail_atwork.txt What's this showing? What was going on at this time? I keep pings going on another window just to see when it stops. It was doing alright (pings going through) and suddenly stops working around following lines in logs: Nov 12 10:59:51 flymockour-l7 kernel: wlan0: ieee80211_bg_scan: active scan, ticks 7165936 duration 150 Nov 12 10:59:51 flymockour-l7 kernel: wlan0: [6c:f3:7f:4d:88:47] send QoS null data frame on channel 1, pwr mgt ena and then it tries scanning and what not but never recovers. Funny (read annoying) thing is, its not failing in the same way every time it disconnects. I do not see the same pattern. And by stops working I see, it still has ip and ssid but status: no carrier in ifconfig. Thanks a bunch Adrian! so, I have a feeling that for best iwn(4) behaviour, we should likely extend net80211 to not do its own scan stuff (by putting the VAP into power save mode whilst doing scanning) but just to fire off a scan request. I _think_ iwn(4) will do it itself. We should however still fix the scan code to not be a racy, unpredictable thing. I am not sure if I follow. Any more clues you can throw based on the logs? Thanks again, Hiren ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
Re: [iwn] Cedric's stuff is in -HEAD
ok, try recreating the vap but with -bgscan -ampdutx -adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
[iwn] Cedric's stuff is in -HEAD
Hi, I've just committed Cedric's stuff to -HEAD. I also fixed the MRR stuff to work. It's been fun. Kinda. There are still issues with the driver. I bet the TX handling for aggregation frames isn't entirely correct. I bet the bluetooth coexistence isn't right. There's still the bugs with scanning, background scanning and things getting wedged if the NIC loses association and starts a scan. I'll attack them if I get angry enough and I can't just throw an Atheros NIC in the thing. I encourage other people to tackle these issues. I'm happy to help, but I'm feeling a bit burnt out sorting through this stuff. -adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org