Lines Matching refs:new_beacon
2835 struct cfg80211_beacon_data *new_beacon; in cfg80211_beacon_dup() local
2843 new_beacon = kzalloc(sizeof(*new_beacon) + len, GFP_KERNEL); in cfg80211_beacon_dup()
2844 if (!new_beacon) in cfg80211_beacon_dup()
2847 pos = (u8 *)(new_beacon + 1); in cfg80211_beacon_dup()
2849 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
2850 new_beacon->head = pos; in cfg80211_beacon_dup()
2855 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
2856 new_beacon->tail = pos; in cfg80211_beacon_dup()
2861 new_beacon->beacon_ies_len = beacon->beacon_ies_len; in cfg80211_beacon_dup()
2862 new_beacon->beacon_ies = pos; in cfg80211_beacon_dup()
2867 new_beacon->proberesp_ies_len = beacon->proberesp_ies_len; in cfg80211_beacon_dup()
2868 new_beacon->proberesp_ies = pos; in cfg80211_beacon_dup()
2873 new_beacon->assocresp_ies_len = beacon->assocresp_ies_len; in cfg80211_beacon_dup()
2874 new_beacon->assocresp_ies = pos; in cfg80211_beacon_dup()
2879 new_beacon->probe_resp_len = beacon->probe_resp_len; in cfg80211_beacon_dup()
2885 return new_beacon; in cfg80211_beacon_dup()