Lines Matching refs:mgmt

110 	struct ieee80211_mgmt *mgmt;  in mesh_path_sel_frame_tx()  local
121 mgmt = skb_put_zero(skb, hdr_len); in mesh_path_sel_frame_tx()
122 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_path_sel_frame_tx()
125 memcpy(mgmt->da, da, ETH_ALEN); in mesh_path_sel_frame_tx()
126 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx()
128 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_sel_frame_tx()
129 mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; in mesh_path_sel_frame_tx()
130 mgmt->u.action.u.mesh_action.action_code = in mesh_path_sel_frame_tx()
241 struct ieee80211_mgmt *mgmt; in mesh_path_error_tx() local
257 mgmt = skb_put_zero(skb, hdr_len); in mesh_path_error_tx()
258 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_path_error_tx()
261 memcpy(mgmt->da, ra, ETH_ALEN); in mesh_path_error_tx()
262 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx()
264 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx()
265 mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; in mesh_path_error_tx()
266 mgmt->u.action.u.mesh_action.action_code = in mesh_path_error_tx()
381 struct ieee80211_mgmt *mgmt, in hwmp_route_info_get() argument
396 sta = sta_info_get(sdata, mgmt->sa); in hwmp_route_info_get()
512 ta = mgmt->sa; in hwmp_route_info_get()
560 struct ieee80211_mgmt *mgmt, in hwmp_preq_frame_process() argument
644 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
696 struct ieee80211_mgmt *mgmt, in hwmp_prep_frame_process() argument
758 struct ieee80211_mgmt *mgmt, in hwmp_perr_frame_process() argument
768 ta = mgmt->sa; in hwmp_perr_frame_process()
810 struct ieee80211_mgmt *mgmt, in hwmp_rann_frame_process() argument
838 orig_addr, mgmt->sa, root_is_gate); in hwmp_rann_frame_process()
841 sta = sta_info_get(sdata, mgmt->sa); in hwmp_rann_frame_process()
885 memcpy(mpath->rann_snd_addr, mgmt->sa, ETH_ALEN); in hwmp_rann_frame_process()
909 struct ieee80211_mgmt *mgmt, size_t len) in mesh_rx_path_sel_frame() argument
921 sta = sta_info_get(sdata, mgmt->sa); in mesh_rx_path_sel_frame()
928 baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt; in mesh_rx_path_sel_frame()
929 elems = ieee802_11_parse_elems(mgmt->u.action.u.mesh_action.variable, in mesh_rx_path_sel_frame()
930 len - baselen, false, mgmt->bssid, NULL); in mesh_rx_path_sel_frame()
938 path_metric = hwmp_route_info_get(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
941 hwmp_preq_frame_process(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
948 path_metric = hwmp_route_info_get(sdata, mgmt, elems->prep, in mesh_rx_path_sel_frame()
951 hwmp_prep_frame_process(sdata, mgmt, elems->prep, in mesh_rx_path_sel_frame()
958 hwmp_perr_frame_process(sdata, mgmt, elems->perr); in mesh_rx_path_sel_frame()
961 hwmp_rann_frame_process(sdata, mgmt, elems->rann); in mesh_rx_path_sel_frame()