diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h index e5ca81236..4dc1067cc 100644 --- a/src/ap/hostapd.h +++ b/src/ap/hostapd.h @@ -167,6 +167,21 @@ struct hostapd_sae_commit_queue { u8 msg[]; }; +struct mld_link_info { + u8 valid:1; + u8 nstr_bitmap_len:2; + u8 local_addr[ETH_ALEN]; + u8 peer_addr[ETH_ALEN]; + + u8 nstr_bitmap[2]; + + u16 capability; + + u16 status; + u16 resp_sta_profile_len; + u8 *resp_sta_profile; +}; + /** * struct hostapd_data - hostapd per-BSS data structure */ diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h index 84629358c..5b01c1e6f 100644 --- a/src/ap/sta_info.h +++ b/src/ap/sta_info.h @@ -81,20 +81,7 @@ struct mld_info { u16 mld_capa; } common_info; - struct mld_link_info { - u8 valid:1; - u8 nstr_bitmap_len:2; - u8 local_addr[ETH_ALEN]; - u8 peer_addr[ETH_ALEN]; - - u8 nstr_bitmap[2]; - - u16 capability; - - u16 status; - u16 resp_sta_profile_len; - u8 *resp_sta_profile; - } links[MAX_NUM_MLD_LINKS]; + struct mld_link_info links[MAX_NUM_MLD_LINKS]; }; struct sta_info {