Hi,

I'm using openwrt/trunk on an OM2P-HS and when I enable wifi I never see any beacons. At boot time I see:

[    9.890000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[    9.900000] Backport based on wireless-testing.git master-2013-02-22
[    9.910000] compat.git: wireless-testing.git
[    9.970000] cfg80211: Calling CRDA to update world regulatory domain
[    9.970000] cfg80211: World regulatory domain updated:
[    9.980000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.990000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.990000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.000000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.010000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.020000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.530000] ath: EEPROM regdomain: 0x0
[   10.530000] ath: EEPROM indicates default country code should be used
[   10.530000] ath: doing EEPROM country->regdmn map search
[   10.530000] ath: country maps to regdmn code: 0x3a
[   10.530000] ath: Country alpha2 being used: US
[   10.530000] ath: Regpair used: 0x3a
[   10.540000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.550000] Registered led device: ath9k-phy0
[   10.550000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[   10.560000] cfg80211: Calling CRDA for country: US
[   10.560000] cfg80211: Regulatory domain changed to country: US
[   10.570000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.570000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   10.580000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   10.590000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.600000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.610000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.610000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)

which all seems fine as far as I can tell.

When I then enable wifi from luci, I see:

i[  309.720000] WARNING: at /home/openwrt/openwrt-trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/compat-wireless-2013-02-22/drivers/net/wireless/ath/ath9k/hw.c:789 ar9003_get_pll_sqsum_dvc+0x90/0x108 [ath9k_hw]()
[  309.740000] Modules linked in: ath79_wdt ledtrig_netdev nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 nf_nat pppoe xt_conntrack xt_CT iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) crc_ccitt cfg80211(O) compat(O) arc4 crypto_blkcipher aead ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[  309.800000] Call Trace:
[  309.800000] [<800703b0>] dump_stack+0x8/0x34
[  309.800000] [<80078dfc>] warn_slowpath_common+0x78/0xa4
[  309.810000] [<80078e40>] warn_slowpath_null+0x18/0x24
[  309.810000] [<83103934>] ar9003_get_pll_sqsum_dvc+0x90/0x108 [ath9k_hw]
[  309.820000] [<8316a978>] ath_hw_pll_work+0x40/0xd4 [ath9k]
[  309.820000] [<8008e5a4>] process_one_work+0x224/0x380
[  309.830000] [<8008ebb4>] worker_thread+0x2cc/0x3dc
[  309.830000] [<80092e28>] kthread+0xb0/0xb8
[  309.840000] [<8006dac0>] kernel_thread_helper+0x10/0x18
[  309.840000]
[  309.850000] ---[ end trace 61a10e44e409a142 ]---
[  309.850000] ath: phy0: PLL4 meaurement not done
[  309.970000] ath: phy0: PLL4 meaurement not done
[  310.080000] ath: phy0: PLL4 meaurement not done
[  310.190000] ath: phy0: PLL4 meaurement not done

And it keeps logging 'ath: phy0: PLL4 meaurement not done'.

Anybody else seeing this? Anybody know how to fix this?

Thanks.

Paul