/drivers/net/wireless/ath/ath9k/ |
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() 40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config() 59 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config() 62 ath9k_hw_resettxqueue(ah, sc->beacon.beaconq); in ath9k_beaconq_config() 101 info.qcu = sc->beacon.beaconq; in ath9k_beacon_setup() 117 txctl.txq = sc->beacon.cabq; in ath9k_tx_cabq() 135 struct ath_txq *cabq = sc->beacon.cabq; in ath9k_beacon_generate() 160 mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust; in ath9k_beacon_generate() 222 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list); in ath9k_beacon_assign_slot() [all …]
|
D | htc_drv_beacon.c | 357 struct sk_buff *beacon; in ath9k_htc_send_beacon() local 374 beacon = ieee80211_beacon_get(priv->hw, vif); in ath9k_htc_send_beacon() 375 if (!beacon) { in ath9k_htc_send_beacon() 384 mgmt = (struct ieee80211_mgmt *)beacon->data; in ath9k_htc_send_beacon() 385 mgmt->u.beacon.timestamp = avp->tsfadjust; in ath9k_htc_send_beacon() 387 info = IEEE80211_SKB_CB(beacon); in ath9k_htc_send_beacon() 390 (struct ieee80211_hdr *) beacon->data; in ath9k_htc_send_beacon() 396 tx_ctl = HTC_SKB_CB(beacon); in ath9k_htc_send_beacon() 403 tx_fhdr = skb_push(beacon, sizeof(beacon_hdr)); in ath9k_htc_send_beacon() 406 ret = htc_send(priv->htc, beacon); in ath9k_htc_send_beacon() [all …]
|
/drivers/net/wireless/zd1211rw/ |
D | zd_mac.c | 146 struct sk_buff *beacon, bool in_intr); 373 struct sk_buff *beacon; in zd_restore_settings() local 384 beacon_interval = mac->beacon.interval; in zd_restore_settings() 385 beacon_period = mac->beacon.period; in zd_restore_settings() 415 beacon = ieee80211_beacon_get(mac->hw, mac->vif); in zd_restore_settings() 416 if (beacon) in zd_restore_settings() 417 zd_mac_config_beacon(mac->hw, beacon, false); in zd_restore_settings() 424 mac->beacon.last_update = jiffies; in zd_restore_settings() 691 static bool zd_mac_match_cur_beacon(struct zd_mac *mac, struct sk_buff *beacon) in zd_mac_match_cur_beacon() argument 693 if (!mac->beacon.cur_beacon) in zd_mac_match_cur_beacon() [all …]
|
D | zd_mac.h | 166 struct beacon { struct 189 struct beacon beacon; argument
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | mac-ctxt.c | 757 u8 *beacon, u32 frame_size) in iwl_mvm_mac_ctxt_set_tim() argument 760 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() 764 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim() 768 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_mvm_mac_ctxt_set_tim() 769 tim_idx += beacon[tim_idx+1] + 2; in iwl_mvm_mac_ctxt_set_tim() 772 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_mvm_mac_ctxt_set_tim() 774 beacon_cmd->tim_size = cpu_to_le32((u32)beacon[tim_idx+1]); in iwl_mvm_mac_ctxt_set_tim() 782 struct sk_buff *beacon) in iwl_mvm_mac_ctxt_send_beacon() argument 794 if (WARN_ON(!beacon)) in iwl_mvm_mac_ctxt_send_beacon() 797 beacon_skb_len = beacon->len; in iwl_mvm_mac_ctxt_send_beacon() [all …]
|
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_rx.c | 876 struct ieee80211_probe_response *beacon, in ieee80211_network_init() argument 891 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in ieee80211_network_init() 892 network->capability = beacon->capability; in ieee80211_network_init() 894 network->time_stamp[0] = beacon->time_stamp[0]; in ieee80211_network_init() 895 network->time_stamp[1] = beacon->time_stamp[1]; in ieee80211_network_init() 896 network->beacon_interval = beacon->beacon_interval; in ieee80211_network_init() 921 info_element = &beacon->info_element; in ieee80211_network_init() 922 left = stats->len - ((void *)info_element - (void *)beacon); in ieee80211_network_init() 1133 ieee80211_extract_country_ie(ieee, info_element, network, beacon->header.addr2); in ieee80211_network_init() 1286 struct ieee80211_probe_response *beacon, in ieee80211_process_probe_response() argument [all …]
|
D | ieee80211_softmac.c | 280 struct ieee80211_network *beacon, in ieee80211_disassociate_skb() argument 295 memcpy(disass->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb() 297 memcpy(disass->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb() 309 struct ieee80211_network *beacon = &ieee->current_network; in SendDisassociation() local 311 skb = ieee80211_disassociate_skb(beacon,ieee,asRsn); in SendDisassociation() 738 inline struct sk_buff *ieee80211_authentication_req(struct ieee80211_network *beacon, in ieee80211_authentication_req() argument 756 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 758 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 1030 inline struct sk_buff *ieee80211_association_req(struct ieee80211_network *beacon,struct ieee80211_… in ieee80211_association_req() argument 1041 unsigned int wpa_len = beacon->wpa_ie_len; in ieee80211_association_req() [all …]
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 1398 *beacon, in libipw_network_init() 1410 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in libipw_network_init() 1411 network->capability = le16_to_cpu(beacon->capability); in libipw_network_init() 1413 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in libipw_network_init() 1414 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in libipw_network_init() 1415 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in libipw_network_init() 1436 (beacon->info_element, stats->len - sizeof(*beacon), network)) in libipw_network_init() 1553 *beacon, struct libipw_rx_stats in libipw_process_probe_response() 1563 struct libipw_info_element *info_element = beacon->info_element; in libipw_process_probe_response() 1571 beacon->header.addr3, in libipw_process_probe_response() [all …]
|
/drivers/net/wireless/ti/wl1251/ |
D | rx.c | 49 u8 beacon) in wl1251_rx_status() argument 67 if ((wl->bss_type == BSS_TYPE_IBSS) && beacon) { in wl1251_rx_status() 152 u8 *rx_buffer, beacon = 0; in wl1251_rx_body() local 188 beacon = 1; in wl1251_rx_body() 190 wl1251_rx_status(wl, desc, &status, beacon); in wl1251_rx_body() 193 beacon ? "beacon" : ""); in wl1251_rx_body()
|
D | main.c | 979 struct sk_buff *beacon, *skb; in wl1251_op_bss_info_changed() local 1079 beacon = ieee80211_beacon_get(hw, vif); in wl1251_op_bss_info_changed() 1080 if (!beacon) in wl1251_op_bss_info_changed() 1083 ret = wl1251_cmd_template_set(wl, CMD_BEACON, beacon->data, in wl1251_op_bss_info_changed() 1084 beacon->len); in wl1251_op_bss_info_changed() 1087 dev_kfree_skb(beacon); in wl1251_op_bss_info_changed() 1091 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RESP, beacon->data, in wl1251_op_bss_info_changed() 1092 beacon->len); in wl1251_op_bss_info_changed() 1094 dev_kfree_skb(beacon); in wl1251_op_bss_info_changed()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 2183 struct ieee80211_probe_response *beacon, in ieee80211_network_init() argument 2198 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in ieee80211_network_init() 2199 network->capability = le16_to_cpu(beacon->capability); in ieee80211_network_init() 2201 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in ieee80211_network_init() 2202 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in ieee80211_network_init() 2203 network->beacon_interval = le32_to_cpu(beacon->beacon_interval); in ieee80211_network_init() 2237 (ieee,beacon->info_element, stats->len - sizeof(*beacon), network, stats)) in ieee80211_network_init() 2413 struct ieee80211_probe_response *beacon, in ieee80211_process_probe_response() argument 2420 struct ieee80211_info_element *info_element = &beacon->info_element[0]; in ieee80211_process_probe_response() 2430 beacon->header.addr3, in ieee80211_process_probe_response() [all …]
|
D | ieee80211_softmac.c | 649 inline struct sk_buff *ieee80211_authentication_req(struct ieee80211_network *beacon, in ieee80211_authentication_req() argument 669 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 671 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 981 inline struct sk_buff *ieee80211_association_req(struct ieee80211_network *beacon,struct ieee80211_… in ieee80211_association_req() argument 1006 unsigned int wmm_info_len = beacon->qos_data.supported?9:0; in ieee80211_association_req() 1008 unsigned int turbo_info_len = beacon->Turbo_Enable?9:0; in ieee80211_association_req() 1031 wmm_info_len = beacon->qos_data.supported?9:0; in ieee80211_association_req() 1035 if(beacon->bCkipSupported) in ieee80211_association_req() 1039 if(beacon->bCcxRmEnable) in ieee80211_association_req() 1043 if( beacon->BssCcxVerNumber >= 2 ) in ieee80211_association_req() [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac.c | 792 inline struct sk_buff *rtllib_authentication_req(struct rtllib_network *beacon, in rtllib_authentication_req() argument 815 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in rtllib_authentication_req() 817 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in rtllib_authentication_req() 1166 inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon, in rtllib_association_req() argument 1186 unsigned int rate_len = (beacon->rates_len ? in rtllib_association_req() 1187 (beacon->rates_len + 2) : 0) + in rtllib_association_req() 1188 (beacon->rates_ex_len ? (beacon->rates_ex_len) + in rtllib_association_req() 1191 unsigned int wmm_info_len = beacon->qos_data.supported ? 9 : 0; in rtllib_association_req() 1192 unsigned int turbo_info_len = beacon->Turbo_Enable ? 9 : 0; in rtllib_association_req() 1224 if (beacon->bCkipSupported) in rtllib_association_req() [all …]
|
D | rtllib_rx.c | 2243 struct rtllib_probe_response *beacon, in rtllib_network_init() argument 2257 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in rtllib_network_init() 2258 network->capability = le16_to_cpu(beacon->capability); in rtllib_network_init() 2260 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in rtllib_network_init() 2261 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in rtllib_network_init() 2262 network->beacon_interval = le32_to_cpu(beacon->beacon_interval); in rtllib_network_init() 2300 beacon->info_element, in rtllib_network_init() 2301 (stats->len - sizeof(*beacon)), in rtllib_network_init() 2510 struct rtllib_probe_response *beacon, in rtllib_process_probe_response() argument 2515 struct rtllib_info_element *info_element = &beacon->info_element[0]; in rtllib_process_probe_response() [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | rx.c | 62 u8 beacon) in wl1271_rx_status() argument 102 if (beacon) in wl1271_rx_status() 114 u8 beacon = 0; in wl1271_rx_handle_data() local 187 beacon = 1; in wl1271_rx_handle_data() 191 wl1271_rx_status(wl, desc, IEEE80211_SKB_RXCB(skb), beacon); in wl1271_rx_handle_data() 197 beacon ? "beacon" : "", in wl1271_rx_handle_data()
|
/drivers/net/wireless/mwifiex/ |
D | uap_cmd.c | 166 ht_ie = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, params->beacon.tail, in mwifiex_set_ht_params() 167 params->beacon.tail_len); in mwifiex_set_ht_params() 190 vht_ie = cfg80211_find_ie(WLAN_EID_VHT_CAPABILITY, params->beacon.tail, in mwifiex_set_vht_params() 191 params->beacon.tail_len); in mwifiex_set_vht_params() 243 int var_offset = offsetof(struct ieee80211_mgmt, u.beacon.variable); in mwifiex_set_uap_rates() 244 const u8 *var_pos = params->beacon.head + var_offset; in mwifiex_set_uap_rates() 245 int len = params->beacon.head_len - var_offset; in mwifiex_set_uap_rates() 255 params->beacon.tail, in mwifiex_set_uap_rates() 256 params->beacon.tail_len); in mwifiex_set_uap_rates() 370 params->beacon.tail, in mwifiex_set_wmm_params() [all …]
|
/drivers/net/wireless/libertas_tf/ |
D | cmd.c | 169 int lbtf_beacon_set(struct lbtf_private *priv, struct sk_buff *beacon) in lbtf_beacon_set() argument 176 if (beacon->len > MRVL_MAX_BCN_SIZE) { in lbtf_beacon_set() 180 size = sizeof(cmd) - sizeof(cmd.beacon) + beacon->len; in lbtf_beacon_set() 182 cmd.len = cpu_to_le16(beacon->len); in lbtf_beacon_set() 183 memcpy(cmd.beacon, (u8 *) beacon->data, beacon->len); in lbtf_beacon_set()
|
D | main.c | 495 struct sk_buff *beacon; in lbtf_op_bss_info_changed() local 502 beacon = ieee80211_beacon_get(hw, vif); in lbtf_op_bss_info_changed() 503 if (beacon) { in lbtf_op_bss_info_changed() 504 lbtf_beacon_set(priv, beacon); in lbtf_op_bss_info_changed() 505 kfree_skb(beacon); in lbtf_op_bss_info_changed()
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00queue.c | 756 if (unlikely(!intf->beacon)) in rt2x00queue_clear_beacon() 764 rt2x00queue_free_skb(intf->beacon); in rt2x00queue_clear_beacon() 771 rt2x00dev->ops->lib->clear_beacon(intf->beacon); in rt2x00queue_clear_beacon() 785 if (unlikely(!intf->beacon)) in rt2x00queue_update_beacon_locked() 791 rt2x00queue_free_skb(intf->beacon); in rt2x00queue_update_beacon_locked() 793 intf->beacon->skb = ieee80211_beacon_get(rt2x00dev->hw, vif); in rt2x00queue_update_beacon_locked() 794 if (!intf->beacon->skb) in rt2x00queue_update_beacon_locked() 802 rt2x00queue_create_tx_descriptor(rt2x00dev, intf->beacon->skb, &txdesc, NULL); in rt2x00queue_update_beacon_locked() 807 skbdesc = get_skb_frame_desc(intf->beacon->skb); in rt2x00queue_update_beacon_locked() 809 skbdesc->entry = intf->beacon; in rt2x00queue_update_beacon_locked() [all …]
|
/drivers/net/wireless/p54/ |
D | main.c | 86 pos = (u8 *)mgmt->u.beacon.variable; in p54_find_ie() 143 struct sk_buff *beacon; in p54_beacon_update() local 146 beacon = ieee80211_beacon_get(priv->hw, vif); in p54_beacon_update() 147 if (!beacon) in p54_beacon_update() 149 ret = p54_beacon_format_ie_tim(beacon); in p54_beacon_update() 162 p54_tx_80211(priv->hw, &control, beacon); in p54_beacon_update()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | rx.c | 221 struct iwlagn_beacon_notif *beacon = (void *)pkt->data; in iwlagn_rx_beacon_notif() local 223 u16 status = le16_to_cpu(beacon->beacon_notify_hdr.status.status); in iwlagn_rx_beacon_notif() 224 u8 rate = iwl_hw_get_rate(beacon->beacon_notify_hdr.rate_n_flags); in iwlagn_rx_beacon_notif() 229 beacon->beacon_notify_hdr.failure_frame, in iwlagn_rx_beacon_notif() 230 le32_to_cpu(beacon->ibss_mgr_status), in iwlagn_rx_beacon_notif() 231 le32_to_cpu(beacon->high_tsf), in iwlagn_rx_beacon_notif() 232 le32_to_cpu(beacon->low_tsf), rate); in iwlagn_rx_beacon_notif() 235 priv->ibss_manager = le32_to_cpu(beacon->ibss_mgr_status); in iwlagn_rx_beacon_notif()
|
D | main.c | 102 u8 *beacon, u32 frame_size) in iwl_set_beacon_tim() argument 105 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_set_beacon_tim() 111 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_set_beacon_tim() 115 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_set_beacon_tim() 116 tim_idx += beacon[tim_idx+1] + 2; in iwl_set_beacon_tim() 119 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_set_beacon_tim() 121 tx_beacon_cmd->tim_size = beacon[tim_idx+1]; in iwl_set_beacon_tim() 215 struct sk_buff *beacon; in iwl_bg_beacon_update() local 234 beacon = ieee80211_beacon_get(priv->hw, priv->beacon_ctx->vif); in iwl_bg_beacon_update() 235 if (!beacon) { in iwl_bg_beacon_update() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | fw.c | 710 u8 *beacon; in rtl92d_set_fw_rsvdpagepkt() local 717 beacon = &reserved_page_packet[BEACON_PG * 128]; in rtl92d_set_fw_rsvdpagepkt() 718 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt() 719 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | fw.c | 662 u8 *beacon; in rtl8723ae_set_fw_rsvdpagepkt() local 670 beacon = &reserved_page_packet[BEACON_PG * 128]; in rtl8723ae_set_fw_rsvdpagepkt() 671 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl8723ae_set_fw_rsvdpagepkt() 672 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl8723ae_set_fw_rsvdpagepkt()
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | fw.c | 663 u8 *beacon; in rtl88e_set_fw_rsvdpagepkt() local 671 beacon = &reserved_page_packet[BEACON_PG * 128]; in rtl88e_set_fw_rsvdpagepkt() 672 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl88e_set_fw_rsvdpagepkt() 673 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl88e_set_fw_rsvdpagepkt()
|