Lines Matching refs:beacon
964 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_assign_beacon()
1046 rcu_assign_pointer(sdata->u.ap.beacon, new); in ieee80211_assign_beacon()
1071 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
1179 err = ieee80211_assign_beacon(sdata, ¶ms->beacon, NULL); in ieee80211_start_ap()
1202 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
1206 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_start_ap()
1243 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_change_beacon()
1267 old_beacon = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_stop_ap()
1297 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_stop_ap()
2302 if (!sdata_dereference(sdata->u.ap.beacon, sdata)) in ieee80211_change_bss()
2467 if (sdata->u.ap.beacon && in ieee80211_scan()
3058 cfg80211_beacon_dup(struct cfg80211_beacon_data *beacon) in cfg80211_beacon_dup() argument
3064 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3065 beacon->proberesp_ies_len + beacon->assocresp_ies_len + in cfg80211_beacon_dup()
3066 beacon->probe_resp_len + beacon->lci_len + beacon->civicloc_len; in cfg80211_beacon_dup()
3073 if (beacon->head_len) { in cfg80211_beacon_dup()
3074 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
3076 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup()
3077 pos += beacon->head_len; in cfg80211_beacon_dup()
3079 if (beacon->tail_len) { in cfg80211_beacon_dup()
3080 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
3082 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup()
3083 pos += beacon->tail_len; in cfg80211_beacon_dup()
3085 if (beacon->beacon_ies_len) { in cfg80211_beacon_dup()
3086 new_beacon->beacon_ies_len = beacon->beacon_ies_len; in cfg80211_beacon_dup()
3088 memcpy(pos, beacon->beacon_ies, beacon->beacon_ies_len); in cfg80211_beacon_dup()
3089 pos += beacon->beacon_ies_len; in cfg80211_beacon_dup()
3091 if (beacon->proberesp_ies_len) { in cfg80211_beacon_dup()
3092 new_beacon->proberesp_ies_len = beacon->proberesp_ies_len; in cfg80211_beacon_dup()
3094 memcpy(pos, beacon->proberesp_ies, beacon->proberesp_ies_len); in cfg80211_beacon_dup()
3095 pos += beacon->proberesp_ies_len; in cfg80211_beacon_dup()
3097 if (beacon->assocresp_ies_len) { in cfg80211_beacon_dup()
3098 new_beacon->assocresp_ies_len = beacon->assocresp_ies_len; in cfg80211_beacon_dup()
3100 memcpy(pos, beacon->assocresp_ies, beacon->assocresp_ies_len); in cfg80211_beacon_dup()
3101 pos += beacon->assocresp_ies_len; in cfg80211_beacon_dup()
3103 if (beacon->probe_resp_len) { in cfg80211_beacon_dup()
3104 new_beacon->probe_resp_len = beacon->probe_resp_len; in cfg80211_beacon_dup()
3106 memcpy(pos, beacon->probe_resp, beacon->probe_resp_len); in cfg80211_beacon_dup()
3107 pos += beacon->probe_resp_len; in cfg80211_beacon_dup()
3111 new_beacon->ftm_responder = beacon->ftm_responder; in cfg80211_beacon_dup()
3112 if (beacon->lci) { in cfg80211_beacon_dup()
3113 new_beacon->lci_len = beacon->lci_len; in cfg80211_beacon_dup()
3115 memcpy(pos, beacon->lci, beacon->lci_len); in cfg80211_beacon_dup()
3116 pos += beacon->lci_len; in cfg80211_beacon_dup()
3118 if (beacon->civicloc) { in cfg80211_beacon_dup()
3119 new_beacon->civicloc_len = beacon->civicloc_len; in cfg80211_beacon_dup()
3121 memcpy(pos, beacon->civicloc, beacon->civicloc_len); in cfg80211_beacon_dup()
3122 pos += beacon->civicloc_len; in cfg80211_beacon_dup()