All of lore.kernel.org
 help / color / mirror / Atom feed
* Does the reg_addr/reg_value reading work?
@ 2015-06-08 16:11 Ben Greear
  2015-06-08 16:46 ` Sebastian Gottschall
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Greear @ 2015-06-08 16:11 UTC (permalink / raw)
  To: ath10k

I am not getting expected values when I try to read registers
through the ath10k reg_addr/reg_value API.

For instance, I tried reading a particular register 0x80e0
(as defined in the firmware), and I get a zero value.  With a different
API that I wrote to dump some specific registers over the WMI API,
I get the expected value.

# echo 0x80e0 > /debug/ieee80211/wiphy0/ath10k/reg_addr
# cat /debug/ieee80211/wiphy0/ath10k/reg_value
0x000080e0:0x00000000
# cat /debug/ieee80211/wiphy0/ath10k/fw_regs

   ath10k Target Register Dump
             =================

           MAC-FILTER-ADDR-L32 0xd7ffffff
...

Is there some trick I am missing?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-11  7:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08 16:11 Does the reg_addr/reg_value reading work? Ben Greear
2015-06-08 16:46 ` Sebastian Gottschall
2015-06-08 19:45   ` Ben Greear
2015-06-08 20:02     ` Ben Greear
2015-06-08 21:23       ` Sebastian Gottschall
2015-06-08 21:28         ` Ben Greear
2015-06-11  7:45           ` Michal Kazior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.