Lines Matching refs:upd
3818 struct nl80211_sta_flag_update upd; in wpa_driver_nl80211_sta_add() local
3944 os_memset(&upd, 0, sizeof(upd)); in wpa_driver_nl80211_sta_add()
3945 upd.set = sta_flags_nl80211(params->flags); in wpa_driver_nl80211_sta_add()
3946 upd.mask = upd.set | sta_flags_nl80211(params->flags_mask); in wpa_driver_nl80211_sta_add()
3966 upd.mask &= ~(BIT(NL80211_STA_FLAG_ASSOCIATED) | in wpa_driver_nl80211_sta_add()
3971 upd.mask |= BIT(NL80211_STA_FLAG_AUTHENTICATED); in wpa_driver_nl80211_sta_add()
3973 upd.mask |= BIT(NL80211_STA_FLAG_ASSOCIATED); in wpa_driver_nl80211_sta_add()
3978 upd.set, upd.mask); in wpa_driver_nl80211_sta_add()
3979 if (nla_put(msg, NL80211_ATTR_STA_FLAGS2, sizeof(upd), &upd)) in wpa_driver_nl80211_sta_add()
4434 struct nl80211_sta_flag_update upd; in wpa_driver_nl80211_sta_set_flags() local
4465 os_memset(&upd, 0, sizeof(upd)); in wpa_driver_nl80211_sta_set_flags()
4466 upd.mask = sta_flags_nl80211(flags_or | ~flags_and); in wpa_driver_nl80211_sta_set_flags()
4467 upd.set = sta_flags_nl80211(flags_or); in wpa_driver_nl80211_sta_set_flags()
4468 if (nla_put(msg, NL80211_ATTR_STA_FLAGS2, sizeof(upd), &upd)) in wpa_driver_nl80211_sta_set_flags()
5235 struct nl80211_sta_flag_update upd; in wpa_driver_nl80211_set_supp_port() local
5246 os_memset(&upd, 0, sizeof(upd)); in wpa_driver_nl80211_set_supp_port()
5247 upd.mask = BIT(NL80211_STA_FLAG_AUTHORIZED); in wpa_driver_nl80211_set_supp_port()
5249 upd.set = BIT(NL80211_STA_FLAG_AUTHORIZED); in wpa_driver_nl80211_set_supp_port()
5253 nla_put(msg, NL80211_ATTR_STA_FLAGS2, sizeof(upd), &upd)) { in wpa_driver_nl80211_set_supp_port()