{"action":"created","issue":{"url":"https://api.github.com/repos/kaloz/mwlwifi/issues/41","labels_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/41/comments","events_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/41/events","html_url":"https://github.com/kaloz/mwlwifi/issues/41","id":114460858,"number":41,"title":"ba/ampdu error with 10.3.0.12","user":{"login":"kristrev","id":2025654,"avatar_url":"https://avatars.githubusercontent.com/u/2025654?v=3","gravatar_id":"","url":"https://api.github.com/users/kristrev","html_url":"https://github.com/kristrev","followers_url":"https://api.github.com/users/kristrev/followers","following_url":"https://api.github.com/users/kristrev/following{/other_user}","gists_url":"https://api.github.com/users/kristrev/gists{/gist_id}","starred_url":"https://api.github.com/users/kristrev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristrev/subscriptions","organizations_url":"https://api.github.com/users/kristrev/orgs","repos_url":"https://api.github.com/users/kristrev/repos","events_url":"https://api.github.com/users/kristrev/events{/privacy}","received_events_url":"https://api.github.com/users/kristrev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":92,"created_at":"2015-11-01T09:38:11Z","updated_at":"2016-01-25T17:57:20Z","closed_at":null,"body":"Opened a new issue on @yuhhaurlin request.\r\n\r\nThings have improved significanlty since 10.3.0.10, but the ba/ampdu error still occurs:\r\n\r\n[  562.110063] ieee80211 phy0: check ba result error 1\r\n[  562.114983] ieee80211 phy0: ampdu start error code: -22\r\n[  562.170025] ieee80211 phy0: check ba result error 1\r\n[  562.174939] ieee80211 phy0: ampdu start error code: -22\r\n[  562.220015] ieee80211 phy0: check ba result error 1\r\n[  562.224924] ieee80211 phy0: ampdu start error code: -22\r\n[  562.270014] ieee80211 phy0: check ba result error 1\r\n[  562.274923] ieee80211 phy0: ampdu start error code: -22\r\n[  562.320028] ieee80211 phy0: check ba result error 1\r\n[  562.324939] ieee80211 phy0: ampdu start error code: -22\r\n[  562.380019] ieee80211 phy0: check ba result error 1\r\n[  562.384922] ieee80211 phy0: ampdu start error code: -22\r\n[  562.430018] ieee80211 phy0: check ba result error 1\r\n[  562.434919] ieee80211 phy0: ampdu start error code: -22\r\n\r\nThings work fine for a while, then some random event X happens and the errors start happening (while transferring data). The devices connected to 5GHz is an iPhone 6 Plus and a Lenovo X1 Carbon 2. gen. After some time it seems the 5Ghz just gives up and takes a long nap. By connecting to the 2.4 GHz and restarting wifi, 5GHz works again but at reduced speed.\r\n\r\nAnother, potentially related error, is that the iPhone has trouble connecting to the 5GHz network. It keeps requesting me for the key, and seemingly only accepts the key when another devices (the laptop) has been connected. Otherwise it just gives me an error.\r\n\r\nDebug fs output (in case it helps debugging):\r\n\r\n```\r\n/ampdu:\r\nstream: 0\r\nidx: 0\r\nstate: 3\r\nmac address: 7c:7a:91:a3:37:c5\r\ntid: 0\r\nstream: 1\r\nidx: 1\r\nstate: 3\r\nmac address: e0:b5:2d:15:cf:da\r\ntid: 0\r\nstream: 2\r\nidx: 0\r\nstate: 0\r\nstream: 3\r\nidx: 0\r\nstate: 0\r\n\r\n/info:\r\ndriver name: mwlwifi\r\nchip type: 88W8864\r\nhw version: 7\r\ndriver version: 10.3.0.12\r\nfirmware version: 0x07020806\r\nmac address: 00:25:9c:13:ab:6f\r\n2g: disable\r\n5g: enable\r\nantenna: 2 2\r\nirq number: 101\r\niobase0: e0e00000\r\niobase1: e1000000\r\ntx limit: 768\r\nrx limit: 64\r\nap macid support: 0000ffff\r\nsta macid support: 00010000\r\nmacid used: 00000001\r\nmfg mode: false\r\n\r\n/sta\r\n\r\nmac address: 7c:7a:91:a3:37:c5\r\naid: 1\r\nampdu: true\r\namsdu: false\r\nIV: 00000012d4b9\r\n\r\nmac address: e0:b5:2d:15:cf:da\r\naid: 2\r\nampdu: true\r\namsdu: false\r\nIV: 000000032348\r\n\r\n/vif\r\n\r\nmacid: 0\r\ntype: ap\r\nssid: XXXXXXX\r\nmac address: 00:25:9c:13:ab:6f\r\nhw_crypto_enabled: true\r\nkey idx: 0\r\nIV: 000000000001\r\nWMM:\r\n0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x00 \r\nRSN:\r\nRSN48:\r\n0x49 0x4a 0x41 0x42 0x43 0x44 0x45 0x46 \r\n0x47 0x48 0x49 0x4a 0x41 0x42 0x43 0x44 \r\n0x45 0x46 0x47 0x48 0x49 0x4a 0x41 0x42 \r\n0x43 0x44 \r\nHT:\r\n0x2d 0x1a 0x6f 0x00 0x17 0xff 0xff 0x00 \r\n0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x00 0x00 0x00 0x3d 0x16 0xa1 0x07 \r\n0x04 0x00 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 \r\n0x00 0x00 0x00 0x00 0x7f 0x08 0x00 0x00 \r\n0x00 0x00 0x00 0x00 0x00 0x40 \r\nVHT:\r\n0xbf 0x0c 0x31 0x18 0x80 0x33 0xfa 0xff \r\n0x00 0x00 0xfa 0xff 0x00 0x00 0xc0 0x05 \r\n0x01 0x9b 0x00 0xfc 0xff \r\n```\r\n\r\n@bmork also reports still seeing this issue with a Galaxy S3. He instrumented the driver with debug output and posted the following output in the other issue:\r\n\r\n```\r\n[ 3688.592193] mwl_rx_recv: ieee80211 phy0: c4:42:02:e2:8c:f3 - addba.resp.capab=0x802\r\n[ 8398.001127] mwl_rx_recv: ieee80211 phy0: 5c:0a:5b:79:ae:68 - addba.resp.capab=0x202\r\n[10097.335747] mwl_rx_recv: ieee80211 phy0: 0c:8b:fd:08:09:71 - addba.resp.capab=0x1002\r\n[11268.034546] mwl_rx_recv: ieee80211 phy0: 5c:0a:5b:79:ae:68 - addba.resp.capab=0x202\r\n[19654.992154] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[20421.038180] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[20656.173799] ieee80211 phy1: check ba result error 1\r\n[20656.178722] ieee80211 phy1: ampdu start error code: -22\r\n[20656.223819] ieee80211 phy1: check ba result error 1\r\n[20656.228741] ieee80211 phy1: ampdu start error code: -22\r\n[20656.344165] ieee80211 phy1: check ba result error 1\r\n[20656.349168] ieee80211 phy1: ampdu start error code: -22\r\n[20656.393800] ieee80211 phy1: check ba result error 1\r\n[20656.398763] ieee80211 phy1: ampdu start error code: -22\r\n[20656.443813] ieee80211 phy1: check ba result error 1\r\n[20656.448735] ieee80211 phy1: ampdu start error code: -22\r\n[20656.503806] ieee80211 phy1: check ba result error 1\r\n[20656.508782] ieee80211 phy1: ampdu start error code: -22\r\n[20656.553770] ieee80211 phy1: check ba result error 1\r\n[20656.558693] ieee80211 phy1: ampdu start error code: -22\r\n[20657.633966] ieee80211 phy1: check ba result error 1\r\n[20657.638893] ieee80211 phy1: ampdu start error code: -22\r\n[20831.758119] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[22123.133692] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[23020.998999] mwl_rx_recv: ieee80211 phy1: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[23058.813849] ieee80211 phy0: check ba result error 1\r\n[23058.818816] ieee80211 phy0: ampdu start error code: -22\r\n[23058.854137] ieee80211 phy0: check ba result error 1\r\n[23058.859108] ieee80211 phy0: ampdu start error code: -22\r\n[23058.904165] ieee80211 phy0: check ba result error 1\r\n[23058.909181] ieee80211 phy0: ampdu start error code: -22\r\n[23058.973989] ieee80211 phy0: check ba result error 1\r\n[23058.979005] ieee80211 phy0: ampdu start error code: -22\r\n[23059.014102] ieee80211 phy0: check ba result error 1\r\n[23059.019094] ieee80211 phy0: ampdu start error code: -22\r\n[23059.054064] ieee80211 phy0: check ba result error 1\r\n[23059.059037] ieee80211 phy0: ampdu start error code: -22\r\n[23059.094271] ieee80211 phy0: check ba result error 1\r\n[23059.099239] ieee80211 phy0: ampdu start error code: -22\r\n[23059.144212] ieee80211 phy0: check ba result error 1\r\n[23059.149338] ieee80211 phy0: ampdu start error code: -22\r\n[23059.223957] ieee80211 phy0: check ba result error 1\r\n[23059.228985] ieee80211 phy0: ampdu start error code: -22\r\n[23059.264327] ieee80211 phy0: check ba result error 1\r\n[23059.269315] ieee80211 phy0: ampdu start error code: -22\r\n[23059.324148] ieee80211 phy0: check ba result error 1\r\n[23059.329129] ieee80211 phy0: ampdu start error code: -22\r\n[23059.404042] ieee80211 phy0: check ba result error 1\r\n[23059.409010] ieee80211 phy0: ampdu start error code: -22\r\n[23059.444121] ieee80211 phy0: check ba result error 1\r\n[23059.449093] ieee80211 phy0: ampdu start error code: -22\r\n[23059.488862] ieee80211 phy0: check ba result error 1\r\n[23059.493785] ieee80211 phy0: ampdu start error code: -22\r\n[23059.534212] ieee80211 phy0: check ba result error 1\r\n[23059.539172] ieee80211 phy0: ampdu start error code: -22\r\n[23059.584337] ieee80211 phy0: check ba result error 1\r\n[23059.589358] ieee80211 phy0: ampdu start error code: -22\r\n[23059.654218] ieee80211 phy0: check ba result error 1\r\n[23059.659299] ieee80211 phy0: ampdu start error code: -22\r\n[23059.704376] ieee80211 phy0: check ba result error 1\r\n[23059.709357] ieee80211 phy0: ampdu start error code: -22\r\n[23059.784334] ieee80211 phy0: check ba result error 1\r\n[23059.789299] ieee80211 phy0: ampdu start error code: -22\r\n[23059.836120] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[28906.108176] mwl_rx_recv: ieee80211 phy0: 5c:0a:5b:79:ae:68 - addba.resp.capab=0x202\r\n[29157.141050] mwl_rx_recv: ieee80211 phy1: 0c:8b:fd:08:09:71 - addba.resp.capab=0x1002\r\n[32575.001086] ieee80211 phy1: check ba result error 1\r\n[32575.006008] ieee80211 phy1: ampdu start error code: -22\r\n[32575.051079] ieee80211 phy1: check ba result error 1\r\n[32575.056002] ieee80211 phy1: ampdu start error code: -22\r\n[32575.561088] ieee80211 phy1: check ba result error 1\r\n[32575.566009] ieee80211 phy1: ampdu start error code: -22\r\n[32575.611081] ieee80211 phy1: check ba result error 1\r\n[32575.616006] ieee80211 phy1: ampdu start error code: -22\r\n[32575.661130] ieee80211 phy1: check ba result error 1\r\n[32575.666055] ieee80211 phy1: ampdu start error code: -22\r\n[32575.721072] ieee80211 phy1: check ba result error 1\r\n[32575.725994] ieee80211 phy1: ampdu start error code: -22\r\n[32575.771084] ieee80211 phy1: check ba result error 1\r\n[32575.776007] ieee80211 phy1: ampdu start error code: -22\r\n[35788.932981] mwl_rx_recv: ieee80211 phy0: 5c:0a:5b:79:ae:68 - addba.resp.capab=0x202\r\n[67524.758920] mwl_rx_recv: ieee80211 phy0: 80:86:f2:09:0f:b5 - addba.resp.capab=0x1002\r\n[89605.118409] mwl_rx_recv: ieee80211 phy0: 0c:8b:fd:08:09:71 - addba.resp.capab=0x1002\r\n[91525.521926] mwl_rx_recv: ieee80211 phy0: 5c:0a:5b:79:ae:68 - addba.resp.capab=0x202\r\n[108434.204598] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[108445.369578] mwl_rx_recv: ieee80211 phy0: 0c:8b:fd:08:09:71 - addba.resp.capab=0x1002\r\n[108671.317061] mwl_rx_recv: ieee80211 phy1: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[108742.047095] ieee80211 phy0: check ba result error 1\r\n[108742.052155] ieee80211 phy0: ampdu start error code: -22\r\n[108742.086924] ieee80211 phy0: check ba result error 1\r\n[108742.092003] ieee80211 phy0: ampdu start error code: -22\r\n[108742.127182] ieee80211 phy0: check ba result error 1\r\n[108742.132250] ieee80211 phy0: ampdu start error code: -22\r\n[108742.166947] ieee80211 phy0: check ba result error 1\r\n[108742.172050] ieee80211 phy0: ampdu start error code: -22\r\n[108742.207132] ieee80211 phy0: check ba result error 1\r\n[108742.212301] ieee80211 phy0: ampdu start error code: -22\r\n[108742.247162] ieee80211 phy0: check ba result error 1\r\n[108742.252319] ieee80211 phy0: ampdu start error code: -22\r\n[108742.287046] ieee80211 phy0: check ba result error 1\r\n[108742.292106] ieee80211 phy0: ampdu start error code: -22\r\n[108742.480842] mwl_rx_recv: ieee80211 phy0: 58:c3:8b:ec:66:82 - addba.resp.capab=0x202\r\n[111659.302524] mwl_rx_recv: ieee80211 phy0: 0c:8b:fd:08:09:71 - addba.resp.capab=0x1006\r\n[114157.963627] mwl_rx_recv: ieee80211 phy0: 5c:0a:5b:79:ae:68 - addba.resp.capab=0x202\r\n[164362.167093] mwl_rx_recv: ieee80211 phy0: 0c:8b:fd:08:09:71 - addba.resp.capab=0x1002\r\n```"},"comment":{"url":"https://api.github.com/repos/kaloz/mwlwifi/issues/comments/174603216","html_url":"https://github.com/kaloz/mwlwifi/issues/41#issuecomment-174603216","issue_url":"https://api.github.com/repos/kaloz/mwlwifi/issues/41","id":174603216,"user":{"login":"johnnysl","id":15194724,"avatar_url":"https://avatars.githubusercontent.com/u/15194724?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnysl","html_url":"https://github.com/johnnysl","followers_url":"https://api.github.com/users/johnnysl/followers","following_url":"https://api.github.com/users/johnnysl/following{/other_user}","gists_url":"https://api.github.com/users/johnnysl/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnysl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnysl/subscriptions","organizations_url":"https://api.github.com/users/johnnysl/orgs","repos_url":"https://api.github.com/users/johnnysl/repos","events_url":"https://api.github.com/users/johnnysl/events{/privacy}","received_events_url":"https://api.github.com/users/johnnysl/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T17:57:20Z","updated_at":"2016-01-25T17:57:20Z","body":"It was requested for by the upstream Linux team reviewing the driver.\r\n"}}