Please include ath9k_htc module for common Atheros USB wireless support
ath9k_htc enables support for one of the best wireless sticks for Linux. Many distros include ath9k_htc module by default for Atheros USB wireless support (for example Raspbian includes it).
But at the moment Libre build of debian is:
But at the moment Libre build of debian is:
# CONFIG_ATH9K_HTC is not set
Comments
# CONFIG_CFG80211_WEXT is not set
Until then the driver loads nicely, the usb stick is initialized and firmware uploaded, but no wireless actions can be done:
root@libre-computer:~# dmesg |grep -i 'ath\|80211'
[ 3.879780] usb 1-2: Manufacturer: ATHEROS
[ 5.661974] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.708840] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.732911] cfg80211: failed to load regulatory.db
[ 5.808835] usb 1-2: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[ 5.813349] usbcore: registered new interface driver ath9k_htc
[ 6.102064] usb 1-2: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[ 6.352669] ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 33 credits
[ 6.602932] ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.4
[ 6.602981] ath9k_htc 1-2:1.0: FW RMW support: On
[ 6.607487] ath: EEPROM regdomain: 0x60
[ 6.607491] ath: EEPROM indicates we should expect a direct regpair map
[ 6.607496] ath: Country alpha2 being used: 00
[ 6.607499] ath: Regpair used: 0x60
[ 6.639998] ieee80211 phy0: Atheros AR9271 Rev:1
root@libre-computer:~# iwconfig wlan0
wlan0 no wireless extensions.
root@libre-computer:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning.
Please enable CONFIG_CFG80211_WEXT as a dependancy for CONFIG_ATH9K_HTC.
root@libre-computer:~# iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"XXX"
Mode:Managed Frequency:2.442 GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=65 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=48/70 Signal level=-62 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:13 Missed beacon:0
Thank you for the quick support!