uath: add support for GCMP-128 encryption

Explicitly set the software ciphers; add support for GCMP-128.

Locally tested:

* AR5523 11abg NIC, 2/5GHz STA operation, GCMP forced
  in wpa_supplicant.conf

Differential Revision:	https://reviews.freebsd.org/D49370
Reviewed by:	bz
This commit is contained in:
Adrian Chadd 2025-03-14 19:05:04 -07:00
parent d8503e8768
commit d342ae6719

View file

@ -441,6 +441,12 @@ uath_attach(device_t dev)
ieee80211_init_channels(ic, NULL, bands);
ieee80211_ifattach(ic);
/* Note: this has to happen AFTER ieee80211_ifattach() */
ieee80211_set_software_ciphers(ic,
IEEE80211_CRYPTO_WEP | IEEE80211_CRYPTO_TKIP |
IEEE80211_CRYPTO_AES_CCM | IEEE80211_CRYPTO_AES_GCM_128);
ic->ic_raw_xmit = uath_raw_xmit;
ic->ic_scan_start = uath_scan_start;
ic->ic_scan_end = uath_scan_end;