Re: [PATCH v3] nl80211: Receive correct value for NL80211_MESHCONF_HT_OPMODE command
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-08-05 12:15:19
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-08-05 12:15:19
On Wed, 2016-08-03 at 10:07 +0900, Masashi Honma wrote:
Previously, NL80211_MESHCONF_HT_OPMODE rejected correct flag combination, ex) IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED | IEEE80211_HT_OP_MODE_NON_HT_STA_PRSNT. This was caused by simple comparison with value 16. This causes setting non-existent flag (like 0x08) and invalid flag combinations. So this commit implements some checks based on IEEE 802.11 2012 8.4.2.59 HT Operation element.
Applied, with some minor changes. johannes