I have a AVM Fritz!Box 3370 which is supported by the lantiq xrx200 target in the master branch.
I also have USB WiFi Sticks TP-Link TL-WN722N which are supported by the kmod-ath9k-htc driver together with the ath9k-htc-firmware.
These are working fine using e.g. a WDR3600 and the ath79 target, which uses kernel 4.14 like the lantiq xrx200 target.
But when trying to use this stick with the FB 3370, i get the following dmesg entries:
[ 12.197251] usb 2-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[ 12.451281] ath9k_htc 2-1:1.0: ath9k_htc: HTC initialized with 33 credits
[ 12.857799] ath: phy1: Mac Chip Rev 0x0f.3 is not supported by this driver
[ 12.863331] ath: phy1: Unable to initialize hardware; initialization status: -122
[ 12.870811] ath: phy1: Unable to initialize hardware; initialization status: -122
[ 12.878341] ath9k_htc: Failed to initialize the device
[ 12.904928] usb 2-1: ath9k_htc: USB layer deinitialized
i managed to resolve the libusb error message, but the actual problem persists:
the driver reports that it doesn't support "Mac Chip Rev 0x0f.3" although this works with the device from another target.
when i attach the usb stick using a USB hub with external power, i get a different error message:
[ 389.503123] usb 2-1.3.3: new high-speed USB device number 9 using dwc2
[ 389.630891] usb 2-1.3.3: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[ 390.647319] usb 2-1.3.3: ath9k_htc: Firmware - ath9k_htc/htc_9271-1.4.0.fw download failed
[ 390.654848] usb 2-1.3.3: ath9k_htc: USB layer deinitialized
tried it, doesn't help. also, both fw files have the same sha256sum
Looking at the title again, the file would be /etc/modules.d/ath9k-htc, with the contents ath9k_htc nohwcrypt=1, I won't give you any assurances that ath9k_htc can enable hwcrypto for your desired mode of operation.
also tried that file of course, unloaded all ath9k related modules with "rmmod" changed the file /etc/modules.d/ath9k-htc like you suggest and after modprobe the nohwcrypt parameter still says 0 in /sys/module/ath9k_htc/parameters/nohwcrypt
You aren't on a desktop distro, where kmod and udev take care of this.
/etc/modules.d/ath9k-htc is only used during system boot, that's when it would apply the module parameter. If you use busybox' insmod/ modprobe implementation you will have to specify the module parameter yourself.