OSDN Git Service

Accumulative patch from commit dc013f1e37df3462085cf01a13f0c432f146ad7a
[android-x86/external-wpa_supplicant_8.git] / src / ap / ieee802_11_vht.c
index b21c2b7..f6cc5d6 100644 (file)
@@ -108,3 +108,14 @@ u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta,
 
        return WLAN_STATUS_SUCCESS;
 }
+
+void hostapd_get_vht_capab(struct hostapd_data *hapd,
+                          struct ieee80211_vht_capabilities *vht_cap,
+                          struct ieee80211_vht_capabilities *neg_vht_cap)
+{
+       if (vht_cap == NULL)
+               return;
+       os_memcpy(neg_vht_cap, vht_cap, sizeof(*neg_vht_cap));
+
+       /* TODO: mask own capabilities, like get_ht_capab() */
+}