/Linux-v6.1/net/mac80211/ |
D | mesh.c | 809 struct beacon_data *bcn; in ieee80211_mesh_build_beacon() local 854 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon() 858 if (!bcn || !skb) in ieee80211_mesh_build_beacon() 865 bcn->head = ((u8 *) bcn) + sizeof(*bcn); in ieee80211_mesh_build_beacon() 898 bcn->cntdwn_current_counter = csa->settings.count; in ieee80211_mesh_build_beacon() 899 bcn->cntdwn_counter_offsets[0] = hdr_len + 6; in ieee80211_mesh_build_beacon() 953 bcn->head_len = skb->len; in ieee80211_mesh_build_beacon() 954 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon() 958 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon() 975 bcn->tail_len = skb->len; in ieee80211_mesh_build_beacon() [all …]
|
D | tx.c | 5324 struct sk_buff *bcn = __ieee80211_beacon_get(hw, vif, &offs, false, in ieee80211_beacon_get_tim() local 5329 if (!bcn) in ieee80211_beacon_get_tim() 5330 return bcn; in ieee80211_beacon_get_tim() 5340 return bcn; in ieee80211_beacon_get_tim() 5343 copy = skb_copy(bcn, GFP_ATOMIC); in ieee80211_beacon_get_tim() 5345 return bcn; in ieee80211_beacon_get_tim() 5350 return bcn; in ieee80211_beacon_get_tim()
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 1714 struct sk_buff *skb, struct bss_info_bcn *bcn, in mt7915_mcu_beacon_cntdwn() argument 1726 &bcn->sub_ntlv, &bcn->len); in mt7915_mcu_beacon_cntdwn() 1733 struct ieee80211_vif *vif, struct bss_info_bcn *bcn, in mt7915_mcu_beacon_mbss() argument 1744 sizeof(*mbss), &bcn->sub_ntlv, in mt7915_mcu_beacon_mbss() 1745 &bcn->len); in mt7915_mcu_beacon_mbss() 1789 struct bss_info_bcn *bcn, in mt7915_mcu_beacon_cont() argument 1800 len, &bcn->sub_ntlv, &bcn->len); in mt7915_mcu_beacon_cont() 1901 struct sk_buff *rskb, struct bss_info_bcn *bcn, in mt7915_mcu_beacon_inband_discov() argument 1949 len, &bcn->sub_ntlv, &bcn->len); in mt7915_mcu_beacon_inband_discov() 1977 struct bss_info_bcn *bcn; in mt7915_mcu_add_beacon() local [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath10k/ |
D | wmi.c | 1843 struct sk_buff *bcn; in ath10k_wmi_tx_beacon_nowait() local 1850 bcn = arvif->beacon; in ath10k_wmi_tx_beacon_nowait() 1852 if (!bcn) in ath10k_wmi_tx_beacon_nowait() 1855 cb = ATH10K_SKB_CB(bcn); in ath10k_wmi_tx_beacon_nowait() 1869 bcn->data, bcn->len, in ath10k_wmi_tx_beacon_nowait() 3548 struct sk_buff *bcn, in ath10k_wmi_update_tim() argument 3551 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)bcn->data; in ath10k_wmi_update_tim() 3592 ies = bcn->data; in ath10k_wmi_update_tim() 3597 (u8 *)skb_tail_pointer(bcn) - ies); in ath10k_wmi_update_tim() 3610 int move_size = skb_tail_pointer(bcn) - (ie + 2 + ie_len); in ath10k_wmi_update_tim() [all …]
|
D | wmi-ops.h | 123 const void *bcn, size_t bcn_len, 164 u32 tim_ie_offset, struct sk_buff *bcn, 168 struct sk_buff *bcn); 1029 const void *bcn, size_t bcn_len, in ath10k_wmi_beacon_send_ref_nowait() argument 1039 skb = ar->wmi.ops->gen_beacon_dma(ar, vdev_id, bcn, bcn_len, bcn_paddr, in ath10k_wmi_beacon_send_ref_nowait() 1275 struct sk_buff *bcn, u32 prb_caps, u32 prb_erp, in ath10k_wmi_bcn_tmpl() argument 1283 skb = ar->wmi.ops->gen_bcn_tmpl(ar, vdev_id, tim_ie_offset, bcn, in ath10k_wmi_bcn_tmpl()
|
D | wmi-tlv.c | 2901 const void *bcn, size_t bcn_len, in ath10k_wmi_tlv_op_gen_beacon_dma() argument 2916 hdr = (struct ieee80211_hdr *)bcn; in ath10k_wmi_tlv_op_gen_beacon_dma() 3299 u32 tim_ie_offset, struct sk_buff *bcn, in ath10k_wmi_tlv_op_gen_bcn_tmpl() argument 3315 sizeof(*tlv) + roundup(bcn->len, 4); in ath10k_wmi_tlv_op_gen_bcn_tmpl() 3327 cmd->buf_len = __cpu_to_le32(bcn->len); in ath10k_wmi_tlv_op_gen_bcn_tmpl() 3351 tlv->len = __cpu_to_le16(roundup(bcn->len, 4)); in ath10k_wmi_tlv_op_gen_bcn_tmpl() 3352 memcpy(tlv->value, bcn->data, bcn->len); in ath10k_wmi_tlv_op_gen_bcn_tmpl()
|
D | mac.c | 1566 struct sk_buff *bcn) in ath10k_mac_setup_bcn_p2p_ie() argument 1576 mgmt = (void *)bcn->data; in ath10k_mac_setup_bcn_p2p_ie() 1579 bcn->len - (mgmt->u.beacon.variable - in ath10k_mac_setup_bcn_p2p_ie() 1580 bcn->data)); in ath10k_mac_setup_bcn_p2p_ie() 1630 struct sk_buff *bcn; in ath10k_mac_setup_bcn_tmpl() local 1640 bcn = ieee80211_beacon_get_template(hw, vif, &offs, 0); in ath10k_mac_setup_bcn_tmpl() 1641 if (!bcn) { in ath10k_mac_setup_bcn_tmpl() 1646 ret = ath10k_mac_setup_bcn_p2p_ie(arvif, bcn); in ath10k_mac_setup_bcn_tmpl() 1649 kfree_skb(bcn); in ath10k_mac_setup_bcn_tmpl() 1657 ath10k_mac_remove_vendor_ie(bcn, WLAN_OUI_WFA, WLAN_OUI_TYPE_WFA_P2P, in ath10k_mac_setup_bcn_tmpl() [all …]
|
D | wmi.h | 5724 u8 *bcn[]; member 5732 const void *bcn; member
|
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00mac.c | 208 struct data_queue *queue = rt2x00dev->bcn; in rt2x00mac_add_interface() 610 rt2x00queue_stop_queue(rt2x00dev->bcn); in rt2x00mac_bss_info_changed() 633 rt2x00queue_start_queue(rt2x00dev->bcn); in rt2x00mac_bss_info_changed()
|
D | rt2x00queue.c | 1179 status = rt2x00queue_alloc_entries(rt2x00dev->bcn); in rt2x00queue_initialize() 1259 rt2x00dev->bcn = &queue[1 + rt2x00dev->ops->tx_queues]; in rt2x00queue_allocate() 1277 rt2x00queue_init(rt2x00dev, rt2x00dev->bcn, QID_BEACON); in rt2x00queue_allocate() 1289 rt2x00dev->bcn = NULL; in rt2x00queue_free()
|
D | rt2x00.h | 973 struct data_queue *bcn; member
|
D | rt2500pci.c | 286 struct data_queue *queue = rt2x00dev->bcn; in rt2500pci_config_intf() 875 entry_priv = rt2x00dev->bcn->entries[0].priv_data; in rt2500pci_init_queues()
|
D | rt2x00dev.c | 1447 if (rt2x00dev->bcn->limit > 0) in rt2x00lib_probe_dev()
|
D | rt2400pci.c | 790 entry_priv = rt2x00dev->bcn->entries[0].priv_data; in rt2400pci_init_queues()
|
D | rt2800lib.c | 1323 struct data_queue *queue = rt2x00dev->bcn; in rt2800_update_beacons_setup() 1433 const int txwi_desc_size = rt2x00dev->bcn->winfo_size; in rt2800_clear_beacon_register() 1892 struct data_queue *queue = rt2x00dev->bcn; in rt2800_pre_reset_hw()
|
/Linux-v6.1/drivers/net/wireless/ath/ath11k/ |
D | debugfs.c | 147 if (list_empty(&stats->bcn)) { in ath11k_debugfs_fw_stats_process() 156 list_splice_tail_init(&stats->bcn, in ath11k_debugfs_fw_stats_process() 157 &ar->fw_stats.bcn); in ath11k_debugfs_fw_stats_process() 430 ath11k_fw_stats_bcn_free(&ar->fw_stats.bcn); in ath11k_open_bcn_stats()
|
D | wmi.c | 1682 struct sk_buff *bcn) in ath11k_wmi_bcn_tmpl() argument 1691 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl() 1719 cmd->buf_len = bcn->len; in ath11k_wmi_bcn_tmpl() 1736 memcpy(tlv->value, bcn->data, bcn->len); in ath11k_wmi_bcn_tmpl() 5985 list_add_tail(&dst->list, &stats->bcn); in ath11k_wmi_tlv_fw_stats_data_parse() 6314 const struct ath11k_fw_stats_bcn *bcn, in ath11k_wmi_fw_bcn_stats_fill() argument 6319 struct ath11k_vif *arvif = ath11k_mac_get_arvif(ar, bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill() 6324 bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill() 6331 "VDEV ID", bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill() 6337 "Num of beacon tx success", bcn->tx_bcn_succ_cnt); in ath11k_wmi_fw_bcn_stats_fill() [all …]
|
D | core.c | 644 INIT_LIST_HEAD(&ar->fw_stats.bcn); in ath11k_fw_stats_init() 653 ath11k_fw_stats_bcn_free(&stats->bcn); in ath11k_fw_stats_free()
|
D | core.h | 538 struct list_head bcn; member
|
D | mac.c | 1357 struct sk_buff *bcn; in ath11k_mac_setup_bcn_tmpl() local 1365 bcn = ieee80211_beacon_get_template(hw, vif, &offs, 0); in ath11k_mac_setup_bcn_tmpl() 1366 if (!bcn) { in ath11k_mac_setup_bcn_tmpl() 1371 ies = bcn->data + ieee80211_get_hdrlen_from_skb(bcn); in ath11k_mac_setup_bcn_tmpl() 1374 if (cfg80211_find_ie(WLAN_EID_RSN, ies, (skb_tail_pointer(bcn) - ies))) in ath11k_mac_setup_bcn_tmpl() 1381 ies, (skb_tail_pointer(bcn) - ies))) in ath11k_mac_setup_bcn_tmpl() 1386 ret = ath11k_wmi_bcn_tmpl(ar, arvif->vdev_id, &offs, bcn); in ath11k_mac_setup_bcn_tmpl() 1388 kfree_skb(bcn); in ath11k_mac_setup_bcn_tmpl()
|
D | wmi.h | 5976 struct sk_buff *bcn);
|
/Linux-v6.1/net/wireless/ |
D | nl80211.c | 5420 struct cfg80211_beacon_data *bcn) in nl80211_parse_beacon() argument 5425 memset(bcn, 0, sizeof(*bcn)); in nl80211_parse_beacon() 5427 bcn->link_id = nl80211_link_id(attrs); in nl80211_parse_beacon() 5430 bcn->head = nla_data(attrs[NL80211_ATTR_BEACON_HEAD]); in nl80211_parse_beacon() 5431 bcn->head_len = nla_len(attrs[NL80211_ATTR_BEACON_HEAD]); in nl80211_parse_beacon() 5432 if (!bcn->head_len) in nl80211_parse_beacon() 5438 bcn->tail = nla_data(attrs[NL80211_ATTR_BEACON_TAIL]); in nl80211_parse_beacon() 5439 bcn->tail_len = nla_len(attrs[NL80211_ATTR_BEACON_TAIL]); in nl80211_parse_beacon() 5447 bcn->beacon_ies = nla_data(attrs[NL80211_ATTR_IE]); in nl80211_parse_beacon() 5448 bcn->beacon_ies_len = nla_len(attrs[NL80211_ATTR_IE]); in nl80211_parse_beacon() [all …]
|
/Linux-v6.1/drivers/net/wireless/broadcom/b43legacy/ |
D | main.c | 944 const struct ieee80211_mgmt *bcn; in b43legacy_write_beacon_template() local 952 bcn = (const struct ieee80211_mgmt *)(dev->wl->current_beacon->data); in b43legacy_write_beacon_template() 957 b43legacy_write_template_common(dev, (const u8 *)bcn, len, ram_offset, in b43legacy_write_beacon_template() 976 ie = bcn->u.beacon.variable; in b43legacy_write_beacon_template()
|
/Linux-v6.1/drivers/net/wireless/broadcom/b43/ |
D | main.c | 1610 const struct ieee80211_mgmt *bcn; in b43_write_beacon_template() local 1633 bcn = (const struct ieee80211_mgmt *)(beacon_skb->data); in b43_write_beacon_template() 1637 b43_write_template_common(dev, (const u8 *)bcn, in b43_write_beacon_template() 1657 ie = bcn->u.beacon.variable; in b43_write_beacon_template()
|
/Linux-v6.1/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 2222 u8 bcn, u8 sts, u8 state) in be_cmd_set_beacon_state() argument 2243 req->beacon_duration = bcn; in be_cmd_set_beacon_state()
|