Lines Matching defs:sta
332 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta,
339 sta->flags &= ~WLAN_STA_VHT;
340 os_free(sta->vht_capabilities);
341 sta->vht_capabilities = NULL;
345 if (sta->vht_capabilities == NULL) {
346 sta->vht_capabilities =
348 if (sta->vht_capabilities == NULL)
352 sta->flags |= WLAN_STA_VHT;
353 os_memcpy(sta->vht_capabilities, vht_capab,
360 u16 copy_sta_vht_oper(struct hostapd_data *hapd, struct sta_info *sta,
364 os_free(sta->vht_operation);
365 sta->vht_operation = NULL;
369 if (!sta->vht_operation) {
370 sta->vht_operation =
372 if (!sta->vht_operation)
376 os_memcpy(sta->vht_operation, vht_oper,
383 u16 copy_sta_vendor_vht(struct hostapd_data *hapd, struct sta_info *sta,
403 if (sta->vht_capabilities == NULL) {
404 sta->vht_capabilities =
406 if (sta->vht_capabilities == NULL)
410 sta->flags |= WLAN_STA_VHT | WLAN_STA_VENDOR_VHT;
411 os_memcpy(sta->vht_capabilities, vht_capab,
416 sta->flags &= ~WLAN_STA_VENDOR_VHT;
443 u16 set_sta_vht_opmode(struct hostapd_data *hapd, struct sta_info *sta,
447 sta->flags &= ~WLAN_STA_VHT_OPMODE_ENABLED;
451 sta->flags |= WLAN_STA_VHT_OPMODE_ENABLED;
452 sta->vht_opmode = *vht_oper_notif;