Lines Matching full: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()
210 /* Send all internal mgmt frames on VO. Accordingly set TID to 7. */ in prepare_frame_for_deferred_tx()
243 struct ieee80211_mgmt *mgmt; in mesh_path_error_tx() local
259 mgmt = skb_put_zero(skb, hdr_len); in mesh_path_error_tx()
260 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_path_error_tx()
263 memcpy(mgmt->da, ra, ETH_ALEN); in mesh_path_error_tx()
264 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx()
266 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_path_error_tx()
267 mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; in mesh_path_error_tx()
268 mgmt->u.action.u.mesh_action.action_code = in mesh_path_error_tx()
374 * @mgmt: mesh management frame
388 struct ieee80211_mgmt *mgmt, in hwmp_route_info_get() argument
404 sta = sta_info_get(sdata, mgmt->sa); in hwmp_route_info_get()
524 ta = mgmt->sa; in hwmp_route_info_get()
576 struct ieee80211_mgmt *mgmt, in hwmp_preq_frame_process() argument
660 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
712 struct ieee80211_mgmt *mgmt, in hwmp_prep_frame_process() argument
774 struct ieee80211_mgmt *mgmt, in hwmp_perr_frame_process() argument
784 ta = mgmt->sa; in hwmp_perr_frame_process()
826 struct ieee80211_mgmt *mgmt, in hwmp_rann_frame_process() argument
854 orig_addr, mgmt->sa, root_is_gate); in hwmp_rann_frame_process()
857 sta = sta_info_get(sdata, mgmt->sa); in hwmp_rann_frame_process()
901 memcpy(mpath->rann_snd_addr, mgmt->sa, ETH_ALEN); in hwmp_rann_frame_process()
925 struct ieee80211_mgmt *mgmt, size_t len) in mesh_rx_path_sel_frame() argument
937 sta = sta_info_get(sdata, mgmt->sa); in mesh_rx_path_sel_frame()
944 baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt; in mesh_rx_path_sel_frame()
945 elems = ieee802_11_parse_elems(mgmt->u.action.u.mesh_action.variable, in mesh_rx_path_sel_frame()
954 path_metric = hwmp_route_info_get(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
957 hwmp_preq_frame_process(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
964 path_metric = hwmp_route_info_get(sdata, mgmt, elems->prep, in mesh_rx_path_sel_frame()
967 hwmp_prep_frame_process(sdata, mgmt, elems->prep, in mesh_rx_path_sel_frame()
974 hwmp_perr_frame_process(sdata, mgmt, elems->perr); in mesh_rx_path_sel_frame()
977 hwmp_rann_frame_process(sdata, mgmt, elems->rann); in mesh_rx_path_sel_frame()