]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] add STBC capability flags to iv_flags_ht.
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 26 Apr 2016 01:29:03 +0000 (01:29 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 26 Apr 2016 01:29:03 +0000 (01:29 +0000)
commit5706199db6b10a1107157c383fed66d145b8206a
tree6244736a30f01659a22f2888e8e7cb28b0809b29
parent1729922f65fdc8db089223345ac78dbed86ea4d6
[net80211] add STBC capability flags to iv_flags_ht.

This is in preparation for exposing configuring STBC flags up to ifconfig
so STBC TX/RX can be configured at runtime.

* Set the FHT_STBC flags for TX/RX if the HT capabilitiex exist
* Clear the RX STBC HT capability flag when creating a HTCAP IE, so
  we only announce it if it's configured in the FHT flags.

Tested:

* AR9331 (carambola2), AP/STA modes
sys/net80211/ieee80211_ht.c