Lines Matching refs:new_beacon
2813 struct cfg80211_beacon_data *new_beacon; in cfg80211_beacon_dup() local
2821 new_beacon = kzalloc(sizeof(*new_beacon) + len, GFP_KERNEL); in cfg80211_beacon_dup()
2822 if (!new_beacon) in cfg80211_beacon_dup()
2825 pos = (u8 *)(new_beacon + 1); in cfg80211_beacon_dup()
2827 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
2828 new_beacon->head = pos; in cfg80211_beacon_dup()
2833 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
2834 new_beacon->tail = pos; in cfg80211_beacon_dup()
2839 new_beacon->beacon_ies_len = beacon->beacon_ies_len; in cfg80211_beacon_dup()
2840 new_beacon->beacon_ies = pos; in cfg80211_beacon_dup()
2845 new_beacon->proberesp_ies_len = beacon->proberesp_ies_len; in cfg80211_beacon_dup()
2846 new_beacon->proberesp_ies = pos; in cfg80211_beacon_dup()
2851 new_beacon->assocresp_ies_len = beacon->assocresp_ies_len; in cfg80211_beacon_dup()
2852 new_beacon->assocresp_ies = pos; in cfg80211_beacon_dup()
2857 new_beacon->probe_resp_len = beacon->probe_resp_len; in cfg80211_beacon_dup()
2863 return new_beacon; in cfg80211_beacon_dup()