At present, the mld_link_info structure is nested within the mld_info
structure. However, a future modification will require mld_link_info to
be outside of mld_info. To address this, move the mld_link_info
structure to hostapd.h so that it can be accessed both in the current
context and in the location needed for the upcoming change.
No functional changes.
Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
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
*/
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 {