33 skb = dev_alloc_skb(
sizeof(*msr_report) + local->
hw.extra_tx_headroom +
38 skb_reserve(skb, local->
hw.extra_tx_headroom);
47 skb_put(skb, 1 +
sizeof(msr_report->
u.action.u.measurement));
49 msr_report->
u.action.u.measurement.action_code =
51 msr_report->
u.action.u.measurement.dialog_token =
dialog_token;
54 msr_report->
u.action.u.measurement.length =
57 memset(&msr_report->
u.action.u.measurement.msr_elem, 0,
59 msr_report->
u.action.u.measurement.msr_elem.token = request_ie->
token;
60 msr_report->
u.action.u.measurement.msr_elem.mode |=
62 msr_report->
u.action.u.measurement.msr_elem.type = request_ie->
type;
64 ieee80211_tx_skb(sdata, skb);
78 ieee80211_send_refuse_measurement_request(sdata,
79 &mgmt->
u.action.u.measurement.msr_elem,
81 mgmt->
u.action.u.measurement.dialog_token);