{"action":"created","issue":{"url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware/issues/126","repository_url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware","labels_url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware/issues/126/comments","events_url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware/issues/126/events","html_url":"https://github.com/qca/open-ath9k-htc-firmware/issues/126","id":209947169,"number":126,"title":"AR9271 stops receiving packets after several seconds to a several hours on monitor mode on any given channel, on every OS and card","user":{"login":"melikyuksel","id":10296053,"avatar_url":"https://avatars2.githubusercontent.com/u/10296053?v=3","gravatar_id":"","url":"https://api.github.com/users/melikyuksel","html_url":"https://github.com/melikyuksel","followers_url":"https://api.github.com/users/melikyuksel/followers","following_url":"https://api.github.com/users/melikyuksel/following{/other_user}","gists_url":"https://api.github.com/users/melikyuksel/gists{/gist_id}","starred_url":"https://api.github.com/users/melikyuksel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melikyuksel/subscriptions","organizations_url":"https://api.github.com/users/melikyuksel/orgs","repos_url":"https://api.github.com/users/melikyuksel/repos","events_url":"https://api.github.com/users/melikyuksel/events{/privacy}","received_events_url":"https://api.github.com/users/melikyuksel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":40,"created_at":"2017-02-24T03:00:10Z","updated_at":"2017-03-13T07:05:59Z","closed_at":null,"body":"Both the current and previous version seem to have the issue. After anywhere from 20 seconds to 3 hours or so of being in monitor mode, the interface stops receiving packets. **It seems to die more quickly during busier times when it receives more packets**. The `ifconfig` count stops increasing, and the driver debug `debug_fs` numbers also become static. The only way to get it to receive again is to change the channel (changing to another channel and then immediately switching back works; I don't know whether the card is slipping to a non-WiFi frequency or something, since `iw` still reports it as being on the same frequency as it was before, and it makes no changes to the frequency if it thinks the card is already on the channel that is specified). It doesn't seem to be able to stay on one channel for very long.\r\n\r\nI've tried this with several Atheros AR9271 chipset cards, like the ALFA AWUS036NHA and TP-Link TL-WN722N. They all have the same issue. I've tried it on Debian, Kali, Raspbian, Raspbian Lite, and Arch, and I've gotten identical behavior. I've tried a powered USB hub, an unpowered hub, and no hub at all. I've tried it on a MacBook, a Virtual Machine, a Mac Mini, a Raspberry Pi, and a Pi Zero. I've tried it with all sorts of different antenna. I've tried power supplies of various amperages. I've tried it with all other processes killed. I've switched intermediary USB cables around and gotten rid of them altogether. Power save is off in both module parameters and in `iw`.\r\n\r\n`dmesg` and syslog show no errors or events when this happens. The packets just silently stop coming in until the channel is changed. The activity LED on the cards stop blinking and turn solid. Other non-Atheros wireless adapters work fine on every system for weeks on an end without stopping packet reception.\r\n\r\nTo reproduce, put any AR9271 wireless card into monitor mode and take it into a relatively crowded area. Don't change the channel (or do it, it might die faster if you do, it's Russian roulette). It may take seconds or hours, but it is guaranteed to stop receiving packets indefinitely after a certain point within the day."},"comment":{"url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware/issues/comments/286029816","html_url":"https://github.com/qca/open-ath9k-htc-firmware/issues/126#issuecomment-286029816","issue_url":"https://api.github.com/repos/qca/open-ath9k-htc-firmware/issues/126","id":286029816,"user":{"login":"erikarn","id":1156589,"avatar_url":"https://avatars1.githubusercontent.com/u/1156589?v=3","gravatar_id":"","url":"https://api.github.com/users/erikarn","html_url":"https://github.com/erikarn","followers_url":"https://api.github.com/users/erikarn/followers","following_url":"https://api.github.com/users/erikarn/following{/other_user}","gists_url":"https://api.github.com/users/erikarn/gists{/gist_id}","starred_url":"https://api.github.com/users/erikarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikarn/subscriptions","organizations_url":"https://api.github.com/users/erikarn/orgs","repos_url":"https://api.github.com/users/erikarn/repos","events_url":"https://api.github.com/users/erikarn/events{/privacy}","received_events_url":"https://api.github.com/users/erikarn/received_events","type":"User","site_admin":false},"created_at":"2017-03-13T07:05:58Z","updated_at":"2017-03-13T07:05:58Z","body":"It's supposed to show up when the interface is created. If it's not\nprinting it out, then it's not starting.\n\nWhich kernel version are you using? Does ti really not show up in 'dmesg' ?\n\n\n-adrian\n\n\nOn 12 March 2017 at 18:00, melikyuksel <notifications@github.com> wrote:\n\n> @erikarn <https://github.com/erikarn> I seem to have had the first\n> surrender, where one of the cards stopped after 50 minutes (with channel\n> hopping being done every 10 minutes). But where is that printk message\n> supposed to show up? I checked dmesg and did not see it there, but I\n> modified some of the messages in hif_usb.c at the same time, and I *do*\n> see those. Those use the dev_info function, apparently:\n>\n> dev_info(&hif_dev->udev->dev, \"ath9k_htc: Transferred FW: %s, size: %ld\\n\",\n>                  hif_dev->fw_name, (unsigned long) hif_dev->fw_size);\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/qca/open-ath9k-htc-firmware/issues/126#issuecomment-285993064>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABGl7c_R3pMI780ADKPCrQZKn2_P7XCwks5rlJUsgaJpZM4MKxUF>\n> .\n>\n"}}
{"actor":{"display_login":"erikarn"}}