Lines Matching refs:beacon

880 	old = sdata_dereference(sdata->u.ap.beacon, sdata);  in ieee80211_assign_beacon()
962 rcu_assign_pointer(sdata->u.ap.beacon, new); in ieee80211_assign_beacon()
988 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
1073 err = ieee80211_assign_beacon(sdata, &params->beacon, NULL); in ieee80211_start_ap()
1082 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
1086 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_start_ap()
1117 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_change_beacon()
1139 old_beacon = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_stop_ap()
1164 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_stop_ap()
2157 if (!sdata_dereference(sdata->u.ap.beacon, sdata)) in ieee80211_change_bss()
2321 if (sdata->u.ap.beacon && in ieee80211_scan()
2958 cfg80211_beacon_dup(struct cfg80211_beacon_data *beacon) in cfg80211_beacon_dup() argument
2964 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
2965 beacon->proberesp_ies_len + beacon->assocresp_ies_len + in cfg80211_beacon_dup()
2966 beacon->probe_resp_len + beacon->lci_len + beacon->civicloc_len; in cfg80211_beacon_dup()
2973 if (beacon->head_len) { in cfg80211_beacon_dup()
2974 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
2976 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup()
2977 pos += beacon->head_len; in cfg80211_beacon_dup()
2979 if (beacon->tail_len) { in cfg80211_beacon_dup()
2980 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
2982 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup()
2983 pos += beacon->tail_len; in cfg80211_beacon_dup()
2985 if (beacon->beacon_ies_len) { in cfg80211_beacon_dup()
2986 new_beacon->beacon_ies_len = beacon->beacon_ies_len; in cfg80211_beacon_dup()
2988 memcpy(pos, beacon->beacon_ies, beacon->beacon_ies_len); in cfg80211_beacon_dup()
2989 pos += beacon->beacon_ies_len; in cfg80211_beacon_dup()
2991 if (beacon->proberesp_ies_len) { in cfg80211_beacon_dup()
2992 new_beacon->proberesp_ies_len = beacon->proberesp_ies_len; in cfg80211_beacon_dup()
2994 memcpy(pos, beacon->proberesp_ies, beacon->proberesp_ies_len); in cfg80211_beacon_dup()
2995 pos += beacon->proberesp_ies_len; in cfg80211_beacon_dup()
2997 if (beacon->assocresp_ies_len) { in cfg80211_beacon_dup()
2998 new_beacon->assocresp_ies_len = beacon->assocresp_ies_len; in cfg80211_beacon_dup()
3000 memcpy(pos, beacon->assocresp_ies, beacon->assocresp_ies_len); in cfg80211_beacon_dup()
3001 pos += beacon->assocresp_ies_len; in cfg80211_beacon_dup()
3003 if (beacon->probe_resp_len) { in cfg80211_beacon_dup()
3004 new_beacon->probe_resp_len = beacon->probe_resp_len; in cfg80211_beacon_dup()
3006 memcpy(pos, beacon->probe_resp, beacon->probe_resp_len); in cfg80211_beacon_dup()
3007 pos += beacon->probe_resp_len; in cfg80211_beacon_dup()
3011 new_beacon->ftm_responder = beacon->ftm_responder; in cfg80211_beacon_dup()
3012 if (beacon->lci) { in cfg80211_beacon_dup()
3013 new_beacon->lci_len = beacon->lci_len; in cfg80211_beacon_dup()
3015 memcpy(pos, beacon->lci, beacon->lci_len); in cfg80211_beacon_dup()
3016 pos += beacon->lci_len; in cfg80211_beacon_dup()
3018 if (beacon->civicloc) { in cfg80211_beacon_dup()
3019 new_beacon->civicloc_len = beacon->civicloc_len; in cfg80211_beacon_dup()
3021 memcpy(pos, beacon->civicloc, beacon->civicloc_len); in cfg80211_beacon_dup()
3022 pos += beacon->civicloc_len; in cfg80211_beacon_dup()