On Mon, 2017-01-09 at 19:53 +0200, Jouni Malinen wrote: > > + if (!wdev->current_bss && > + !wiphy_ext_feature_isset( > + &rdev->wiphy, > + NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA)) > + return -EINVAL; > + if (wdev->current_bss && > + !wiphy_ext_feature_isset( > + &rdev->wiphy, > + NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CO > NNECTED)) > + return -EINVAL; > + } This current_bss stuff is going to be somewhat racy, but I guess we can live with that. Looks good, but doesn't apply without the first patch. johannes