Retrieve the module's PCI memory address with \fBlspci\fP:
.LP
-.NF
+.nf
# lspci -v
0b:00.0 Ethernet controller: Atheros Communications, Inc. AR5211 802.11ab NIC
(rev 01)
Memory at 6c000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
-.FI
+.fi
The above card has its memory mapped at 0x6c000000.
.PP
you must manually enable the PCI device with \fBsetpci\fP. The argument to "-s" comes
from the output above:
.LP
-.NF
+.nf
setpci -s 0b:00.0 command=0x41f cache_line_size=0x10
.PP
Retrieve some information of the module:
.LP
-.NF
+.nf
# ./ath_info 0x6c000000
\-==Device Information==\-
.br
| RFKill Support: no |
.br
========================
-.FI
+.fi
.PP
Set the regulatory domain to 0. You need to confirm to write with 'y' (-f turns this off).
Check \fBhttp://madwifi.org/wiki/UserDocs/CountryCode\fP for more information on
regdomains and country codes:
.LP
-.NF
+.nf
# ./ath_info -w 0x6c000000 regdomain 0
.br
-==Device Information==-
Shall I write the above value(s)? (y/n)
.br
y
-.FI
+.fi
.SH "BUGS"