[ath9k-devel] [PATCH v3 1/3] mac80211: add STBC flag for radiotap

2013-05-23 Thread Oleksij Rempel
Some chips can tell us if received frame was encoded with STBC or not. To make this information available in user space we can use updated radiotap specification: http://www.radiotap.org/defined-fields/MCS This patch add HAVE_STBC flag and provide number of STBC encoded spatial streams (Nss).

Re: [ath9k-devel] [PATCH v3 1/3] mac80211: add STBC flag for radiotap

2013-05-23 Thread Johannes Berg
On Thu, 2013-05-23 at 16:11 +0200, Oleksij Rempel wrote: - *pos++ = local-hw.radiotap_mcs_details; + + /* MCS known field */ + *pos = local-hw.radiotap_mcs_details; + if (stbc) + *pos |= IEEE80211_RADIOTAP_MCS_HAVE_STBC; I