/linux-6.1.9/net/mac80211/ |
D | s1g.c | 21 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in ieee80211_s1g_is_twt_setup() local 23 if (likely(!ieee80211_is_action(mgmt->frame_control))) in ieee80211_s1g_is_twt_setup() 26 if (likely(mgmt->u.action.category != WLAN_CATEGORY_S1G)) in ieee80211_s1g_is_twt_setup() 29 return mgmt->u.action.u.s1g.action_code == WLAN_S1G_TWT_SETUP; in ieee80211_s1g_is_twt_setup() 38 struct ieee80211_mgmt *mgmt; in ieee80211_s1g_send_twt_setup() local 46 mgmt = skb_put_zero(skb, len); in ieee80211_s1g_send_twt_setup() 47 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_s1g_send_twt_setup() 49 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_s1g_send_twt_setup() 50 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_s1g_send_twt_setup() 51 memcpy(mgmt->bssid, bssid, ETH_ALEN); in ieee80211_s1g_send_twt_setup() [all …]
|
D | fils_aead.c | 220 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 …]
|
D | ibss.c | 48 struct ieee80211_mgmt *mgmt; in ieee80211_ibss_build_presp() local 76 mgmt = (void *) presp->head; in ieee80211_ibss_build_presp() 77 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_ibss_build_presp() 79 eth_broadcast_addr(mgmt->da); in ieee80211_ibss_build_presp() 80 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_ibss_build_presp() 81 memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN); in ieee80211_ibss_build_presp() 82 mgmt->u.beacon.beacon_int = cpu_to_le16(beacon_int); in ieee80211_ibss_build_presp() 83 mgmt->u.beacon.timestamp = cpu_to_le64(tsf); in ieee80211_ibss_build_presp() 84 mgmt->u.beacon.capab_info = cpu_to_le16(capability); in ieee80211_ibss_build_presp() 86 pos = (u8 *)mgmt + offsetof(struct ieee80211_mgmt, u.beacon.variable); in ieee80211_ibss_build_presp() [all …]
|
D | agg-rx.c | 226 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_resp() local 230 skb = dev_alloc_skb(sizeof(*mgmt) + in ieee80211_send_addba_resp() 237 mgmt = skb_put_zero(skb, 24); in ieee80211_send_addba_resp() 238 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_resp() 239 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 243 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 245 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 247 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 249 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_resp() 252 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); in ieee80211_send_addba_resp() [all …]
|
D | mesh_hwmp.c | 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() [all …]
|
D | ht.c | 471 struct ieee80211_mgmt *mgmt; in ieee80211_send_delba() local 474 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_delba() 479 mgmt = skb_put_zero(skb, 24); in ieee80211_send_delba() 480 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_delba() 481 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 485 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 487 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba() 489 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba() 491 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_delba() 494 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba() [all …]
|
D | mesh.c | 18 bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt) in mesh_action_is_path_sel() argument 20 return (mgmt->u.action.u.mesh_action.action_code == in mesh_action_is_path_sel() 812 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_build_beacon() local 868 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_mesh_build_beacon() 869 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_build_beacon() 871 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon() 872 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon() 873 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon() 874 ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt); in ieee80211_mesh_build_beacon() 875 mgmt->u.beacon.beacon_int = in ieee80211_mesh_build_beacon() [all …]
|
D | agg-tx.c | 68 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_request() local 71 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_request() 77 mgmt = skb_put_zero(skb, 24); in ieee80211_send_addba_request() 78 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_request() 79 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 83 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request() 85 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request() 87 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_request() 89 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_request() 92 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req)); in ieee80211_send_addba_request() [all …]
|
D | mesh_plink.c | 16 #define PLINK_CNF_AID(mgmt) ((mgmt)->u.action.u.self_prot.variable + 2) argument 218 struct ieee80211_mgmt *mgmt; in mesh_plink_frame_tx() local 250 mgmt = skb_put_zero(skb, hdr_len); in mesh_plink_frame_tx() 251 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_plink_frame_tx() 253 memcpy(mgmt->da, da, ETH_ALEN); in mesh_plink_frame_tx() 254 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx() 255 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in mesh_plink_frame_tx() 256 mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED; in mesh_plink_frame_tx() 257 mgmt->u.action.u.self_prot.action_code = action; in mesh_plink_frame_tx() 1100 struct ieee80211_mgmt *mgmt, in mesh_process_plink_frame() argument [all …]
|
D | spectmgmt.c | 235 struct ieee80211_mgmt *mgmt, in ieee80211_process_measurement_req() argument 246 &mgmt->u.action.u.measurement.msr_elem, in ieee80211_process_measurement_req() 247 mgmt->sa, mgmt->bssid, in ieee80211_process_measurement_req() 248 mgmt->u.action.u.measurement.dialog_token); in ieee80211_process_measurement_req()
|
D | mlme.c | 1308 struct ieee80211_mgmt *mgmt; in ieee80211_send_assoc() local 1331 sizeof(*mgmt) + /* bit too much but doesn't matter */ in ieee80211_send_assoc() 1425 mgmt = skb_put_zero(skb, 24); in ieee80211_send_assoc() 1426 memcpy(mgmt->da, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc() 1427 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_assoc() 1428 memcpy(mgmt->bssid, sdata->vif.cfg.ap_addr, ETH_ALEN); in ieee80211_send_assoc() 1435 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_assoc() 1437 capab_pos = &mgmt->u.reassoc_req.capab_info; in ieee80211_send_assoc() 1438 mgmt->u.reassoc_req.listen_interval = listen_int; in ieee80211_send_assoc() 1439 memcpy(mgmt->u.reassoc_req.current_ap, in ieee80211_send_assoc() [all …]
|
D | scan.c | 146 struct ieee80211_mgmt *mgmt, size_t len, in ieee80211_bss_info_update() argument 149 bool beacon = ieee80211_is_beacon(mgmt->frame_control) || in ieee80211_bss_info_update() 150 ieee80211_is_s1g_beacon(mgmt->frame_control); in ieee80211_bss_info_update() 191 mgmt, len, GFP_ATOMIC); in ieee80211_bss_info_update() 195 if (ieee80211_is_probe_resp(mgmt->frame_control)) { in ieee80211_bss_info_update() 196 elements = mgmt->u.probe_resp.variable; in ieee80211_bss_info_update() 199 } else if (ieee80211_is_s1g_beacon(mgmt->frame_control)) { in ieee80211_bss_info_update() 200 struct ieee80211_ext *ext = (void *) mgmt; in ieee80211_bss_info_update() 206 elements = mgmt->u.beacon.variable; in ieee80211_bss_info_update() 259 struct ieee80211_mgmt *mgmt = (void *)skb->data; in ieee80211_scan_rx() local [all …]
|
D | rx.c | 1066 struct ieee80211_mgmt *mgmt; in ieee80211_rx_mesh_check() local 1078 mgmt = (struct ieee80211_mgmt *)hdr; in ieee80211_rx_mesh_check() 1079 category = mgmt->u.action.category; in ieee80211_rx_mesh_check() 3161 struct ieee80211_mgmt *mgmt, in ieee80211_process_sa_query_req() argument 3168 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { in ieee80211_process_sa_query_req() 3173 if (!ether_addr_equal(mgmt->sa, sdata->deflink.u.mgd.bssid) || in ieee80211_process_sa_query_req() 3174 !ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) { in ieee80211_process_sa_query_req() 3190 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req() 3199 mgmt->u.action.u.sa_query.trans_id, in ieee80211_process_sa_query_req() 3208 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data; in ieee80211_rx_check_bss_color_collision() local [all …]
|
D | iface.c | 1519 struct ieee80211_mgmt *mgmt = (void *)skb->data; in ieee80211_iface_process_skb() local 1521 if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_iface_process_skb() 1522 mgmt->u.action.category == WLAN_CATEGORY_BACK) { in ieee80211_iface_process_skb() 1527 sta = sta_info_get_bss(sdata, mgmt->sa); in ieee80211_iface_process_skb() 1529 switch (mgmt->u.action.u.addba_req.action_code) { in ieee80211_iface_process_skb() 1532 mgmt, len); in ieee80211_iface_process_skb() 1536 mgmt, len); in ieee80211_iface_process_skb() 1540 mgmt, len); in ieee80211_iface_process_skb() 1548 } else if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_iface_process_skb() 1549 mgmt->u.action.category == WLAN_CATEGORY_VHT) { in ieee80211_iface_process_skb() [all …]
|
D | mesh_sync.c | 82 struct ieee80211_mgmt *mgmt, unsigned int len, in mesh_sync_offset_rx_bcn_presp() argument 110 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp() 127 t_t = le64_to_cpu(mgmt->u.beacon.timestamp); in mesh_sync_offset_rx_bcn_presp()
|
D | offchannel.c | 773 const struct ieee80211_mgmt *mgmt = (void *)params->buf; in ieee80211_mgmt_tx() local 811 sta = sta_info_get_bss(sdata, mgmt->da); in ieee80211_mgmt_tx() 814 if (!ieee80211_is_action(mgmt->frame_control) || in ieee80211_mgmt_tx() 815 mgmt->u.action.category == WLAN_CATEGORY_PUBLIC || in ieee80211_mgmt_tx() 816 mgmt->u.action.category == WLAN_CATEGORY_SELF_PROTECTED || in ieee80211_mgmt_tx() 817 mgmt->u.action.category == WLAN_CATEGORY_SPECTRUM_MGMT) { in ieee80211_mgmt_tx() 840 memcmp(sdata->vif.cfg.ap_addr, mgmt->bssid, ETH_ALEN))) in ieee80211_mgmt_tx() 881 ether_addr_equal(sdata->vif.addr, mgmt->sa)) { in ieee80211_mgmt_tx() 886 if (ether_addr_equal(conf->addr, mgmt->sa)) in ieee80211_mgmt_tx()
|
/linux-6.1.9/drivers/net/wireless/silabs/wfx/ |
D | data_rx.c | 16 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-6.1.9/net/wireless/ |
D | mlme.c | 30 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() 57 cr.resp_ie = (u8 *)&mgmt->u.s1g_assoc_resp.variable; in cfg80211_rx_assoc_resp() 108 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_process_deauth() local 109 const u8 *bssid = mgmt->bssid; in cfg80211_process_deauth() 110 u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code); in cfg80211_process_deauth() 111 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth() 127 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_process_disassoc() local 128 const u8 *bssid = mgmt->bssid; in cfg80211_process_disassoc() [all …]
|
D | scan.c | 2275 struct ieee80211_mgmt *mgmt, size_t len, in cfg80211_parse_mbssid_frame_data() argument 2280 const u8 *ie = mgmt->u.probe_resp.variable; in cfg80211_parse_mbssid_frame_data() 2284 ftype = ieee80211_is_beacon(mgmt->frame_control) ? in cfg80211_parse_mbssid_frame_data() 2287 cfg80211_parse_mbssid_data(wiphy, data, ftype, mgmt->bssid, in cfg80211_parse_mbssid_frame_data() 2288 le64_to_cpu(mgmt->u.probe_resp.timestamp), in cfg80211_parse_mbssid_frame_data() 2289 le16_to_cpu(mgmt->u.probe_resp.beacon_int), in cfg80211_parse_mbssid_frame_data() 2296 struct ieee80211_mgmt *mgmt, size_t len) in cfg80211_update_notlisted_nontrans() argument 2310 ie = mgmt->u.probe_resp.variable; in cfg80211_update_notlisted_nontrans() 2361 new_ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp); in cfg80211_update_notlisted_nontrans() 2362 new_ies->from_beacon = ieee80211_is_beacon(mgmt->frame_control); in cfg80211_update_notlisted_nontrans() [all …]
|
/linux-6.1.9/fs/ksmbd/ |
D | Makefile | 9 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-6.1.9/Documentation/ABI/testing/ |
D | sysfs-platform-hidma-mgmt | 1 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
|
D | sysfs-bus-coresight-devices-tmc | 10 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rsz 17 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/sts 24 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rrp 33 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rwp 42 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/trg 49 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ctl 56 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffsr 64 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffcr 72 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/mode 80 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/devid
|
D | sysfs-bus-coresight-devices-etb10 | 22 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
|
/linux-6.1.9/Documentation/devicetree/bindings/pci/ |
D | rockchip-pcie-ep.txt | 20 - "mgmt" 21 - "mgmt-sticky" 56 reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
|
/linux-6.1.9/net/bluetooth/ |
D | mgmt_util.c | 69 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()
|