Lines Matching refs:new_beacon

3332 	struct cfg80211_beacon_data *new_beacon;  in cfg80211_beacon_dup()  local
3341 new_beacon = kzalloc(sizeof(*new_beacon) + len, GFP_KERNEL); in cfg80211_beacon_dup()
3342 if (!new_beacon) in cfg80211_beacon_dup()
3346 new_beacon->mbssid_ies = in cfg80211_beacon_dup()
3347 kzalloc(struct_size(new_beacon->mbssid_ies, in cfg80211_beacon_dup()
3350 if (!new_beacon->mbssid_ies) { in cfg80211_beacon_dup()
3351 kfree(new_beacon); in cfg80211_beacon_dup()
3356 pos = (u8 *)(new_beacon + 1); in cfg80211_beacon_dup()
3358 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
3359 new_beacon->head = pos; in cfg80211_beacon_dup()
3364 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
3365 new_beacon->tail = pos; in cfg80211_beacon_dup()
3370 new_beacon->beacon_ies_len = beacon->beacon_ies_len; in cfg80211_beacon_dup()
3371 new_beacon->beacon_ies = pos; in cfg80211_beacon_dup()
3376 new_beacon->proberesp_ies_len = beacon->proberesp_ies_len; in cfg80211_beacon_dup()
3377 new_beacon->proberesp_ies = pos; in cfg80211_beacon_dup()
3382 new_beacon->assocresp_ies_len = beacon->assocresp_ies_len; in cfg80211_beacon_dup()
3383 new_beacon->assocresp_ies = pos; in cfg80211_beacon_dup()
3388 new_beacon->probe_resp_len = beacon->probe_resp_len; in cfg80211_beacon_dup()
3389 new_beacon->probe_resp = pos; in cfg80211_beacon_dup()
3395 new_beacon->mbssid_ies, in cfg80211_beacon_dup()
3399 new_beacon->ftm_responder = beacon->ftm_responder; in cfg80211_beacon_dup()
3401 new_beacon->lci_len = beacon->lci_len; in cfg80211_beacon_dup()
3402 new_beacon->lci = pos; in cfg80211_beacon_dup()
3407 new_beacon->civicloc_len = beacon->civicloc_len; in cfg80211_beacon_dup()
3408 new_beacon->civicloc = pos; in cfg80211_beacon_dup()
3413 return new_beacon; in cfg80211_beacon_dup()