Lines Matching refs:new_beacon
2872 struct cfg80211_beacon_data *new_beacon; in cfg80211_beacon_dup() local
2880 new_beacon = kzalloc(sizeof(*new_beacon) + len, GFP_KERNEL); in cfg80211_beacon_dup()
2881 if (!new_beacon) in cfg80211_beacon_dup()
2884 pos = (u8 *)(new_beacon + 1); in cfg80211_beacon_dup()
2886 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
2887 new_beacon->head = pos; in cfg80211_beacon_dup()
2892 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
2893 new_beacon->tail = pos; in cfg80211_beacon_dup()
2898 new_beacon->beacon_ies_len = beacon->beacon_ies_len; in cfg80211_beacon_dup()
2899 new_beacon->beacon_ies = pos; in cfg80211_beacon_dup()
2904 new_beacon->proberesp_ies_len = beacon->proberesp_ies_len; in cfg80211_beacon_dup()
2905 new_beacon->proberesp_ies = pos; in cfg80211_beacon_dup()
2910 new_beacon->assocresp_ies_len = beacon->assocresp_ies_len; in cfg80211_beacon_dup()
2911 new_beacon->assocresp_ies = pos; in cfg80211_beacon_dup()
2916 new_beacon->probe_resp_len = beacon->probe_resp_len; in cfg80211_beacon_dup()
2917 new_beacon->probe_resp = pos; in cfg80211_beacon_dup()
2922 return new_beacon; in cfg80211_beacon_dup()