Lines Matching refs:sub

6810 	const struct element *sub;  in ieee80211_ml_reconfiguration()  local
6822 for_each_mle_subelement(sub, (const u8 *)elems->ml_reconf, in ieee80211_ml_reconfiguration()
6824 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_ml_reconfiguration()
6828 if (sub->id != IEEE80211_MLE_SUBELEM_PER_STA_PROFILE) in ieee80211_ml_reconfiguration()
6831 if (!ieee80211_mle_reconf_sta_prof_size_ok(sub->data, in ieee80211_ml_reconfiguration()
6832 sub->datalen)) in ieee80211_ml_reconfiguration()
7164 const struct element *sub; in ieee80211_mgd_check_cross_link_csa() local
7177 for_each_element_id(sub, IEEE80211_MLE_SUBELEM_PER_STA_PROFILE, in ieee80211_mgd_check_cross_link_csa()
7179 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mgd_check_cross_link_csa()
7183 if (!ieee80211_mle_basic_sta_prof_size_ok(sub->data, in ieee80211_mgd_check_cross_link_csa()
7184 sub->datalen)) in ieee80211_mgd_check_cross_link_csa()
7198 len = cfg80211_defragment_element(sub, subelems, subelems_len, in ieee80211_mgd_check_cross_link_csa()
7204 sta_profiles[link_id] = sub; in ieee80211_mgd_check_cross_link_csa()
10881 const struct element *sub; in ieee80211_ml_epcs() local
10896 for_each_mle_subelement(sub, (const u8 *)elems->ml_epcs, in ieee80211_ml_epcs()
10900 u8 *pos = (void *)sub->data; in ieee80211_ml_epcs()
10905 if (sub->id != IEEE80211_MLE_SUBELEM_PER_STA_PROFILE) in ieee80211_ml_epcs()
10908 if (sub->datalen < sizeof(control)) in ieee80211_ml_epcs()
10918 len = cfg80211_defragment_element(sub, (u8 *)elems->ml_epcs, in ieee80211_ml_epcs()