Home
last modified time | relevance | path

Searched refs:bcn (Results 1 – 22 of 22) sorted by relevance

/linux/net/mac80211/
H A Dmesh.c937 struct beacon_data *bcn; in ieee80211_mesh_rootpath()
982 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
986 if (!bcn || !skb) in ieee80211_mesh_build_beacon()
993 bcn->head = ((u8 *) bcn) + sizeof(*bcn); in ieee80211_mesh_build_beacon()
1026 bcn->cntdwn_current_counter = csa->settings.count; in ieee80211_mesh_build_beacon()
1027 bcn->cntdwn_counter_offsets[0] = hdr_len + 6; in ieee80211_mesh_build_beacon()
1083 bcn in ieee80211_mesh_build_beacon()
955 struct beacon_data *bcn; ieee80211_mesh_build_beacon() local
1221 struct beacon_data *bcn; ieee80211_stop_mesh() local
1404 struct beacon_data *bcn; ieee80211_mesh_rx_probe_req() local
[all...]
H A Dtx.c5700 ema = kzalloc_flex(*ema, bcn, beacon->mbssid_ies->cnt, GFP_ATOMIC); in __ieee80211_beacon_get()
5705 ema->bcn[ema->cnt].skb = in __ieee80211_beacon_get()
5707 &ema->bcn[ema->cnt].offs, in __ieee80211_beacon_get()
5710 if (!ema->bcn[ema->cnt].skb) in __ieee80211_beacon_get()
5901 kfree_skb(ema_beacons->bcn[i].skb); in ieee80211_proberesp_get()
5927 struct sk_buff *bcn = __ieee80211_beacon_get(hw, vif, &offs, false, in ieee80211_get_fils_discovery_tmpl()
5933 if (!bcn) in ieee80211_get_fils_discovery_tmpl()
5934 return bcn; in ieee80211_get_fils_discovery_tmpl()
5944 return bcn;
5947 copy = skb_copy(bcn, GFP_ATOMI in ieee80211_get_unsol_bcast_probe_resp_tmpl()
5849 struct sk_buff *bcn = __ieee80211_beacon_get(hw, vif, &offs, false, ieee80211_beacon_get_tim() local
[all...]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mac.c208 struct data_queue *queue = rt2x00dev->bcn; in rt2x00mac_add_interface()
621 rt2x00queue_stop_queue(rt2x00dev->bcn); in rt2x00mac_bss_info_changed()
644 rt2x00queue_start_queue(rt2x00dev->bcn); in rt2x00mac_bss_info_changed()
H A Drt2x00queue.c1176 status = rt2x00queue_alloc_entries(rt2x00dev->bcn); in rt2x00queue_initialize()
1256 rt2x00dev->bcn = &queue[1 + rt2x00dev->ops->tx_queues]; in rt2x00queue_allocate()
1274 rt2x00queue_init(rt2x00dev, rt2x00dev->bcn, QID_BEACON); in rt2x00queue_allocate()
1286 rt2x00dev->bcn = NULL; in rt2x00queue_free()
H A Drt2x00dev.c104 rt2x00queue_stop_queue(rt2x00dev->bcn); in rt2x00lib_disable_radio()
1457 if (rt2x00dev->bcn->limit > 0) in rt2x00lib_probe_dev()
H A Drt2500pci.c286 struct data_queue *queue = rt2x00dev->bcn; in rt2500pci_config_intf()
875 entry_priv = rt2x00dev->bcn->entries[0].priv_data; in rt2500pci_init_queues()
H A Drt2400pci.c790 entry_priv = rt2x00dev->bcn->entries[0].priv_data; in rt2400pci_init_queues()
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi.c1864 struct sk_buff *bcn; in ath10k_wmi_tx_beacon_nowait() local
1871 bcn = arvif->beacon; in ath10k_wmi_tx_beacon_nowait()
1873 if (!bcn) in ath10k_wmi_tx_beacon_nowait()
1876 cb = ATH10K_SKB_CB(bcn); in ath10k_wmi_tx_beacon_nowait()
1890 bcn->data, bcn->len, in ath10k_wmi_tx_beacon_nowait()
3576 struct sk_buff *bcn, in ath10k_wmi_update_tim() argument
3579 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)bcn->data; in ath10k_wmi_update_tim()
3620 ies = bcn->data; in ath10k_wmi_update_tim()
3625 (u8 *)skb_tail_pointer(bcn) - ies); in ath10k_wmi_update_tim()
3638 int move_size = skb_tail_pointer(bcn) - (ie + 2 + ie_len); in ath10k_wmi_update_tim()
[all …]
H A Dwmi-ops.h123 const void *bcn, size_t bcn_len,
164 u32 tim_ie_offset, struct sk_buff *bcn,
168 struct sk_buff *bcn);
1032 const void *bcn, size_t bcn_len, in ath10k_wmi_beacon_send_ref_nowait() argument
1042 skb = ar->wmi.ops->gen_beacon_dma(ar, vdev_id, bcn, bcn_len, bcn_paddr, in ath10k_wmi_beacon_send_ref_nowait()
1307 struct sk_buff *bcn, u32 prb_caps, u32 prb_erp, in ath10k_wmi_bcn_tmpl() argument
1315 skb = ar->wmi.ops->gen_bcn_tmpl(ar, vdev_id, tim_ie_offset, bcn, in ath10k_wmi_bcn_tmpl()
H A Dmac.c1590 struct sk_buff *bcn) in ath10k_mac_setup_bcn_p2p_ie() argument
1600 mgmt = (void *)bcn->data; in ath10k_mac_setup_bcn_p2p_ie()
1603 bcn->len - (mgmt->u.beacon.variable - in ath10k_mac_setup_bcn_p2p_ie()
1604 bcn->data)); in ath10k_mac_setup_bcn_p2p_ie()
1654 struct sk_buff *bcn; in ath10k_mac_setup_bcn_tmpl() local
1664 bcn = ieee80211_beacon_get_template(hw, vif, &offs, 0); in ath10k_mac_setup_bcn_tmpl()
1665 if (!bcn) { in ath10k_mac_setup_bcn_tmpl()
1670 ret = ath10k_mac_setup_bcn_p2p_ie(arvif, bcn); in ath10k_mac_setup_bcn_tmpl()
1673 kfree_skb(bcn); in ath10k_mac_setup_bcn_tmpl()
1681 ath10k_mac_remove_vendor_ie(bcn, WLAN_OUI_WFA, WLAN_OUI_TYPE_WFA_P2P, in ath10k_mac_setup_bcn_tmpl()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs.c106 if (list_empty(&stats->bcn)) { in ath11k_debugfs_fw_stats_process()
107 ath11k_warn(ab, "empty bcn stats"); in ath11k_debugfs_fw_stats_process()
117 list_splice_tail_init(&stats->bcn, in ath11k_debugfs_fw_stats_process()
118 &ar->fw_stats.bcn); in ath11k_debugfs_fw_stats_process()
291 /* loop all active VDEVs for bcn stats */ in ath11k_open_bcn_stats()
299 ath11k_warn(ar->ab, "failed to request fw bcn stats: %d\n", ret); in ath11k_open_bcn_stats()
310 ath11k_fw_stats_bcn_free(&ar->fw_stats.bcn); in ath11k_open_bcn_stats()
H A Dwmi.c1765 struct sk_buff *bcn, u32 ema_params) in ath11k_wmi_bcn_tmpl() argument
1774 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl()
1802 cmd->buf_len = bcn->len; in ath11k_wmi_bcn_tmpl()
1821 memcpy(tlv->value, bcn->data, bcn->len); in ath11k_wmi_bcn_tmpl()
6766 list_add_tail(&dst->list, &stats->bcn); in ath11k_wmi_tlv_fw_stats_data_parse()
7073 const struct ath11k_fw_stats_bcn *bcn, in ath11k_wmi_fw_bcn_stats_fill() argument
7078 struct ath11k_vif *arvif = ath11k_mac_get_arvif(ar, bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
7083 bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
7090 "VDEV ID", bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
7096 "Num of beacon tx success", bcn->tx_bcn_succ_cnt); in ath11k_wmi_fw_bcn_stats_fill()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c1934 "WMI bcn ctrl offload vdev id %d ctrl_op %d\n", in ath12k_wmi_bcn_tmpl()
1991 struct sk_buff *bcn, in ath12k_wmi_bcn_tmpl()
2007 size_t aligned_len = roundup(bcn->len, 4); in ath12k_wmi_bcn_tmpl()
2035 arvif->current_cntdown_counter = bcn->data[offs->cntdwn_counter_offs[0]]; in ath12k_wmi_vdev_install_key()
2038 cmd->buf_len = cpu_to_le32(bcn->len); in ath12k_wmi_vdev_install_key()
2066 memcpy(tlv->value, bcn->data, bcn->len); in ath12k_wmi_vdev_install_key()
6287 ath12k_warn(ab, "failed to fetch bcn tx status ev"); in ath12k_pull_mgmt_rx_params_tlv()
7186 ath12k_warn(ab, "failed to extract bcn tx status"); in ath12k_mgmt_rx_event()
7194 ath12k_warn(ab, "invalid vdev %u in bcn t in ath12k_mgmt_rx_event()
1933 ath12k_wmi_bcn_tmpl(struct ath12k_link_vif * arvif,struct ieee80211_mutable_offsets * offs,struct sk_buff * bcn,struct ath12k_wmi_bcn_tmpl_ema_arg * ema_args) ath12k_wmi_bcn_tmpl() argument
7871 const struct ath12k_fw_stats_bcn *bcn; ath12k_wmi_fw_bcn_stats_dump() local
[all...]
H A Dmac.c1579 struct sk_buff *bcn) in ath12k_mac_setup_bcn_p2p_ie()
1586 mgmt = (void *)bcn->data; in ath12k_mac_setup_bcn_p2p_ie()
1589 bcn->len - (mgmt->u.beacon.variable - in ath12k_mac_setup_bcn_p2p_ie()
1590 bcn->data)); in ath12k_mac_setup_bcn_p2p_ie()
1598 ath12k_warn(ar->ab, "failed to submit P2P GO bcn ie for vdev %i: %d\n", in ath12k_mac_setup_bcn_p2p_ie()
1637 struct sk_buff *bcn, in ath12k_mac_set_arvif_ies()
1640 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)bcn->data; in ath12k_mac_set_arvif_ies()
1646 start = bcn->data + ieee80211_get_hdrlen_from_skb(bcn) + sizeof(mgmt->u.beacon); in ath12k_mac_set_arvif_ies()
1647 tail = skb_tail_pointer(bcn); in ath12k_mac_set_arvif_ies()
1575 ath12k_mac_setup_bcn_p2p_ie(struct ath12k_link_vif * arvif,struct sk_buff * bcn) ath12k_mac_setup_bcn_p2p_ie() argument
1633 ath12k_mac_set_arvif_ies(struct ath12k_link_vif * arvif,struct ath12k_link_vif * tx_arvif,struct sk_buff * bcn,u8 bssid_index,bool * nontx_profile_found) ath12k_mac_set_arvif_ies() argument
1802 struct sk_buff *bcn; ath12k_mac_setup_bcn_tmpl() local
[all...]
H A Dcore.c1272 INIT_LIST_HEAD(&ar->fw_stats.bcn); in ath12k_fw_stats_free()
1281 ath12k_fw_stats_bcn_free(&stats->bcn); in ath12k_fw_stats_reset()
/linux/net/wireless/
H A Dnl80211.c6601 static void nl80211_check_ap_rate_selectors(struct cfg80211_beacon_data *bcn, in nl80211_parse_fils_discovery()
6611 bcn->ht_required = true;
6613 bcn->vht_required = true; in nl80211_parse_unsol_bcast_probe_resp()
6623 struct cfg80211_beacon_data *bcn, in nl80211_parse_unsol_bcast_probe_resp()
6626 size_t ies_len = bcn->tail_len; in nl80211_parse_unsol_bcast_probe_resp()
6627 const u8 *ies = bcn->tail; in nl80211_parse_unsol_bcast_probe_resp()
6632 nl80211_check_ap_rate_selectors(bcn, rates); in nl80211_parse_unsol_bcast_probe_resp()
6635 nl80211_check_ap_rate_selectors(bcn, rates); in nl80211_parse_unsol_bcast_probe_resp()
6639 if (op->datalen < sizeof(*bcn->he_oper) + 1) { in nl80211_parse_unsol_bcast_probe_resp()
6643 bcn in nl80211_parse_unsol_bcast_probe_resp()
6414 nl80211_parse_beacon(struct cfg80211_registered_device * rdev,struct nlattr * attrs[],struct cfg80211_beacon_data * bcn,struct netlink_ext_ack * extack) nl80211_parse_beacon() argument
6673 const struct cfg80211_beacon_data *bcn = &params->beacon; nl80211_calculate_ap_params() local
[all...]
H A Dscan.c1837 const struct cfg80211_bss_ies *new, *bcn; in cfg80211_check_stuck_ecsa() local
1860 bcn = rcu_dereference_protected(known->pub.beacon_ies, in cfg80211_check_stuck_ecsa()
1862 if (bcn && in cfg80211_check_stuck_ecsa()
1864 bcn->data, bcn->len)) in cfg80211_check_stuck_ecsa()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c944 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/drivers/net/wireless/broadcom/b43/
H A Dmain.c1611 const struct ieee80211_mgmt *bcn; in b43_write_beacon_template()
1634 bcn = (const struct ieee80211_mgmt *)(beacon_skb->data); in b43_write_beacon_template()
1638 b43_write_template_common(dev, (const u8 *)bcn, in b43_write_beacon_template()
1658 ie = bcn->u.beacon.variable; in b43_write_beacon_template()
1610 const struct ieee80211_mgmt *bcn; b43_write_beacon_template() local
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c2223 u8 bcn, u8 sts, u8 state) in be_cmd_set_beacon_state() argument
2244 req->beacon_duration = bcn; in be_cmd_set_beacon_state()
/linux/include/net/
H A Dmac80211.h5803 * @bcn: array of EMA beacons.
5804 * @bcn.skb: the skb containing this specific beacon
5805 * @bcn.offs: &struct ieee80211_mutable_offsets pointer to struct that will
5813 } bcn[];
5771 } bcn[]; global() member
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c