/linux/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 …]
|
H A D | Makefile | 2 ath9k-y += beacon.o \ 63 common-beacon.o \
|
/linux/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; argument
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac-ctxt.c | 860 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim() 881 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_mvm_find_ie_offset() 884 frame_size -= mgmt->u.beacon.variable - beacon; in iwl_mvm_find_ie_offset() 890 return ie - beacon; in iwl_mvm_find_ie_offset() 1063 beacon->data, beacon->len); in iwl_mvm_mac_ctxt_send_beacon_v6() 1083 beacon->data, beacon->len); in iwl_mvm_mac_ctxt_send_beacon_v7() 1088 beacon->len)); in iwl_mvm_mac_ctxt_send_beacon_v7() 1092 beacon->len)); in iwl_mvm_mac_ctxt_send_beacon_v7() 1156 beacon->data, beacon->len); in iwl_mvm_mac_ctxt_send_beacon_v9() 1183 if (WARN_ON(!beacon)) in iwl_mvm_mac_ctxt_send_beacon() [all …]
|
/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 706 (beacon->rates_ex_len ? (beacon->rates_ex_len) + in rtllib_association_req() 743 if (beacon->ckip_supported) in rtllib_association_req() 745 if (beacon->ccx_rm_enable) in rtllib_association_req() 757 + beacon->ssid_len in rtllib_association_req() 802 skb_put_data(skb, beacon->ssid, beacon->ssid_len); in rtllib_association_req() 806 if (beacon->rates_len) { in rtllib_association_req() 808 *tag++ = beacon->rates_len; in rtllib_association_req() 810 *tag++ = beacon->rates[i]; in rtllib_association_req() 813 if (beacon->rates_ex_len) { in rtllib_association_req() 840 if (beacon->ccx_rm_enable) { in rtllib_association_req() [all …]
|
H A D | rtllib_rx.c | 2147 struct rtllib_probe_response *beacon, in rtllib_network_init() argument 2154 ether_addr_copy(network->bssid, beacon->header.addr3); in rtllib_network_init() 2155 network->capability = le16_to_cpu(beacon->capability); in rtllib_network_init() 2157 network->time_stamp[0] = beacon->time_stamp[0]; in rtllib_network_init() 2158 network->time_stamp[1] = beacon->time_stamp[1]; in rtllib_network_init() 2192 beacon->info_element, in rtllib_network_init() 2193 (stats->len - sizeof(*beacon)), in rtllib_network_init() 2383 struct rtllib_probe_response *beacon, in rtllib_process_probe_response() argument 2393 __le16 frame_ctl = beacon->header.frame_control; in rtllib_process_probe_response() 2401 beacon->header.addr3, in rtllib_process_probe_response() [all …]
|
/linux/net/mac80211/ |
H A D | tx.c | 5060 beacon = rcu_dereference(link->u.ap.beacon); in ieee80211_beacon_update_cntdwn() 5064 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_update_cntdwn() 5089 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_beacon_set_cntdwn() 5125 beacon = rcu_dereference(link->u.ap.beacon); in ieee80211_beacon_cntdwn_is_complete() 5126 if (WARN_ON(!beacon || !beacon->tail)) in ieee80211_beacon_cntdwn_is_complete() 5142 beacon = rcu_dereference(ifmsh->beacon); in ieee80211_beacon_cntdwn_is_complete() 5275 if (beacon->rnr_ies && beacon->rnr_ies->cnt) { in ieee80211_beacon_add_mbssid() 5330 skb_put_data(skb, beacon->head, beacon->head_len); in ieee80211_beacon_get_ap() 5430 beacon = rcu_dereference(link->u.ap.beacon); in __ieee80211_beacon_get() 5488 beacon = rcu_dereference(ifmsh->beacon); in __ieee80211_beacon_get() [all …]
|
H A D | cfg.c | 1522 struct cfg80211_beacon_data *beacon = ¶ms->beacon; in ieee80211_change_beacon() local 3528 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup() 3530 beacon->probe_resp_len + beacon->lci_len + beacon->civicloc_len; in cfg80211_beacon_dup() 3541 if (beacon->mbssid_ies && beacon->mbssid_ies->cnt) { in cfg80211_beacon_dup() 3551 if (beacon->rnr_ies && beacon->rnr_ies->cnt) { in cfg80211_beacon_dup() 3568 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup() 3574 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup() 3601 if (beacon->mbssid_ies && beacon->mbssid_ies->cnt) { in cfg80211_beacon_dup() 3605 if (beacon->rnr_ies && beacon->rnr_ies->cnt) in cfg80211_beacon_dup() 3616 memcpy(pos, beacon->lci, beacon->lci_len); in cfg80211_beacon_dup() [all …]
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_rx.c | 1357 *beacon, in libipw_network_init() 1393 stats->len - sizeof(*beacon), network)) in libipw_network_init() 1505 *beacon, struct libipw_rx_stats in libipw_process_probe_response() 1519 beacon->header.addr3, in libipw_process_probe_response() 1540 beacon->header.addr3, in libipw_process_probe_response() 1541 is_beacon(beacon->header.frame_ctl) ? in libipw_process_probe_response() 1588 is_beacon(beacon->header.frame_ctl) ? in libipw_process_probe_response() 1597 is_beacon(beacon->header.frame_ctl) ? in libipw_process_probe_response() 1604 if (is_beacon(beacon->header.frame_ctl)) { in libipw_process_probe_response() 1606 ieee->handle_beacon(dev, beacon, target); in libipw_process_probe_response() [all …]
|
/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/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/net/mac802154/ |
H A D | scan.c | 372 ret = ieee802154_beacon_push(skb, &local->beacon); in mac802154_transmit_beacon() 481 memset(&local->beacon, 0, sizeof(local->beacon)); in mac802154_send_beacons_locked() 483 local->beacon.mhr.fc.security_enabled = 0; in mac802154_send_beacons_locked() 484 local->beacon.mhr.fc.frame_pending = 0; in mac802154_send_beacons_locked() 485 local->beacon.mhr.fc.ack_request = 0; in mac802154_send_beacons_locked() 486 local->beacon.mhr.fc.intra_pan = 0; in mac802154_send_beacons_locked() 488 local->beacon.mhr.fc.version = IEEE802154_2003_STD; in mac802154_send_beacons_locked() 491 local->beacon.mhr.source.mode = IEEE802154_ADDR_LONG; in mac802154_send_beacons_locked() 497 local->beacon.mac_pl.final_cap_slot = 0xf; in mac802154_send_beacons_locked() 498 local->beacon.mac_pl.battery_life_ext = 0; 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 | 124 struct sk_buff *beacon; in plfxlc_restore_settings() local 127 beacon_interval = mac->beacon.interval; in plfxlc_restore_settings() 128 beacon_period = mac->beacon.period; in plfxlc_restore_settings() 136 if (beacon) { in plfxlc_restore_settings() 138 kfree_skb(beacon); in plfxlc_restore_settings() 149 mac->beacon.last_update = jiffies; in plfxlc_restore_settings() 605 if (beacon) { in plfxlc_op_bss_info_changed() 607 kfree_skb(beacon); in plfxlc_op_bss_info_changed() 625 mac->beacon.period = period; in plfxlc_op_bss_info_changed() 626 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/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/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/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/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 …]
|
/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()
|