mac80211: fix calculation of VHT capability values
authorScott Shambarger <devel@shambarger.net>
Fri, 10 Jun 2016 12:50:35 +0000 (14:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 10 Jun 2016 16:08:30 +0000 (18:08 +0200)
commit4b8f0a2d26e5477b2dc4542ec7438665a906b756
treed9c5e8d61e21878f0a6d92017babe0ffd253f278
parent96db69bd45e459def044645ad759245581a6a5b2
mac80211: fix calculation of VHT capability values

 - Fix calculation of `$vht_cap` bit field
 - Replace wrong reference to `$tx_stbc` variable with proper `$tx_stbc_2by1` one
 - Emit proper `RX-STBC-{1,12,123,1234}` tokens for the VHT capability list

See https://dev.openwrt.org/ticket/22535 for reference.

Signed-off-by: Scott Shambarger <devel@shambarger.net>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh