Search Linux Wireless

Use of IEEE80211_VHT_CAP_RXSTBC_* in mac80211_hwsim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The mac80211_hwsim driver puts this in its VHT capabilities info field:

    IEEE80211_VHT_CAP_RXSTBC_1 | 
    IEEE80211_VHT_CAP_RXSTBC_2 |
    IEEE80211_VHT_CAP_RXSTBC_3 |
    IEEE80211_VHT_CAP_RXSTBC_4

and I don't understand what that's supposed to mean.  According to
802.11-2016, the three-bit field isn't a series of boolean values, but a
single numerical value in its three bits, where the value is the maximum
number of STBC streams, and the maximum defined value is 4.

But the way that the code treats it, we end up with a value of 7.

There seems to be a similar issue in mac80211/main.c, in the definition of
mac80211_vht_capa_mod_mask.

Is that a bug in the code, or a misunderstanding on my part?  No other
(in-tree) drivers use any of the macros other than _1, so I don't have any
other references for how the other values might be used.

Thanks,
Danek



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux