mac80211: ath9k-htc: support "chanbw" in debugfs
authorLech Perczak <lech.perczak@gmail.com>
Tue, 7 Nov 2023 00:29:57 +0000 (01:29 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Nov 2023 15:27:16 +0000 (16:27 +0100)
commita5ba28454b52024ca40ccf9ef3bde390bf9500c7
tree86afde958f43965cc9d1442964834ae4fe95baaf
parentbd6dc4bffa0e58bdd6205817c704fad1ff88a414
mac80211: ath9k-htc: support "chanbw" in debugfs

ath9k-htc USB-based adapters also support 5/10MHz channel bandwidth.
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/512-ath9k_channelbw_debugfs.patch
package/kernel/mac80211/patches/ath9k/530-ath9k_extra_leds.patch