On 09/24/2012 02:29 PM, Johannes Berg wrote:
On Mon, 2012-09-24 at 03:57 +0000, Mahesh Palivela wrote:
From: Mahesh Palivela <maheshp@xxxxxxxxxxx>
To save peer STA VHT capabilities in mac80211.
Signed-off-by: Mahesh Palivela <maheshp@xxxxxxxxxxx>
---
Taken care of Johannes comments in patch v1
+ vht_cap->cap = le16_to_cpu(vht_cap_ie->vht_cap_info);
+
Well I think it'd be better to actually restrict/copy/update the feature
bits correctly, this would simplify drivers.
I am not sure on what bits to be masked. wanted to keep it as future item.
Anyways I attempted few bits below. Let me know if they are ok...
vht_cap->cap = le16_to_cpu(vht_cap_ie->vht_cap_info) &
(sband->ht_cap.cap |
~(IEEE80211_VHT_CAP_RXLDPC |
IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE |
IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE |
IEEE80211_VHT_CAP_HTC_VHT));
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html