| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ap.c | 19 u8 *beacon, u32 frame_size) in iwl_mld_set_tim_idx() argument 22 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_mld_set_tim_idx() 25 * variable-length part of the beacon. in iwl_mld_set_tim_idx() 27 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mld_set_tim_idx() 29 /* Parse variable-length elements of beacon to find WLAN_EID_TIM */ in iwl_mld_set_tim_idx() 31 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_mld_set_tim_idx() 32 tim_idx += beacon[tim_idx + 1] + 2; in iwl_mld_set_tim_idx() 35 if ((tim_idx < (frame_size - 1)) && beacon[tim_idx] == WLAN_EID_TIM) in iwl_mld_set_tim_idx() 38 IWL_WARN(mld, "Unable to find TIM Element in beacon\ in iwl_mld_set_tim_idx() 74 iwl_mld_send_beacon_template_cmd(struct iwl_mld * mld,struct sk_buff * beacon,struct iwl_mac_beacon_cmd * cmd) iwl_mld_send_beacon_template_cmd() argument 93 iwl_mld_fill_beacon_template_cmd(struct iwl_mld * mld,struct ieee80211_vif * vif,struct sk_buff * beacon,struct iwl_mac_beacon_cmd * cmd,struct ieee80211_bss_conf * link) iwl_mld_fill_beacon_template_cmd() argument 159 struct sk_buff *beacon; iwl_mld_update_beacon_template() local [all...] |
| H A D | ap.h | 45 u8 *beacon, u32 frame_size); 48 struct sk_buff *beacon,
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-utils.h | 39 u32 iwl_find_ie_offset(u8 *beacon, u8 eid, u32 frame_size) in iwl_find_ie_offset() argument 41 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_find_ie_offset() 44 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_find_ie_offset() 47 frame_size -= mgmt->u.beacon.variable - beacon; in iwl_find_ie_offset() 49 ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); in iwl_find_ie_offset() 53 return ie - beacon; in iwl_find_ie_offset()
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_mac.c | 133 struct sk_buff *beacon, bool in_intr); 359 struct sk_buff *beacon; in zd_restore_settings() local 370 beacon_interval = mac->beacon.interval; in zd_restore_settings() 371 beacon_period = mac->beacon.period; in zd_restore_settings() 401 beacon = ieee80211_beacon_get(mac->hw, mac->vif, 0); in zd_restore_settings() 402 if (beacon) in zd_restore_settings() 403 zd_mac_config_beacon(mac->hw, beacon, false); in zd_restore_settings() 410 mac->beacon.last_update = jiffies; in zd_restore_settings() 678 static bool zd_mac_match_cur_beacon(struct zd_mac *mac, struct sk_buff *beacon) in zd_mac_match_cur_beacon() argument 680 if (!mac->beacon.cur_beacon) in zd_mac_match_cur_beacon() [all …]
|
| H A D | zd_mac.h | 153 struct beacon { struct 176 struct beacon beacon; argument
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 86 * is an AP, and the beacon interval of the AP is a multiple or in iwl_mvm_mac_tsf_id_iter() 87 * divisor of the beacon interval of the client, the same TSF in iwl_mvm_mac_tsf_id_iter() 112 * The new interface is AP/GO, so if its beacon interval is a in iwl_mvm_mac_tsf_id_iter() 113 * multiple or a divisor of the beacon interval of an existing in iwl_mvm_mac_tsf_id_iter() 603 * more beacon intervals happen until the DTIM TBTT. Therefore in iwl_mvm_set_fw_dtim_tbtt() 788 /* TODO: Assumes that the beacon id == mac context id */ in iwl_mvm_mac_ctxt_cmd_ibss() 849 u8 *beacon, u32 frame_size) in iwl_mvm_mac_ctxt_set_tim() argument 852 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() 855 * variable-length part of the beacon. */ in iwl_mvm_mac_ctxt_set_tim() 856 tim_idx = mgmt->u.beacon in iwl_mvm_mac_ctxt_set_tim() 965 iwl_mvm_mac_ctxt_set_tx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct iwl_tx_cmd_v6_params * tx_params) iwl_mvm_mac_ctxt_set_tx() argument 1008 iwl_mvm_mac_ctxt_send_beacon_cmd(struct iwl_mvm * mvm,struct sk_buff * beacon,void * data,int len) iwl_mvm_mac_ctxt_send_beacon_cmd() argument 1028 iwl_mvm_mac_ctxt_send_beacon_v6(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon) iwl_mvm_mac_ctxt_send_beacon_v6() argument 1048 iwl_mvm_mac_ctxt_send_beacon_v7(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon) iwl_mvm_mac_ctxt_send_beacon_v7() argument 1091 iwl_mvm_mac_ctxt_send_beacon_v9(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct ieee80211_bss_conf * link_conf) iwl_mvm_mac_ctxt_send_beacon_v9() argument 1158 iwl_mvm_mac_ctxt_send_beacon(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct ieee80211_bss_conf * link_conf) iwl_mvm_mac_ctxt_send_beacon() argument 1184 struct sk_buff *beacon; iwl_mvm_mac_ctxt_beacon_changed() local 1496 struct iwl_extended_beacon_notif *beacon = (void *)pkt->data; iwl_mvm_rx_beacon_notif() local [all...] |
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_rx.c | 1264 *beacon, in libipw_network_init() 1274 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in libipw_network_init() 1275 network->capability = le16_to_cpu(beacon->capability); in libipw_network_init() 1277 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in libipw_network_init() 1278 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in libipw_network_init() 1279 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in libipw_network_init() 1299 if (libipw_parse_info_param((void *)beacon->variable, in libipw_network_init() 1300 stats->len - sizeof(*beacon), network)) in libipw_network_init() 1412 *beacon, struct libipw_rx_stats in libipw_process_probe_response() 1420 struct libipw_info_element *info_element = (void *)beacon->variable; in libipw_process_probe_response() [all …]
|
| /linux/net/mac80211/ |
| H A D | tx.c | 388 * the frame is buffered to be sent after DTIM beacon frame. in ieee80211_tx_h_multicast_ps_buf() 422 /* device releases frame after DTIM beacon */ in ieee80211_tx_h_multicast_ps_buf() 5194 struct beacon_data *beacon, in ieee80211_beacon_update_cntdwn() 5205 beacon_data = beacon->tail; in ieee80211_beacon_update_cntdwn() 5206 beacon_data_len = beacon->tail_len; in ieee80211_beacon_update_cntdwn() 5209 beacon_data = beacon->head; in ieee80211_beacon_update_cntdwn() 5210 beacon_data_len = beacon->head_len; in ieee80211_beacon_update_cntdwn() 5213 beacon_data = beacon->head; in ieee80211_beacon_update_cntdwn() 5214 beacon_data_len = beacon->head_len; in ieee80211_beacon_update_cntdwn() 5222 bcn_offsets = beacon in ieee80211_beacon_update_cntdwn() 5123 ieee80211_set_beacon_cntdwn(struct ieee80211_sub_if_data * sdata,struct beacon_data * beacon,struct ieee80211_link_data * link) ieee80211_set_beacon_cntdwn() argument 5172 __ieee80211_beacon_update_cntdwn(struct ieee80211_link_data * link,struct beacon_data * beacon) __ieee80211_beacon_update_cntdwn() argument 5198 struct beacon_data *beacon = NULL; ieee80211_beacon_update_cntdwn() local 5231 struct beacon_data *beacon = NULL; ieee80211_beacon_set_cntdwn() local 5258 struct beacon_data *beacon = NULL; ieee80211_beacon_cntdwn_is_complete() local 5394 ieee80211_beacon_get_finish(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,struct beacon_data * beacon,struct sk_buff * skb,struct ieee80211_chanctx_conf * chanctx_conf,u16 csa_off_base) ieee80211_beacon_get_finish() argument 5447 ieee80211_beacon_add_mbssid(struct sk_buff * skb,struct beacon_data * beacon,u8 i) ieee80211_beacon_add_mbssid() argument 5481 __ieee80211_beacon_get_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,bool is_template,struct beacon_data * beacon,struct ieee80211_chanctx_conf * chanctx_conf,u8 ema_index) __ieee80211_beacon_get_ap() argument 5593 ieee80211_beacon_get_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,bool is_template,struct beacon_data * beacon,struct ieee80211_chanctx_conf * chanctx_conf,u8 ema_index,struct s1g_short_beacon_data * s1g_sb) ieee80211_beacon_get_ap() argument 5614 ieee80211_beacon_get_ap_ema_list(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,bool is_template,struct beacon_data * beacon,struct ieee80211_chanctx_conf * chanctx_conf) ieee80211_beacon_get_ap_ema_list() argument 5655 struct beacon_data *beacon = NULL; __ieee80211_beacon_get() local 6174 struct beacon_data *beacon = ieee80211_get_buffered_bc() local [all...] |
| H A D | cfg.c | 1432 * Updating the beacon might, without even changing the channel, cause in ieee80211_assign_beacon() 1434 * if the beacon configuration is EHT with 160 MHz, HE could change in ieee80211_assign_beacon() 1478 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_num_beaconing_links() 1480 /* Need to have a beacon head if we don't have one yet */ 1594 rcu_assign_pointer(link->u.ap.beacon, new); in ieee80211_start_ap() 1623 if (sdata_dereference(link->u.ap.beacon, sdata)) in ieee80211_start_ap() 1645 unsigned int link_id = params->beacon.link_id; in ieee80211_start_ap() 1662 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap() 1696 if (params->he_cap && params->beacon.he_oper) { in ieee80211_start_ap() 1699 le32_get_bits(params->beacon in ieee80211_start_ap() 1758 struct cfg80211_beacon_data *beacon = ¶ms->beacon; ieee80211_change_beacon() local 4068 cfg80211_beacon_dup(struct cfg80211_beacon_data * beacon) cfg80211_beacon_dup() argument [all...] |
| H A D | offchannel.c | 991 struct beacon_data *beacon = NULL; in ieee80211_mgmt_tx() 996 beacon = rcu_dereference(sdata->deflink.u.ap.beacon); in ieee80211_mgmt_tx() 998 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_mgmt_tx() 1000 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_mgmt_tx() 1002 if (beacon) in ieee80211_mgmt_tx() 1005 beacon->cntdwn_current_counter; in ieee80211_mgmt_tx() 986 struct beacon_data *beacon = NULL; ieee80211_mgmt_tx() local
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | rx.c | 35 u8 beacon) in wl1251_rx_status() argument 53 if ((wl->bss_type == BSS_TYPE_IBSS) && beacon) { in wl1251_rx_status() 138 u8 *rx_buffer, beacon = 0; in wl1251_rx_body() local 174 beacon = 1; in wl1251_rx_body() 176 wl1251_rx_status(wl, desc, &status, beacon); in wl1251_rx_body() 179 beacon ? "beacon" : ""); in wl1251_rx_body()
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | r8a774b1-beacon-rzg2n-kit.dts | 9 #include "beacon-renesom-som.dtsi" 10 #include "beacon-renesom-baseboard.dtsi" 14 compatible = "beacon,beacon-rzg2n", "renesas,r8a774b1";
|
| H A D | r8a774a1-beacon-rzg2m-kit.dts | 9 #include "beacon-renesom-som.dtsi" 10 #include "beacon-renesom-baseboard.dtsi" 14 compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
|
| H A D | r8a774e1-beacon-rzg2h-kit.dts | 9 #include "beacon-renesom-som.dtsi" 10 #include "beacon-renesom-baseboard.dtsi" 14 compatible = "beacon,beacon-rzg2h", "renesas,r8a774e1";
|
| /linux/net/mac802154/ |
| H A D | scan.c | 355 local->beacon.mhr.seq = atomic_inc_return(&wpan_dev->bsn) & 0xFF; in mac802154_transmit_beacon() 374 ret = ieee802154_beacon_push(skb, &local->beacon); in mac802154_transmit_beacon() 483 memset(&local->beacon, 0, sizeof(local->beacon)); in mac802154_send_beacons_locked() 484 local->beacon.mhr.fc.type = IEEE802154_FC_TYPE_BEACON; in mac802154_send_beacons_locked() 485 local->beacon.mhr.fc.security_enabled = 0; in mac802154_send_beacons_locked() 486 local->beacon.mhr.fc.frame_pending = 0; in mac802154_send_beacons_locked() 487 local->beacon.mhr.fc.ack_request = 0; in mac802154_send_beacons_locked() 488 local->beacon.mhr.fc.intra_pan = 0; in mac802154_send_beacons_locked() 489 local->beacon.mhr.fc.dest_addr_mode = IEEE802154_NO_ADDRESSING; in mac802154_send_beacons_locked() 490 local->beacon.mhr.fc.version = IEEE802154_2003_STD; in mac802154_send_beacons_locked() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | rx.c | 48 u8 beacon, u8 probe_rsp) in wl1271_rx_status() argument 95 if (beacon || probe_rsp) in wl1271_rx_status() 98 if (beacon) in wl1271_rx_status() 109 u8 beacon = 0; in wl1271_rx_handle_data() local 179 beacon = 1; in wl1271_rx_handle_data() 183 wl1271_rx_status(wl, desc, IEEE80211_SKB_RXCB(skb), beacon, in wl1271_rx_handle_data() 190 beacon ? "beacon" : "", in wl1271_rx_handle_data()
|
| /linux/drivers/net/wireless/purelifi/plfxlc/ |
| H A D | mac.c | 118 struct sk_buff *beacon; in plfxlc_restore_settings() local 121 beacon_interval = mac->beacon.interval; in plfxlc_restore_settings() 122 beacon_period = mac->beacon.period; in plfxlc_restore_settings() 129 beacon = ieee80211_beacon_get(mac->hw, mac->vif, 0); in plfxlc_restore_settings() 130 if (beacon) { in plfxlc_restore_settings() 132 kfree_skb(beacon); in plfxlc_restore_settings() 143 mac->beacon.last_update = jiffies; in plfxlc_restore_settings() 597 struct sk_buff *beacon = ieee80211_beacon_get(hw, vif, 0); in plfxlc_op_bss_info_changed() local 599 if (beacon) { in plfxlc_op_bss_info_changed() 601 kfree_skb(beacon); in plfxlc_op_bss_info_changed() [all …]
|
| H A D | mac.h | 105 struct beacon { struct 120 struct beacon beacon; argument
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mn-beacon-kit.dts | 9 #include "imx8mn-beacon-som.dtsi" 10 #include "imx8mn-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn";
|
| H A D | imx8mm-beacon-kit.dts | 9 #include "imx8mm-beacon-som.dtsi" 10 #include "imx8mm-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm";
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| H A D | fw.c | 262 u8 *beacon; in rtl92d_set_fw_rsvdpagepkt() local 269 beacon = &reserved_page_packet[BEACON_PG * 128]; in rtl92d_set_fw_rsvdpagepkt() 270 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt() 271 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | uap_cmd.c | 151 ht_ie = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, params->beacon.tail, in mwifiex_set_ht_params() 152 params->beacon.tail_len); in mwifiex_set_ht_params() 175 vht_ie = cfg80211_find_ie(WLAN_EID_VHT_CAPABILITY, params->beacon.tail, in mwifiex_set_vht_params() 176 params->beacon.tail_len); in mwifiex_set_vht_params() 197 tpc_ie = cfg80211_find_ie(WLAN_EID_TPC_REQUEST, params->beacon.tail, in mwifiex_set_tpc_params() 198 params->beacon.tail_len); in mwifiex_set_tpc_params() 245 int var_offset = offsetof(struct ieee80211_mgmt, u.beacon.variable); in mwifiex_set_uap_rates() 246 const u8 *var_pos = params->beacon.head + var_offset; in mwifiex_set_uap_rates() 247 int len = params->beacon.head_len - var_offset; in mwifiex_set_uap_rates() 259 params->beacon.tail, in mwifiex_set_uap_rates() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas_tf/ |
| H A D | cmd.c | 165 int lbtf_beacon_set(struct lbtf_private *priv, struct sk_buff *beacon) in lbtf_beacon_set() argument 172 if (beacon->len > MRVL_MAX_BCN_SIZE) { in lbtf_beacon_set() 176 size = sizeof(cmd) - sizeof(cmd.beacon) + beacon->len; in lbtf_beacon_set() 178 cmd.len = cpu_to_le16(beacon->len); in lbtf_beacon_set() 179 memcpy(cmd.beacon, (u8 *) beacon->data, beacon->len); in lbtf_beacon_set()
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.c | 725 if (unlikely(!intf->beacon)) in rt2x00queue_clear_beacon() 731 rt2x00queue_free_skb(intf->beacon); in rt2x00queue_clear_beacon() 738 rt2x00dev->ops->lib->clear_beacon(intf->beacon); in rt2x00queue_clear_beacon() 750 if (unlikely(!intf->beacon)) in rt2x00queue_update_beacon() 756 rt2x00queue_free_skb(intf->beacon); in rt2x00queue_update_beacon() 758 intf->beacon->skb = ieee80211_beacon_get(rt2x00dev->hw, vif, 0); in rt2x00queue_update_beacon() 759 if (!intf->beacon->skb) in rt2x00queue_update_beacon() 767 rt2x00queue_create_tx_descriptor(rt2x00dev, intf->beacon->skb, &txdesc, NULL); in rt2x00queue_update_beacon() 772 skbdesc = get_skb_frame_desc(intf->beacon->skb); in rt2x00queue_update_beacon() 778 rt2x00dev->ops->lib->write_beacon(intf->beacon, &txdesc); in rt2x00queue_update_beacon()
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | Makefile | 2 ath9k-y += beacon.o \ 63 common-beacon.o \
|