Home
last modified time | relevance | path

Searched refs:mgmt (Results 1 – 25 of 114) sorted by relevance

12345

/linux/net/mac80211/
H A Ds1g.c22 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in ieee80211_s1g_is_twt_setup() local
24 if (likely(!ieee80211_is_action(mgmt->frame_control))) in ieee80211_s1g_is_twt_setup()
27 if (likely(mgmt->u.action.category != WLAN_CATEGORY_S1G)) in ieee80211_s1g_is_twt_setup()
30 return mgmt->u.action.u.s1g.action_code == WLAN_S1G_TWT_SETUP; in ieee80211_s1g_is_twt_setup()
39 struct ieee80211_mgmt *mgmt; in ieee80211_s1g_send_twt_setup() local
47 mgmt = skb_put_zero(skb, len); in ieee80211_s1g_send_twt_setup()
48 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_s1g_send_twt_setup()
50 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_s1g_send_twt_setup()
51 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_s1g_send_twt_setup()
52 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_s1g_send_twt_setup()
[all …]
H A Dfils_aead.c220 struct ieee80211_mgmt *mgmt = (void *)skb->data; in fils_encrypt_assoc_req() local
227 if (ieee80211_is_reassoc_req(mgmt->frame_control)) { in fils_encrypt_assoc_req()
228 capab = (u8 *)&mgmt->u.reassoc_req.capab_info; in fils_encrypt_assoc_req()
229 ies = mgmt->u.reassoc_req.variable; in fils_encrypt_assoc_req()
231 capab = (u8 *)&mgmt->u.assoc_req.capab_info; in fils_encrypt_assoc_req()
232 ies = mgmt->u.assoc_req.variable; in fils_encrypt_assoc_req()
245 addr[0] = mgmt->sa; in fils_encrypt_assoc_req()
248 addr[1] = mgmt->da; in fils_encrypt_assoc_req()
272 struct ieee80211_mgmt *mgmt = (void *)frame; in fils_decrypt_assoc_resp() local
283 capab = (u8 *)&mgmt->u.assoc_resp.capab_info; in fils_decrypt_assoc_resp()
[all …]
H A Dagg-rx.c234 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_resp() local
238 skb = dev_alloc_skb(sizeof(*mgmt) + in ieee80211_send_addba_resp()
245 mgmt = ieee80211_mgmt_ba(skb, da, sdata); in ieee80211_send_addba_resp()
247 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); in ieee80211_send_addba_resp()
248 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_resp()
249 mgmt->u.action.u.addba_resp.action_code = WLAN_ACTION_ADDBA_RESP; in ieee80211_send_addba_resp()
250 mgmt->u.action.u.addba_resp.dialog_token = dialog_token; in ieee80211_send_addba_resp()
257 mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); in ieee80211_send_addba_resp()
258 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_resp()
259 mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); in ieee80211_send_addba_resp()
[all …]
H A Dmesh.c19 bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt) in mesh_action_is_path_sel() argument
21 return (mgmt->u.action.u.mesh_action.action_code == in mesh_action_is_path_sel()
952 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_build_beacon() local
1011 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_mesh_build_beacon()
1012 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_build_beacon()
1014 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon()
1015 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon()
1016 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon()
1017 ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt); in ieee80211_mesh_build_beacon()
1018 mgmt->u.beacon.beacon_int = in ieee80211_mesh_build_beacon()
[all …]
H A Dht.c462 struct ieee80211_mgmt *mgmt; in ieee80211_send_delba() local
465 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_delba()
470 mgmt = ieee80211_mgmt_ba(skb, da, sdata); in ieee80211_send_delba()
472 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba()
474 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_delba()
475 mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; in ieee80211_send_delba()
479 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba()
480 mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); in ieee80211_send_delba()
487 struct ieee80211_mgmt *mgmt, size_t len) in ieee80211_process_delba() argument
492 params = le16_to_cpu(mgmt->u.action.u.delba.params); in ieee80211_process_delba()
[all …]
H A Dagg-tx.c68 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_request() local
71 skb = dev_alloc_skb(sizeof(*mgmt) + in ieee80211_send_addba_request()
78 mgmt = ieee80211_mgmt_ba(skb, sta->sta.addr, sdata); in ieee80211_send_addba_request()
80 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req)); in ieee80211_send_addba_request()
82 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_request()
83 mgmt->u.action.u.addba_req.action_code = WLAN_ACTION_ADDBA_REQ; in ieee80211_send_addba_request()
85 mgmt->u.action.u.addba_req.dialog_token = dialog_token; in ieee80211_send_addba_request()
91 mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab); in ieee80211_send_addba_request()
93 mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_request()
94 mgmt->u.action.u.addba_req.start_seq_num = in ieee80211_send_addba_request()
[all …]
H A Dmlme.c1772 struct ieee80211_mgmt *mgmt; in ieee80211_send_assoc() local
1795 sizeof(*mgmt) + /* bit too much but doesn't matter */ in ieee80211_send_assoc()
1889 mgmt = skb_put_zero(skb, 24); in ieee80211_send_assoc()
1890 memcpy(mgmt->da, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc()
1891 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_assoc()
1892 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc()
1899 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_assoc()
1901 capab_pos = &mgmt->u.reassoc_req.capab_info; in ieee80211_send_assoc()
1902 mgmt->u.reassoc_req.listen_interval = listen_int; in ieee80211_send_assoc()
1903 memcpy(mgmt->u.reassoc_req.current_ap, in ieee80211_send_assoc()
[all …]
H A Diface.c1488 struct ieee80211_mgmt *mgmt = (void *)skb->data; in ieee80211_iface_process_skb() local
1492 if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_iface_process_skb()
1493 mgmt->u.action.category == WLAN_CATEGORY_BACK) { in ieee80211_iface_process_skb()
1497 sta = sta_info_get_bss(sdata, mgmt->sa); in ieee80211_iface_process_skb()
1499 switch (mgmt->u.action.u.addba_req.action_code) { in ieee80211_iface_process_skb()
1502 mgmt, len); in ieee80211_iface_process_skb()
1506 mgmt, len); in ieee80211_iface_process_skb()
1510 mgmt, len); in ieee80211_iface_process_skb()
1517 } else if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_iface_process_skb()
1518 mgmt->u.action.category == WLAN_CATEGORY_VHT) { in ieee80211_iface_process_skb()
[all …]
H A Doffchannel.c817 const struct ieee80211_mgmt *mgmt = (void *)params->buf; in ieee80211_mgmt_tx() local
857 sta = sta_info_get_bss(sdata, mgmt->da); in ieee80211_mgmt_tx()
860 if (!ieee80211_is_action(mgmt->frame_control) || in ieee80211_mgmt_tx()
861 mgmt->u.action.category == WLAN_CATEGORY_PUBLIC || in ieee80211_mgmt_tx()
862 mgmt->u.action.category == WLAN_CATEGORY_SELF_PROTECTED || in ieee80211_mgmt_tx()
863 mgmt->u.action.category == WLAN_CATEGORY_SPECTRUM_MGMT) { in ieee80211_mgmt_tx()
885 memcmp(sdata->vif.cfg.ap_addr, mgmt->bssid, ETH_ALEN))) { in ieee80211_mgmt_tx()
888 ether_addr_equal(sdata->vif.cfg.ap_addr, mgmt->da)) { in ieee80211_mgmt_tx()
889 sta = sta_info_get_bss(sdata, mgmt->da); in ieee80211_mgmt_tx()
928 ether_addr_equal(sdata->vif.addr, mgmt->sa)) { in ieee80211_mgmt_tx()
[all …]
H A Dscan.c166 struct ieee80211_mgmt *mgmt, size_t len, in ieee80211_bss_info_update() argument
169 bool beacon = ieee80211_is_beacon(mgmt->frame_control) || in ieee80211_bss_info_update()
170 ieee80211_is_s1g_beacon(mgmt->frame_control); in ieee80211_bss_info_update()
227 mgmt, len, GFP_ATOMIC); in ieee80211_bss_info_update()
260 struct ieee80211_mgmt *mgmt = (void *)skb->data; in ieee80211_scan_rx() local
266 if (!ieee80211_is_probe_resp(mgmt->frame_control) && in ieee80211_scan_rx()
267 !ieee80211_is_beacon(mgmt->frame_control) && in ieee80211_scan_rx()
268 !ieee80211_is_s1g_beacon(mgmt->frame_control)) in ieee80211_scan_rx()
271 if (ieee80211_is_s1g_beacon(mgmt->frame_control)) { in ieee80211_scan_rx()
272 if (ieee80211_is_s1g_short_beacon(mgmt->frame_control)) in ieee80211_scan_rx()
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_rx.c16 static void wfx_rx_handle_ba(struct wfx_vif *wvif, struct ieee80211_mgmt *mgmt) in wfx_rx_handle_ba() argument
24 switch (mgmt->u.action.u.addba_req.action_code) { in wfx_rx_handle_ba()
26 params = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in wfx_rx_handle_ba()
28 ieee80211_start_rx_ba_session_offl(vif, mgmt->sa, tid); in wfx_rx_handle_ba()
31 params = le16_to_cpu(mgmt->u.action.u.delba.params); in wfx_rx_handle_ba()
33 ieee80211_stop_rx_ba_session_offl(vif, mgmt->sa, tid); in wfx_rx_handle_ba()
42 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in wfx_rx_cb() local
82 mgmt->u.action.category == WLAN_CATEGORY_BACK && in wfx_rx_cb()
84 wfx_rx_handle_ba(wvif, mgmt); in wfx_rx_cb()
/linux/net/wireless/
H A Dmlme.c30 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)data->buf; in cfg80211_rx_assoc_resp() local
35 .resp_ie = mgmt->u.assoc_resp.variable, in cfg80211_rx_assoc_resp()
39 .status = le16_to_cpu(mgmt->u.assoc_resp.status_code), in cfg80211_rx_assoc_resp()
63 cr.resp_ie = (u8 *)&mgmt->u.s1g_assoc_resp.variable; in cfg80211_rx_assoc_resp()
114 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_process_deauth() local
115 const u8 *bssid = mgmt->bssid; in cfg80211_process_deauth()
116 u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code); in cfg80211_process_deauth()
117 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth()
133 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_process_disassoc() local
134 const u8 *bssid = mgmt->bssid; in cfg80211_process_disassoc()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-hidma-mgmt1 What: /sys/devices/platform/hidma-mgmt*/chanops/chan*/priority
10 What: /sys/devices/platform/hidma-mgmt*/chanops/chan*/weight
19 What: /sys/devices/platform/hidma-mgmt*/chreset_timeout_cycles
31 What: /sys/devices/platform/hidma-mgmt*/dma_channels
40 What: /sys/devices/platform/hidma-mgmt*/hw_version_major
48 What: /sys/devices/platform/hidma-mgmt*/hw_version_minor
56 What: /sys/devices/platform/hidma-mgmt*/max_rd_xactions
68 What: /sys/devices/platform/hidma-mgmt*/max_read_request
77 What: /sys/devices/platform/hidma-mgmt*/max_wr_xactions
90 What: /sys/devices/platform/hidma-mgmt*/max_write_request
H A Dsysfs-bus-coresight-devices-etb1022 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rdp
29 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/sts
36 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rrp
45 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rwp
54 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/trg
61 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/ctl
68 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/ffsr
76 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/ffcr
H A Dsysfs-bus-coresight-devices-ultra_smb8 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/buf_size
14 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/buf_status
21 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/read_pos
27 What: /sys/bus/coresight/devices/ultra_smb<N>/mgmt/write_pos
/linux/fs/smb/server/
H A DMakefile9 mgmt/ksmbd_ida.o mgmt/user_config.o mgmt/share_config.o \
10 mgmt/tree_connect.o mgmt/user_session.o smb_common.o \
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_fw.c308 !fbd->fw_cap.running.mgmt.version) in fbnic_mbx_postinit_desc_ring()
309 fbd->fw_cap.running.mgmt.version = 1; in fbnic_mbx_postinit_desc_ring()
448 fbd->fw_cap.running.mgmt.version); in fbnic_fw_parse_cap_resp()
450 if (!fbd->fw_cap.running.mgmt.version) in fbnic_fw_parse_cap_resp()
453 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VERSION_CODE) { in fbnic_fw_parse_cap_resp()
456 fbnic_mk_fw_ver_str(fbd->fw_cap.running.mgmt.version, in fbnic_fw_parse_cap_resp()
471 fbd->fw_cap.running.mgmt.commit, in fbnic_fw_parse_cap_resp()
477 fbd->fw_cap.stored.mgmt.version); in fbnic_fw_parse_cap_resp()
479 fbd->fw_cap.stored.mgmt.commit, in fbnic_fw_parse_cap_resp()
796 struct fbnic_fw_ver *mgmt = &fbd->fw_cap.running.mgmt; in fbnic_get_fw_ver_commit_str() local
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-sync.c17 struct ieee80211_mgmt *mgmt = (void *)skb->data; in iwl_mvm_is_skb_match() local
21 skb_dialog_token = mgmt->u.action.u.wnm_timing_msr.dialog_token; in iwl_mvm_is_skb_match()
23 skb_dialog_token = mgmt->u.action.u.ftm.dialog_token; in iwl_mvm_is_skb_match()
25 if ((ether_addr_equal(mgmt->sa, addr) || in iwl_mvm_is_skb_match()
26 ether_addr_equal(mgmt->da, addr)) && in iwl_mvm_is_skb_match()
/linux/drivers/vdpa/pds/
H A Dvdpa_dev.c616 struct vdpa_mgmt_dev *mgmt; in pds_vdpa_dev_add() local
627 mgmt = &vdpa_aux->vdpa_mdev; in pds_vdpa_dev_add()
655 pdsv->supported_features = mgmt->supported_features; in pds_vdpa_dev_add()
798 struct vdpa_mgmt_dev *mgmt; in pds_vdpa_get_mgmt_info() local
810 mgmt = &vdpa_aux->vdpa_mdev; in pds_vdpa_get_mgmt_info()
842 mgmt->max_supported_vqs = min_t(u16, PDS_VDPA_MAX_QUEUES, max_vqs); in pds_vdpa_get_mgmt_info()
845 mgmt->ops = &pds_vdpa_mgmt_dev_ops; in pds_vdpa_get_mgmt_info()
846 mgmt->id_table = pds_vdpa_id_table; in pds_vdpa_get_mgmt_info()
847 mgmt->device = dev; in pds_vdpa_get_mgmt_info()
848 mgmt->supported_features = le64_to_cpu(vdpa_aux->ident.hw_features); in pds_vdpa_get_mgmt_info()
[all …]
H A Ddebugfs.c178 struct vdpa_mgmt_dev *mgmt; in identity_show() local
184 mgmt = &vdpa_aux->vdpa_mdev; in identity_show()
185 seq_printf(seq, "max_vqs: %d\n", mgmt->max_supported_vqs); in identity_show()
186 seq_printf(seq, "config_attr_mask: %#llx\n", mgmt->config_attr_mask); in identity_show()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dutil.c379 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)frame_buf; in mwifiex_host_mlme_disconnect() local
382 mgmt->frame_control = cpu_to_le16(IEEE80211_STYPE_DEAUTH); in mwifiex_host_mlme_disconnect()
383 mgmt->duration = 0; in mwifiex_host_mlme_disconnect()
384 mgmt->seq_ctrl = 0; in mwifiex_host_mlme_disconnect()
385 mgmt->u.deauth.reason_code = cpu_to_le16(reason_code); in mwifiex_host_mlme_disconnect()
388 eth_broadcast_addr(mgmt->da); in mwifiex_host_mlme_disconnect()
389 memcpy(mgmt->sa, in mwifiex_host_mlme_disconnect()
392 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_host_mlme_disconnect()
396 memcpy(mgmt->da, priv->curr_addr, ETH_ALEN); in mwifiex_host_mlme_disconnect()
397 memcpy(mgmt->sa, sa, ETH_ALEN); in mwifiex_host_mlme_disconnect()
[all …]
/linux/Documentation/networking/devlink/
H A Di40e.rst26 * - ``fw.mgmt``
31 * - ``fw.mgmt.api``
37 * - ``fw.mgmt.build``
/linux/drivers/net/wireless/realtek/rtw88/
H A Drx.c153 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in rtw_update_rx_freq_from_ie() local
162 if (ieee80211_is_beacon(mgmt->frame_control)) { in rtw_update_rx_freq_from_ie()
163 variable = mgmt->u.beacon.variable; in rtw_update_rx_freq_from_ie()
166 } else if (ieee80211_is_probe_resp(mgmt->frame_control)) { in rtw_update_rx_freq_from_ie()
167 variable = mgmt->u.probe_resp.variable; in rtw_update_rx_freq_from_ie()
/linux/net/bluetooth/
H A Dmgmt_util.c69 bt_cb(skb)->mgmt.hdev = hdev; in mgmt_alloc_skb()
70 bt_cb(skb)->mgmt.opcode = opcode; in mgmt_alloc_skb()
86 hdev = bt_cb(skb)->mgmt.hdev; in mgmt_send_event_skb()
93 hci_send_monitor_ctrl_event(hdev, bt_cb(skb)->mgmt.opcode, in mgmt_send_event_skb()
98 hdr->opcode = cpu_to_le16(bt_cb(skb)->mgmt.opcode); in mgmt_send_event_skb()
/linux/drivers/net/dsa/b53/
H A Db53_common.c331 u8 mgmt; in b53_set_forwarding() local
333 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_set_forwarding()
336 mgmt |= SM_SW_FWD_EN; in b53_set_forwarding()
338 mgmt &= ~SM_SW_FWD_EN; in b53_set_forwarding()
340 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_set_forwarding()
344 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt); in b53_set_forwarding()
345 mgmt |= B53_MII_DUMB_FWDG_EN; in b53_set_forwarding()
346 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt); in b53_set_forwarding()
351 b53_read8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, &mgmt); in b53_set_forwarding()
352 mgmt |= B53_UC_FWD_EN | B53_MC_FWD_EN | B53_IPMC_FWD_EN; in b53_set_forwarding()
[all …]

12345