/kernel/linux/linux-5.10/drivers/staging/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 23 switch (mgmt->u.action.u.addba_req.action_code) { in wfx_rx_handle_ba() 25 params = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in wfx_rx_handle_ba() 27 ieee80211_start_rx_ba_session_offl(wvif->vif, mgmt->sa, tid); in wfx_rx_handle_ba() 30 params = le16_to_cpu(mgmt->u.action.u.delba.params); in wfx_rx_handle_ba() 32 ieee80211_stop_rx_ba_session_offl(wvif->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()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | fils_aead.c | 220 struct ieee80211_mgmt *mgmt = (void *)skb->data; in fils_encrypt_assoc_req() local 226 if (ieee80211_is_reassoc_req(mgmt->frame_control)) { in fils_encrypt_assoc_req() 227 capab = (u8 *)&mgmt->u.reassoc_req.capab_info; in fils_encrypt_assoc_req() 228 ies = mgmt->u.reassoc_req.variable; in fils_encrypt_assoc_req() 230 capab = (u8 *)&mgmt->u.assoc_req.capab_info; in fils_encrypt_assoc_req() 231 ies = mgmt->u.assoc_req.variable; in fils_encrypt_assoc_req() 244 addr[0] = mgmt->sa; in fils_encrypt_assoc_req() 247 addr[1] = mgmt->da; in fils_encrypt_assoc_req() 271 struct ieee80211_mgmt *mgmt = (void *)frame; in fils_decrypt_assoc_resp() local 281 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 | 223 struct ieee80211_mgmt *mgmt; in ieee80211_send_addba_resp() local 227 skb = dev_alloc_skb(sizeof(*mgmt) + in ieee80211_send_addba_resp() 234 mgmt = skb_put_zero(skb, 24); in ieee80211_send_addba_resp() 235 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_addba_resp() 236 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 240 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_resp() 242 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 244 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 246 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_resp() 249 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 | 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() 781 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_build_beacon() local 837 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_mesh_build_beacon() 838 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_build_beacon() 840 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon() 841 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon() 842 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon() 843 ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt); in ieee80211_mesh_build_beacon() 844 mgmt->u.beacon.beacon_int = in ieee80211_mesh_build_beacon() [all …]
|
D | ht.c | 420 struct ieee80211_mgmt *mgmt; in ieee80211_send_delba() local 423 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_delba() 428 mgmt = skb_put_zero(skb, 24); in ieee80211_send_delba() 429 memcpy(mgmt->da, da, ETH_ALEN); in ieee80211_send_delba() 430 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 434 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_delba() 436 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba() 438 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba() 440 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_delba() 443 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba() [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() 1099 struct ieee80211_mgmt *mgmt, in mesh_process_plink_frame() argument [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->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 | mlme.c | 705 struct ieee80211_mgmt *mgmt; in ieee80211_send_assoc() local 761 sizeof(*mgmt) + /* bit too much but doesn't matter */ in ieee80211_send_assoc() 798 mgmt = skb_put_zero(skb, 24); in ieee80211_send_assoc() 799 memcpy(mgmt->da, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc() 800 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_assoc() 801 memcpy(mgmt->bssid, assoc_data->bss->bssid, ETH_ALEN); in ieee80211_send_assoc() 808 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_assoc() 810 mgmt->u.reassoc_req.capab_info = cpu_to_le16(capab); in ieee80211_send_assoc() 811 mgmt->u.reassoc_req.listen_interval = listen_int; in ieee80211_send_assoc() 812 memcpy(mgmt->u.reassoc_req.current_ap, assoc_data->prev_bssid, in ieee80211_send_assoc() [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 | 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() 213 mgmt->bssid, cbss->bssid); in ieee80211_bss_info_update() [all …]
|
D | rx.c | 1059 struct ieee80211_mgmt *mgmt; in ieee80211_rx_mesh_check() local 1071 mgmt = (struct ieee80211_mgmt *)hdr; in ieee80211_rx_mesh_check() 1072 category = mgmt->u.action.category; in ieee80211_rx_mesh_check() 3127 struct ieee80211_mgmt *mgmt, in ieee80211_process_sa_query_req() argument 3134 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { in ieee80211_process_sa_query_req() 3139 if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || in ieee80211_process_sa_query_req() 3140 !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) { in ieee80211_process_sa_query_req() 3156 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req() 3165 mgmt->u.action.u.sa_query.trans_id, in ieee80211_process_sa_query_req() 3174 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_mgmt_check() local [all …]
|
D | mesh_sync.c | 81 struct ieee80211_mgmt *mgmt, in mesh_sync_offset_rx_bcn_presp() argument 112 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp() 129 t_t = le64_to_cpu(mgmt->u.beacon.timestamp); in mesh_sync_offset_rx_bcn_presp()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | mlme.c | 31 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_rx_assoc_resp() local 33 const u8 *resp_ie = mgmt->u.assoc_resp.variable; in cfg80211_rx_assoc_resp() 38 resp_ie = (u8 *)&mgmt->u.s1g_assoc_resp.variable; in cfg80211_rx_assoc_resp() 44 cr.status = (int)le16_to_cpu(mgmt->u.assoc_resp.status_code); in cfg80211_rx_assoc_resp() 45 cr.bssid = mgmt->bssid; in cfg80211_rx_assoc_resp() 87 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_process_deauth() local 88 const u8 *bssid = mgmt->bssid; in cfg80211_process_deauth() 89 u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code); in cfg80211_process_deauth() 90 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth() 106 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf; in cfg80211_process_disassoc() local [all …]
|
D | scan.c | 2225 struct ieee80211_mgmt *mgmt, size_t len, in cfg80211_parse_mbssid_frame_data() argument 2230 const u8 *ie = mgmt->u.probe_resp.variable; in cfg80211_parse_mbssid_frame_data() 2234 ftype = ieee80211_is_beacon(mgmt->frame_control) ? in cfg80211_parse_mbssid_frame_data() 2237 cfg80211_parse_mbssid_data(wiphy, data, ftype, mgmt->bssid, in cfg80211_parse_mbssid_frame_data() 2238 le64_to_cpu(mgmt->u.probe_resp.timestamp), in cfg80211_parse_mbssid_frame_data() 2239 le16_to_cpu(mgmt->u.probe_resp.beacon_int), in cfg80211_parse_mbssid_frame_data() 2246 struct ieee80211_mgmt *mgmt, size_t len) in cfg80211_update_notlisted_nontrans() argument 2259 ie = mgmt->u.probe_resp.variable; in cfg80211_update_notlisted_nontrans() 2310 new_ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp); in cfg80211_update_notlisted_nontrans() 2311 new_ies->from_beacon = ieee80211_is_beacon(mgmt->frame_control); in cfg80211_update_notlisted_nontrans() [all …]
|
/kernel/linux/linux-5.10/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
|
D | sysfs-bus-coresight-devices-etm3x | 254 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmccr 261 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmccer 268 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmscr 275 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmidr 282 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmcr 289 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtraceidr 296 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmteevr 303 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtsscr 310 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtecr1 317 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtecr2
|
D | sysfs-bus-coresight-devices-etm4x | 332 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcoslsr 339 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpdcr 346 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpdsr 353 What: /sys/bus/coresight/devices/etm<N>/mgmt/trclsr 360 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcauthstatus 367 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevid 374 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevtype 381 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr0 388 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr1 395 What: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr2 [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
D | rockchip-pcie-ep.txt | 20 - "mgmt" 21 - "mgmt-sticky" 56 reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
|
/kernel/linux/linux-5.10/Documentation/networking/devlink/ |
D | bnxt.rst | 69 * - ``fw.mgmt`` 72 * - ``fw.mgmt.api``
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 722 int mgmt; in octeon_fill_mac_addresses() local 729 mgmt = fdt_path_offset(initial_boot_params, alias_prop); in octeon_fill_mac_addresses() 730 if (mgmt < 0) in octeon_fill_mac_addresses() 732 octeon_fdt_set_mac_addr(mgmt, &mac_addr_base); in octeon_fill_mac_addresses() 798 int mgmt; in octeon_prune_device_tree() local 805 mgmt = fdt_path_offset(initial_boot_params, alias_prop); in octeon_prune_device_tree() 806 if (mgmt < 0) in octeon_prune_device_tree() 810 octeon_fdt_rm_ethernet(mgmt); in octeon_prune_device_tree() 816 octeon_fdt_set_phy(mgmt, phy_addr); in octeon_prune_device_tree()
|
/kernel/linux/linux-5.10/drivers/net/dsa/b53/ |
D | b53_common.c | 327 u8 mgmt; in b53_set_forwarding() local 329 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_set_forwarding() 332 mgmt |= SM_SW_FWD_EN; in b53_set_forwarding() 334 mgmt &= ~SM_SW_FWD_EN; in b53_set_forwarding() 336 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_set_forwarding() 340 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt); in b53_set_forwarding() 341 mgmt |= B53_MII_DUMB_FWDG_EN; in b53_set_forwarding() 342 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt); in b53_set_forwarding() 347 b53_read8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, &mgmt); in b53_set_forwarding() 348 mgmt |= B53_UC_FWD_EN | B53_MC_FWD_EN | B53_IPMC_FWD_EN; in b53_set_forwarding() [all …]
|