| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ap.c | 19 u8 *beacon, u32 frame_size) in iwl_mld_set_tim_idx() argument 27 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mld_set_tim_idx() 84 hcmd.len[1] = beacon->len; in iwl_mld_send_beacon_template_cmd() 85 hcmd.data[1] = beacon->data; in iwl_mld_send_beacon_template_cmd() 133 beacon->data, beacon->len); in iwl_mld_fill_beacon_template_cmd() 138 beacon->len)); in iwl_mld_fill_beacon_template_cmd() 144 beacon->len)); in iwl_mld_fill_beacon_template_cmd() 148 beacon->len)); in iwl_mld_fill_beacon_template_cmd() 159 struct sk_buff *beacon; in iwl_mld_update_beacon_template() local 181 if (!beacon) in iwl_mld_update_beacon_template() [all …]
|
| H A D | ap.h | 39 u8 *beacon, u32 frame_size); 42 struct sk_buff *beacon,
|
| H A D | debugfs.c | 708 struct sk_buff *beacon = in _iwl_dbgfs_inject_beacon_ie() local 712 if (!beacon) in _iwl_dbgfs_inject_beacon_ie() 716 hex2bin(skb_put_zero(beacon, n_bytes), in _iwl_dbgfs_inject_beacon_ie() 718 dev_kfree_skb(beacon); in _iwl_dbgfs_inject_beacon_ie() 722 info = IEEE80211_SKB_CB(beacon); in _iwl_dbgfs_inject_beacon_ie() 728 beacon_cmd.byte_cnt = cpu_to_le16((u16)beacon->len); in _iwl_dbgfs_inject_beacon_ie() 733 beacon->data, beacon->len); in _iwl_dbgfs_inject_beacon_ie() 735 offset = iwl_find_ie_offset(beacon->data, in _iwl_dbgfs_inject_beacon_ie() 737 beacon->len); in _iwl_dbgfs_inject_beacon_ie() 741 iwl_mld_send_beacon_template_cmd(mld, beacon, &beacon_cmd); in _iwl_dbgfs_inject_beacon_ie() [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath9k/ |
| H A D | beacon.c | 24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status() 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 281 vif = sc->beacon.bslot[0]; in ath9k_beacon_ensure_primary_slot() 412 sc->beacon.bmisscnt++; in ath9k_beacon_tasklet() 428 sc->beacon.bmisscnt); in ath9k_beacon_tasklet() 434 sc->beacon.bmisscnt = 0; in ath9k_beacon_tasklet() 466 sc->beacon.bmisscnt); in ath9k_beacon_tasklet() 467 sc->beacon.bmisscnt = 0; in ath9k_beacon_tasklet() 522 sc->beacon.bmisscnt = 0; in ath9k_beacon_init() 531 sc->beacon.bmisscnt = 0; in ath9k_beacon_stop() [all …]
|
| H A D | htc_drv_beacon.c | 87 priv->beacon.bmisscnt = 0; in ath9k_htc_beacon_init() 148 vif = priv->beacon.bslot[slot]; in ath9k_htc_send_buffered() 201 struct sk_buff *beacon; in ath9k_htc_send_beacon() local 209 vif = priv->beacon.bslot[slot]; in ath9k_htc_send_beacon() 219 if (!beacon) { in ath9k_htc_send_beacon() 240 tx_ctl = HTC_SKB_CB(beacon); in ath9k_htc_send_beacon() 256 dev_kfree_skb_any(beacon); in ath9k_htc_send_beacon() 294 priv->beacon.bmisscnt++; in ath9k_htc_swba() 303 if (priv->beacon.bmisscnt) { in ath9k_htc_swba() 306 priv->beacon.bmisscnt); in ath9k_htc_swba() [all …]
|
| /linux-6.15/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-6.15/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_mac.c | 359 struct sk_buff *beacon; in zd_restore_settings() local 402 if (beacon) in zd_restore_settings() 679 if (mac->beacon.cur_beacon->len != beacon->len) in zd_mac_match_cur_beacon() 682 return !memcmp(beacon->data, mac->beacon.cur_beacon->data, beacon->len); in zd_mac_match_cur_beacon() 817 mac->beacon.cur_beacon = beacon; in zd_mac_config_beacon() 818 beacon = NULL; in zd_mac_config_beacon() 829 kfree_skb(beacon); in zd_mac_config_beacon() 836 kfree_skb(beacon); in zd_mac_config_beacon() 1171 if (beacon) in zd_beacon_done() 1296 if (beacon) { in zd_op_bss_info_changed() [all …]
|
| H A D | zd_mac.h | 153 struct beacon { struct 176 struct beacon beacon; member
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 856 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim() 1021 cmd.len[1] = beacon->len; in iwl_mvm_mac_ctxt_send_beacon_cmd() 1042 beacon->data, beacon->len); in iwl_mvm_mac_ctxt_send_beacon_v6() 1062 beacon->data, beacon->len); in iwl_mvm_mac_ctxt_send_beacon_v7() 1067 beacon->len)); in iwl_mvm_mac_ctxt_send_beacon_v7() 1136 beacon->data, beacon->len); in iwl_mvm_mac_ctxt_send_beacon_v9() 1163 if (WARN_ON(!beacon)) in iwl_mvm_mac_ctxt_send_beacon() 1186 struct sk_buff *beacon; in iwl_mvm_mac_ctxt_beacon_changed() local 1194 if (!beacon) in iwl_mvm_mac_ctxt_beacon_changed() 1199 dev_kfree_skb(beacon); in iwl_mvm_mac_ctxt_beacon_changed() [all …]
|
| /linux-6.15/net/mac80211/ |
| H A D | tx.c | 5063 beacon = rcu_dereference(link->u.ap.beacon); in ieee80211_beacon_update_cntdwn() 5067 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_update_cntdwn() 5092 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_set_cntdwn() 5128 beacon = rcu_dereference(link->u.ap.beacon); in ieee80211_beacon_cntdwn_is_complete() 5129 if (WARN_ON(!beacon || !beacon->tail)) in ieee80211_beacon_cntdwn_is_complete() 5145 beacon = rcu_dereference(ifmsh->beacon); in ieee80211_beacon_cntdwn_is_complete() 5278 if (beacon->rnr_ies && beacon->rnr_ies->cnt) { in ieee80211_beacon_add_mbssid() 5333 skb_put_data(skb, beacon->head, beacon->head_len); in ieee80211_beacon_get_ap() 5433 beacon = rcu_dereference(link->u.ap.beacon); in __ieee80211_beacon_get() 5491 beacon = rcu_dereference(ifmsh->beacon); in __ieee80211_beacon_get() [all …]
|
| H A D | cfg.c | 1550 struct cfg80211_beacon_data *beacon = ¶ms->beacon; in ieee80211_change_beacon() local 3598 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup() 3600 beacon->probe_resp_len + beacon->lci_len + beacon->civicloc_len; in cfg80211_beacon_dup() 3611 if (beacon->mbssid_ies && beacon->mbssid_ies->cnt) { in cfg80211_beacon_dup() 3621 if (beacon->rnr_ies && beacon->rnr_ies->cnt) { in cfg80211_beacon_dup() 3638 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup() 3644 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup() 3671 if (beacon->mbssid_ies && beacon->mbssid_ies->cnt) { in cfg80211_beacon_dup() 3675 if (beacon->rnr_ies && beacon->rnr_ies->cnt) in cfg80211_beacon_dup() 3686 memcpy(pos, beacon->lci, beacon->lci_len); in cfg80211_beacon_dup() [all …]
|
| /linux-6.15/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_rx.c | 1264 *beacon, 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() 1426 beacon->header.addr3, in libipw_process_probe_response() 1447 beacon->header.addr3, in libipw_process_probe_response() 1448 is_beacon(beacon->header.frame_ctl) ? in libipw_process_probe_response() 1495 is_beacon(beacon->header.frame_ctl) ? in libipw_process_probe_response() 1504 is_beacon(beacon->header.frame_ctl) ? in libipw_process_probe_response() 1511 if (is_beacon(beacon->header.frame_ctl)) { in libipw_process_probe_response() 1513 ieee->handle_beacon(dev, beacon, target); in libipw_process_probe_response() [all …]
|
| /linux-6.15/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-6.15/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-6.15/net/mac802154/ |
| H A D | scan.c | 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() 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() 490 local->beacon.mhr.fc.version = IEEE802154_2003_STD; in mac802154_send_beacons_locked() 493 local->beacon.mhr.source.mode = IEEE802154_ADDR_LONG; in mac802154_send_beacons_locked() 499 local->beacon.mac_pl.final_cap_slot = 0xf; in mac802154_send_beacons_locked() 500 local->beacon.mac_pl.battery_life_ext = 0; in mac802154_send_beacons_locked() [all …]
|
| /linux-6.15/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-6.15/drivers/net/wireless/purelifi/plfxlc/ |
| H A D | mac.c | 123 struct sk_buff *beacon; in plfxlc_restore_settings() local 126 beacon_interval = mac->beacon.interval; in plfxlc_restore_settings() 127 beacon_period = mac->beacon.period; in plfxlc_restore_settings() 135 if (beacon) { in plfxlc_restore_settings() 137 kfree_skb(beacon); in plfxlc_restore_settings() 148 mac->beacon.last_update = jiffies; in plfxlc_restore_settings() 604 if (beacon) { in plfxlc_op_bss_info_changed() 606 kfree_skb(beacon); in plfxlc_op_bss_info_changed() 624 mac->beacon.period = period; in plfxlc_op_bss_info_changed() 625 mac->beacon.interval = interval; in plfxlc_op_bss_info_changed() [all …]
|
| H A D | mac.h | 105 struct beacon { struct 120 struct beacon beacon; argument
|
| /linux-6.15/arch/arm64/boot/dts/freescale/ |
| 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";
|
| 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";
|
| /linux-6.15/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-6.15/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-6.15/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() 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() 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() 260 params->beacon.tail_len); in mwifiex_set_uap_rates() 379 params->beacon.tail, in mwifiex_set_wmm_params() [all …]
|