You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ This is a utility to dump and update the EEPROM content of Atheros based wireles
6
6
atheepmgr supports several operations such as parsing and printing the EEPROM content, updating the EEPROM contents and so on. The utility can access EEPROM content of a real NIC and can works with EEPROM data that has been dumped to the file. You can find a few usage examples below.
7
7
8
8
The following EEPROM content access techniques are supported:
9
+
* via driver specific debug interface (using Linux ath9k/ath10k drivers)
9
10
* via mapping of the PCI device I/O region (using libpciaccess)
10
11
* via mapping of the directly specified device I/O region
11
12
* file dump
@@ -87,6 +88,22 @@ or using chip name instead of EEPROM map (layout) name:
87
88
88
89
*NB*: chip autodetection is not supported for file access, so you should specifiy EEPROM map (layout) or chip name manually. To see a full list of supported EEPROM maps use a *-h* option.
89
90
91
+
### Print EEPROM content of a network interface via driver
92
+
93
+
*NB*: at the moment only Linux ath9k/ath10k debug interfaces are supported, you driver should be build with enabled debugfs support (true for OpenWrt distro).
94
+
95
+
This access method useful in case of your Linux kernel blocks device I/O memory access via the /dev/mem. To access device EEPROM you should specify either network interface:
96
+
97
+
```
98
+
# atheepmgr -t 5415 -D wlan0
99
+
```
100
+
101
+
or Linux ieee80211 phy name:
102
+
103
+
```
104
+
# atheepmgr -t 5416 -D phy1
105
+
```
106
+
90
107
### Dump NIC EEPROM content to the file
91
108
92
109
Example: preserve a wireless NIC EEPROM content to the eep.bin file
0 commit comments