[Galaxy Tab 7.7 Android Development] FernandoMiguel:
been having many problems with wifi, with it not turning on or turning off without reason.

today i looked at dmesg and got this

<6>[ 1720.828977] c0 mmc2: new high speed SDIO card at address 0001
<7>[ 1720.830406] c0 ath6kl: sdio new func 1 vendor 0x271 device 0x301 block 0x800/0x200
<4>[ 1720.833238] c1 kworker/u:7: page allocation failure: order:5, mode:0xc0d0
<4>[ 1720.833257] c1 Backtrace:
<4>[ 1720.833308] c1 [<c014e2f0>] (dump_backtrace+0x0/0x10c) from [<c06b7f64>] (dump_stack+0x18/0x1c)
<4>[ 1720.833329] c1 r6:00000000 r5:0000c0d0 r4:00000001 r3:00000000
<4>[ 1720.833384] c1 [<c06b7f4c>] (dump_stack+0x0/0x1c) from [<c01f5a44>] (warn_alloc_failed+0xc8/0x104)
<4>[ 1720.833421] c1 [<c01f597c>] (warn_alloc_failed+0x0/0x104) from [<c01f7acc>] (__alloc_pages_nodemask+0x510/0x6e0)
<4>[ 1720.833442] c1 r3:00000000 r2:00000000
<4>[ 1720.833463] c1 r8:00000000 r7:00000040 r6:c0940560 r5:c09e6580 r4:00000001
<4>[ 1720.833516] c1 [<c01f75bc>] (__alloc_pages_nodemask+0x0/0x6e0) from [<c01f7cb4>] (__get_free_pages+0x18/0x34)
<4>[ 1720.833553] c1 [<c01f7c9c>] (__get_free_pages+0x0/0x34) from [<c01fced8>] (__kmalloc+0x150/0x15c)
<4>[ 1720.833588] c1 [<c01fcd88>] (__kmalloc+0x0/0x15c) from [<c06882fc>] (wiphy_new+0x108/0x3a4)
<4>[ 1720.833667] c1 [<c06881f4>] (wiphy_new+0x0/0x3a4) from [<bf00fc80>] (ath6kl_core_alloc+0x24/0x2a8 [ath6kl])
<4>[ 1720.833688] c1 r6:e0f99408 r5:bf02c144 r4:00000040
<4>[ 1720.833780] c1 [<bf00fc5c>] (ath6kl_core_alloc+0x0/0x2a8 [ath6kl]) from [<bf0222e0>] (ath6kl_sdio_probe+0x130/0x378 [ath6kl])
<4>[ 1720.833841] c1 [<bf0221b0>] (ath6kl_sdio_probe+0x0/0x378 [ath6kl]) from [<c04ba3e4>] (sdio_bus_probe+0xdc/0x108)
<4>[ 1720.833883] c1 [<c04ba308>] (sdio_bus_probe+0x0/0x108) from [<c0383548>] (driver_probe_device+0x98/0x1b4)
<4>[ 1720.833903] c1 r8:bf02d364 r7:00000000 r6:00000000 r5:c0a071b0 r4:e0f99408
<4>[ 1720.833938] c1 r3:c04ba308
<4>[ 1720.833967] c1 [<c03834b0>] (driver_probe_device+0x0/0x1b4) from [<c0383740>] (__device_attach+0x44/0x48)
<4>[ 1720.833988] c1 r8:c0a0718c r7:00000000 r6:00000000 r5:e0f99408 r4:bf02d364
<4>[ 1720.834022] c1 r3:bf02508c
<4>[ 1720.834051] c1 [<c03836fc>] (__device_attach+0x0/0x48) from [<c0382358>] (bus_for_each_drv+0x64/0x90)
<4>[ 1720.834070] c1 r5:c03836fc r4:e0f99408
<4>[ 1720.834104] c1 [<c03822f4>] (bus_for_each_drv+0x0/0x90) from [<c0383464>] (device_attach+0x9c/0xc0)
<4>[ 1720.834124] c1 r6:cdcf4408 r5:e0f9943c r4:e0f99408
<4>[ 1720.834163] c1 [<c03833c8>] (device_attach+0x0/0xc0) from [<c0382c40>] (bus_probe_device+0x2c/0x48)
<4>[ 1720.834183] c1 r6:cdcf4408 r5:e0f99410 r4:e0f99408 r3:00000001
<4>[ 1720.834227] c1 [<c0382c14>] (bus_probe_device+0x0/0x48) from [<c0381158>] (device_add+0x4bc/0x588)
<4>[ 1720.834259] c1 [<c0380c9c>] (device_add+0x0/0x588) from [<c04ba638>] (sdio_add_func+0x3c/0x54)
<4>[ 1720.834290] c1 [<c04ba5fc>] (sdio_add_func+0x0/0x54) from [<c04b9950>] (mmc_attach_sdio+0x2bc/0x478)
<4>[ 1720.834309] c1 r5:00000000 r4:e2d38000
<4>[ 1720.834352] c1 [<c04b9694>] (mmc_attach_sdio+0x0/0x478) from [<c04b20f8>] (mmc_rescan+0x268/0x300)
<4>[ 1720.834390] c1 [<c04b1e90>] (mmc_rescan+0x0/0x300) from [<c019cff4>] (process_one_work+0x128/0x3cc)
<4>[ 1720.834410] c1 r8:e2d382e8 r7:cdf98000 r6:e3593800 r5:c09eafe0 r4:dd01ef00
<4>[ 1720.834444] c1 r3:00000000
<4>[ 1720.834472] c1 [<c019cecc>] (process_one_work+0x0/0x3cc) from [<c019d424>] (worker_thread+0x18c/0x3e8)
<4>[ 1720.834507] c1 [<c019d298>] (worker_thread+0x0/0x3e8) from [<c01a1988>] (kthread+0x8c/0x94)
<4>[ 1720.834558] c1 [<c01a18fc>] (kthread+0x0/0x94) from [<c01895d0>] (do_exit+0x0/0x6cc)
<4>[ 1720.834580] c1 r6:c01895d0 r5:c01a18fc r4:dae8fec4
<4>[ 1720.834607] c1 Mem-info:
<4>[ 1720.834619] c1 Normal per-cpu:
<4>[ 1720.834636] c1 CPU 0: hi: 186, btch: 31 usd: 0
<4>[ 1720.834654] c1 CPU 1: hi: 186, btch: 31 usd: 0
<4>[ 1720.834668] c1 HighMem per-cpu:
<4>[ 1720.834683] c1 CPU 0: hi: 90, btch: 15 usd: 0
<4>[ 1720.834699] c1 CPU 1: hi: 90, btch: 15 usd: 0
<4>[ 1720.834731] c1 active_anon:84348 inactive_anon:41 isolated_anon:0
<4>[ 1720.834742] c1 active_file:17979 inactive_file:32301 isolated_file:0
<4>[ 1720.834752] c1 unevictable:280 dirty:9 writeback:0 unstable:0
<4>[ 1720.834762] c1 free:20589 slab_reclaimable:1727 slab_unreclaimable:3222
<4>[ 1720.834773] c1 mapped:13896 shmem:52 pagetables:2889 bounce:0
<4>[ 1720.834820] c1 Normal free:81448kB min:3604kB low:4504kB high:5404kB active_anon:224840kB inactive_anon:72kB active_file:42680kB inactive_file:76880kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:812800kB mlocked:0kB dirty:36kB writeback:0kB mapped:29792kB shmem:80kB slab_reclaimable:6908kB slab_unreclaimable:12888kB kernel_stack:7640kB pagetables:11556kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
<4>[ 1720.834873] c1 lowmem_reserve[]: 0 1778 1778
<4>[ 1720.834923] c1 HighMem free:908kB min:220kB low:472kB high:724kB active_anon:112552kB inactive_anon:92kB active_file:29236kB inactive_file:52324kB unevictable:1120kB isolated(anon):0kB isolated(file):0kB present:227584kB mlocked:0kB dirty:0kB writeback:0kB mapped:25792kB shmem:128kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
<4>[ 1720.834975] c1 lowmem_reserve[]: 0 0 0
<4>[ 1720.834998] c1 Normal: 7472*4kB 4769*8kB 830*16kB 4*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 81448kB
<4>[ 1720.835065] c1 HighMem: 73*4kB 33*8kB 10*16kB 2*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 908kB
<4>[ 1720.835131] c1 50630 total pagecache pages
<4>[ 1720.860615] c1 262144 pages of RAM
<4>[ 1720.860633] c1 21776 free pages
<4>[ 1720.860645] c1 64707 reserved pages
<4>[ 1720.860657] c1 3533 slab pages
<4>[ 1720.860669] c1 196024 pages shared
<4>[ 1720.860681] c1 0 pages swap cached
<3>[ 1720.860706] c1 ath6kl: couldn't allocate wiphy device
<3>[ 1720.860723] c1 ath6kl: Failed to alloc ath6kl core
<4>[ 1720.860783] c1 ath6kl_sdio: probe of mmc2:0001:1 failed with error -12
<6>[ 1722.456599] c0 cpu1 turning off!