Home
last modified time | relevance | path

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

/linux/net/mac80211/
A Dmesh.c853 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
857 if (!bcn || !skb) in ieee80211_mesh_build_beacon()
864 bcn->head = ((u8 *) bcn) + sizeof(*bcn); in ieee80211_mesh_build_beacon()
953 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon()
957 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon()
975 memcpy(bcn->tail, skb->data, bcn->tail_len); in ieee80211_mesh_build_beacon()
984 kfree(bcn); in ieee80211_mesh_build_beacon()
1281 if (!bcn) in ieee80211_mesh_rx_probe_req()
1285 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1290 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()
[all …]
A Dtx.c5226 struct sk_buff *bcn = __ieee80211_beacon_get(hw, vif, &offs, false); in ieee80211_beacon_get_tim() local
5231 if (!bcn) in ieee80211_beacon_get_tim()
5232 return bcn; in ieee80211_beacon_get_tim()
5242 return bcn; in ieee80211_beacon_get_tim()
5245 copy = skb_copy(bcn, GFP_ATOMIC); in ieee80211_beacon_get_tim()
5247 return bcn; in ieee80211_beacon_get_tim()
5252 return bcn; in ieee80211_beacon_get_tim()
5257 return bcn; in ieee80211_beacon_get_tim()
/linux/drivers/net/wireless/ath/ath11k/
A Ddebugfs.c104 INIT_LIST_HEAD(&stats.bcn); in ath11k_debugfs_fw_stats_process()
156 if (list_empty(&stats.bcn)) { in ath11k_debugfs_fw_stats_process()
165 list_splice_tail_init(&stats.bcn, in ath11k_debugfs_fw_stats_process()
166 &ar->debug.fw_stats.bcn); in ath11k_debugfs_fw_stats_process()
181 ath11k_fw_stats_bcn_free(&stats.bcn); in ath11k_debugfs_fw_stats_process()
420 ath11k_fw_stats_bcn_free(&ar->debug.fw_stats.bcn); in ath11k_open_bcn_stats()
891 INIT_LIST_HEAD(&ar->debug.fw_stats.bcn); in ath11k_debugfs_fw_stats_init()
A Dwmi.c1605 struct sk_buff *bcn) in ath11k_wmi_bcn_tmpl() argument
1614 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl()
1629 cmd->buf_len = bcn->len; in ath11k_wmi_bcn_tmpl()
1646 memcpy(tlv->value, bcn->data, bcn->len); in ath11k_wmi_bcn_tmpl()
5447 list_add_tail(&dst->list, &stats->bcn); in ath11k_wmi_pull_fw_stats()
5717 const struct ath11k_fw_stats_bcn *bcn, in ath11k_wmi_fw_bcn_stats_fill() argument
5727 bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
5734 "VDEV ID", bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
5756 const struct ath11k_fw_stats_bcn *bcn; in ath11k_wmi_fw_stats_fill() local
5794 list_for_each_entry(bcn, &fw_stats->bcn, list) in ath11k_wmi_fw_stats_fill()
[all …]
A Dcore.h413 struct list_head bcn; member
A Dmac.c1121 struct sk_buff *bcn; in ath11k_mac_setup_bcn_tmpl() local
1129 bcn = ieee80211_beacon_get_template(hw, vif, &offs); in ath11k_mac_setup_bcn_tmpl()
1130 if (!bcn) { in ath11k_mac_setup_bcn_tmpl()
1135 ies = bcn->data + ieee80211_get_hdrlen_from_skb(bcn); in ath11k_mac_setup_bcn_tmpl()
1138 if (cfg80211_find_ie(WLAN_EID_RSN, ies, (skb_tail_pointer(bcn) - ies))) in ath11k_mac_setup_bcn_tmpl()
1143 ies, (skb_tail_pointer(bcn) - ies))) in ath11k_mac_setup_bcn_tmpl()
1146 ret = ath11k_wmi_bcn_tmpl(ar, arvif->vdev_id, &offs, bcn); in ath11k_mac_setup_bcn_tmpl()
1148 kfree_skb(bcn); in ath11k_mac_setup_bcn_tmpl()
A Dwmi.h5343 struct sk_buff *bcn);
/linux/drivers/net/wireless/ath/ath10k/
A Dwmi.c1843 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()
1869 bcn->data, bcn->len, in ath10k_wmi_tx_beacon_nowait()
3592 ies = bcn->data; in ath10k_wmi_update_tim()
3821 struct sk_buff *bcn; in ath10k_wmi_event_host_swba() local
3892 if (!bcn) { in ath10k_wmi_event_host_swba()
3939 memcpy(arvif->beacon_buf, bcn->data, bcn->len); in ath10k_wmi_event_host_swba()
3943 arvif->beacon = bcn; in ath10k_wmi_event_host_swba()
3946 trace_ath10k_tx_hdr(ar, bcn->data, bcn->len); in ath10k_wmi_event_host_swba()
[all …]
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);
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()
A Dwmi-tlv.c2901 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()
A Dmac.c1559 struct sk_buff *bcn) in ath10k_mac_setup_bcn_p2p_ie() argument
1569 mgmt = (void *)bcn->data; in ath10k_mac_setup_bcn_p2p_ie()
1572 bcn->len - (mgmt->u.beacon.variable - in ath10k_mac_setup_bcn_p2p_ie()
1573 bcn->data)); in ath10k_mac_setup_bcn_p2p_ie()
1623 struct sk_buff *bcn; in ath10k_mac_setup_bcn_tmpl() local
1633 bcn = ieee80211_beacon_get_template(hw, vif, &offs); in ath10k_mac_setup_bcn_tmpl()
1634 if (!bcn) { in ath10k_mac_setup_bcn_tmpl()
1639 ret = ath10k_mac_setup_bcn_p2p_ie(arvif, bcn); in ath10k_mac_setup_bcn_tmpl()
1642 kfree_skb(bcn); in ath10k_mac_setup_bcn_tmpl()
1650 ath10k_mac_remove_vendor_ie(bcn, WLAN_OUI_WFA, WLAN_OUI_TYPE_WFA_P2P, in ath10k_mac_setup_bcn_tmpl()
[all …]
A Dwmi.h5722 u8 *bcn[]; member
5730 const void *bcn; member
/linux/drivers/net/wireless/ralink/rt2x00/
A Drt2x00mac.c208 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()
A Drt2x00queue.c1179 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()
A Drt2x00.h973 struct data_queue *bcn; member
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()
A Drt2x00dev.c1429 if (rt2x00dev->bcn->limit > 0) in rt2x00lib_probe_dev()
A Drt2400pci.c790 entry_priv = rt2x00dev->bcn->entries[0].priv_data; in rt2400pci_init_queues()
A Drt2800lib.c1303 struct data_queue *queue = rt2x00dev->bcn; in rt2800_update_beacons_setup()
1413 const int txwi_desc_size = rt2x00dev->bcn->winfo_size; in rt2800_clear_beacon_register()
1872 struct data_queue *queue = rt2x00dev->bcn; in rt2800_pre_reset_hw()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmcu.c2484 struct sk_buff *skb, struct bss_info_bcn *bcn, in mt7915_mcu_beacon_cntdwn() argument
2496 &bcn->sub_ntlv, &bcn->len); in mt7915_mcu_beacon_cntdwn()
2504 struct bss_info_bcn *bcn, in mt7915_mcu_beacon_cont() argument
2514 len, &bcn->sub_ntlv, &bcn->len); in mt7915_mcu_beacon_cont()
2622 struct bss_info_bcn *bcn; in mt7915_mcu_add_beacon() local
2629 tlv = mt7915_mcu_add_tlv(rskb, BSS_INFO_OFFLOAD, sizeof(*bcn)); in mt7915_mcu_add_beacon()
2630 bcn = (struct bss_info_bcn *)tlv; in mt7915_mcu_add_beacon()
2631 bcn->enable = en; in mt7915_mcu_add_beacon()
2654 mt7915_mcu_beacon_cntdwn(vif, rskb, skb, bcn, &offs); in mt7915_mcu_add_beacon()
2655 mt7915_mcu_beacon_cont(dev, vif, rskb, skb, bcn, &offs); in mt7915_mcu_add_beacon()
/linux/net/wireless/
A Dnl80211.c5131 memset(bcn, 0, sizeof(*bcn)); in nl80211_parse_beacon()
5136 if (!bcn->head_len) in nl80211_parse_beacon()
5156 bcn->proberesp_ies = in nl80211_parse_beacon()
5158 bcn->proberesp_ies_len = in nl80211_parse_beacon()
5163 bcn->assocresp_ies = in nl80211_parse_beacon()
5165 bcn->assocresp_ies_len = in nl80211_parse_beacon()
5187 bcn->ftm_responder = 1; in nl80211_parse_beacon()
5201 bcn->ftm_responder = -1; in nl80211_parse_beacon()
5212 bcn->mbssid_ies = mbssid; in nl80211_parse_beacon()
5373 size_t ies_len = bcn->tail_len; in nl80211_calculate_ap_params()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
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/
A Dmain.c1610 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/drivers/net/ethernet/emulex/benet/
A Dbe_cmds.c2222 u8 bcn, u8 sts, u8 state) in be_cmd_set_beacon_state() argument
2243 req->beacon_duration = bcn; in be_cmd_set_beacon_state()

Completed in 262 milliseconds