mac80211: ath9k-htc: support "eeprom" in debugfs
authorLech Perczak <lech.perczak@gmail.com>
Tue, 7 Nov 2023 00:02:11 +0000 (01:02 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Nov 2023 15:27:16 +0000 (16:27 +0100)
commitbd6dc4bffa0e58bdd6205817c704fad1ff88a414
treee91fe155d0823382bcbf3dfa857f847991949425
parent9e49e0a6c4535d345084cc62c594be5cad23b911
mac80211: ath9k-htc: support "eeprom" in debugfs

ath9k-htc USB-based adapterssupport 5/10MHz channel bandwidth, the
same as standard ath9k ones.
Move the code handling the features in debugfs to common-debug.c,
and create proper registration functions to use in debug.c and
htc_drv_debug.c, leaving only debugfs registration there.

While at that, refresh one patch that would conflict otherwise.

Tested on TP-Link Archer C7v2 (ath79) and TP-Link WN722Nv1 (AR9287)
and WN822Nv2 (AR7010+AR9287).

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
package/kernel/mac80211/patches/ath9k/500-ath9k_eeprom_debugfs.patch
package/kernel/mac80211/patches/ath9k/512-ath9k_channelbw_debugfs.patch