]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] add STBC capability flags to iv_flags_ht.
authoradrian <adrian@FreeBSD.org>
Tue, 26 Apr 2016 01:29:03 +0000 (01:29 +0000)
committeradrian <adrian@FreeBSD.org>
Tue, 26 Apr 2016 01:29:03 +0000 (01:29 +0000)
commit16ee478f132580fc8f1a7df88d421bad73acb3b8
tree6244736a30f01659a22f2888e8e7cb28b0809b29
parent7cf304dd3d2d55db2ff545bb1844351c94791bc1
[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