Home
last modified time | relevance | path

Searched refs:mgmt (Results 1 – 25 of 41) sorted by relevance

12

/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c319 rtw_update_TSF(struct mlme_ext_priv *pmlmeext, struct ieee80211_mgmt *mgmt) in rtw_update_TSF() argument
321 pmlmeext->TSFValue = get_unaligned_le64(&mgmt->u.beacon.timestamp); in rtw_update_TSF()
639 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) skb->data; in mgt_dispatcher23a() local
644 if (!ieee80211_is_mgmt(mgmt->frame_control)) in mgt_dispatcher23a()
649 if (!ether_addr_equal(mgmt->da, myid(&padapter->eeprompriv)) && in mgt_dispatcher23a()
650 !is_broadcast_ether_addr(mgmt->da)) in mgt_dispatcher23a()
655 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in mgt_dispatcher23a()
666 psta = rtw_get_stainfo23a(&padapter->stapriv, mgmt->sa); in mgt_dispatcher23a()
669 if (ieee80211_has_retry(mgmt->frame_control)) { in mgt_dispatcher23a()
732 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) skb->data; in OnProbeReq23a() local
[all …]
Drtw_wlan_util.c863 struct ieee80211_mgmt *mgmt, u32 pkt_len) in rtw_check_bcn_info23a() argument
876 if (unlikely(!ieee80211_is_beacon(mgmt->frame_control))) { in rtw_check_bcn_info23a()
882 if (!ether_addr_equal(cur_network->network.MacAddress, mgmt->bssid)) { in rtw_check_bcn_info23a()
884 MAC_FMT MAC_FMT "\n", __func__, MAC_ARG(mgmt->bssid), in rtw_check_bcn_info23a()
894 p = cfg80211_find_ie(WLAN_EID_DS_PARAMS, mgmt->u.beacon.variable, in rtw_check_bcn_info23a()
902 mgmt->u.beacon.variable, pie_len); in rtw_check_bcn_info23a()
921 p = cfg80211_find_ie(WLAN_EID_SSID, mgmt->u.beacon.variable, pie_len); in rtw_check_bcn_info23a()
946 val16 = le16_to_cpu(mgmt->u.beacon.capab_info); in rtw_check_bcn_info23a()
961 p = cfg80211_find_ie(WLAN_EID_RSN, mgmt->u.beacon.variable, pie_len); in rtw_check_bcn_info23a()
977 mgmt->u.beacon.variable, pie_len); in rtw_check_bcn_info23a()
[all …]
/drivers/staging/rtl8723au/hal/
Drtl8723a_cmd.c207 struct ieee80211_mgmt *mgmt; in ConstructBeacon() local
216 mgmt = (struct ieee80211_mgmt *)pframe; in ConstructBeacon()
218 mgmt->frame_control = in ConstructBeacon()
221 ether_addr_copy(mgmt->da, bc_addr); in ConstructBeacon()
222 ether_addr_copy(mgmt->sa, myid(&padapter->eeprompriv)); in ConstructBeacon()
223 ether_addr_copy(mgmt->bssid, get_my_bssid23a(cur_network)); in ConstructBeacon()
226 mgmt->seq_ctrl = 0; in ConstructBeacon()
231 &mgmt->u.beacon.beacon_int); in ConstructBeacon()
234 &mgmt->u.beacon.capab_info); in ConstructBeacon()
236 pframe = mgmt->u.beacon.variable; in ConstructBeacon()
[all …]
/drivers/net/wireless/mwifiex/
Dtdls.c623 struct ieee80211_mgmt *mgmt; in mwifiex_construct_tdls_action_frame() local
632 mgmt = (void *)skb_put(skb, offsetof(struct ieee80211_mgmt, u)); in mwifiex_construct_tdls_action_frame()
634 memset(mgmt, 0, 24); in mwifiex_construct_tdls_action_frame()
635 memcpy(mgmt->da, peer, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
636 memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
637 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
638 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame()
646 skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1); in mwifiex_construct_tdls_action_frame()
647 mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; in mwifiex_construct_tdls_action_frame()
648 mgmt->u.action.u.tdls_discover_resp.action_code = in mwifiex_construct_tdls_action_frame()
[all …]
/drivers/net/wireless/iwlegacy/
Ddebug.c58 stats->mgmt[MANAGEMENT_ASSOC_REQ]++; in il_update_stats()
61 stats->mgmt[MANAGEMENT_ASSOC_RESP]++; in il_update_stats()
64 stats->mgmt[MANAGEMENT_REASSOC_REQ]++; in il_update_stats()
67 stats->mgmt[MANAGEMENT_REASSOC_RESP]++; in il_update_stats()
70 stats->mgmt[MANAGEMENT_PROBE_REQ]++; in il_update_stats()
73 stats->mgmt[MANAGEMENT_PROBE_RESP]++; in il_update_stats()
76 stats->mgmt[MANAGEMENT_BEACON]++; in il_update_stats()
79 stats->mgmt[MANAGEMENT_ATIM]++; in il_update_stats()
82 stats->mgmt[MANAGEMENT_DISASSOC]++; in il_update_stats()
85 stats->mgmt[MANAGEMENT_AUTH]++; in il_update_stats()
[all …]
/drivers/scsi/qla2xxx/
Dqla_bsg.c1111 switch (ql84_mgmt->mgmt.cmd) { in qla84xx_mgmt_cmd()
1146 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) { in qla84xx_mgmt_cmd()
1150 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1152 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) { in qla84xx_mgmt_cmd()
1155 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); in qla84xx_mgmt_cmd()
1159 ql84_mgmt->mgmt.mgmtp.u.info.context); in qla84xx_mgmt_cmd()
1201 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1207 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); in qla84xx_mgmt_cmd()
1210 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); in qla84xx_mgmt_cmd()
1213 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); in qla84xx_mgmt_cmd()
[all …]
Dqla_bsg.h151 struct qla84_msg_mgmt mgmt; member
/drivers/net/wireless/hostap/
Dhostap_main.c1046 struct hostap_ieee80211_mgmt *mgmt; in prism2_sta_send_mgmt() local
1054 mgmt = (struct hostap_ieee80211_mgmt *) in prism2_sta_send_mgmt()
1056 memset(mgmt, 0, IEEE80211_MGMT_HDR_LEN); in prism2_sta_send_mgmt()
1057 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in prism2_sta_send_mgmt()
1058 memcpy(mgmt->da, dst, ETH_ALEN); in prism2_sta_send_mgmt()
1059 memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN); in prism2_sta_send_mgmt()
1060 memcpy(mgmt->bssid, dst, ETH_ALEN); in prism2_sta_send_mgmt()
Dhostap_80211_rx.c396 struct hostap_ieee80211_mgmt *mgmt; in hostap_rx_sta_beacon() local
403 if (skb->len < IEEE80211_MGMT_HDR_LEN + sizeof(mgmt->u.beacon)) in hostap_rx_sta_beacon()
406 mgmt = (struct hostap_ieee80211_mgmt *) skb->data; in hostap_rx_sta_beacon()
407 pos = mgmt->u.beacon.variable; in hostap_rx_sta_beacon()
447 bss = __hostap_get_bss(local, mgmt->bssid, ssid, ssid_len); in hostap_rx_sta_beacon()
449 bss = __hostap_add_bss(local, mgmt->bssid, ssid, ssid_len); in hostap_rx_sta_beacon()
453 bss->capab_info = le16_to_cpu(mgmt->u.beacon.capab_info); in hostap_rx_sta_beacon()
/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c2394 struct ieee80211_mgmt mgmt; in rtw_cfg80211_indicate_sta_disassoc() local
2401 memset(&mgmt, 0, sizeof(struct ieee80211_mgmt)); in rtw_cfg80211_indicate_sta_disassoc()
2414 mgmt.frame_control = in rtw_cfg80211_indicate_sta_disassoc()
2417 ether_addr_copy(mgmt.da, myid(&padapter->eeprompriv)); in rtw_cfg80211_indicate_sta_disassoc()
2418 ether_addr_copy(mgmt.sa, da); in rtw_cfg80211_indicate_sta_disassoc()
2419 ether_addr_copy(mgmt.bssid, get_my_bssid23a(&pmlmeinfo->network)); in rtw_cfg80211_indicate_sta_disassoc()
2421 mgmt.seq_ctrl = cpu_to_le16(IEEE80211_SN_TO_SEQ(pmlmeext->mgnt_seq)); in rtw_cfg80211_indicate_sta_disassoc()
2424 mgmt.u.disassoc.reason_code = cpu_to_le16(reason); in rtw_cfg80211_indicate_sta_disassoc()
2428 cfg80211_rx_mgmt(padapter->rtw_wdev, freq, 0, (u8 *)&mgmt, frame_len, in rtw_cfg80211_indicate_sta_disassoc()
2519 struct ieee80211_mgmt *mgmt; in rtw_cfg80211_monitor_if_xmit_entry() local
[all …]
/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1459 struct ath6kl_mgmt_buff *mgmt; in ath6kl_rx() local
1464 mgmt = list_first_entry( in ath6kl_rx()
1468 list_del(&mgmt->list); in ath6kl_rx()
1475 mgmt->id, in ath6kl_rx()
1476 mgmt->freq, in ath6kl_rx()
1477 mgmt->wait, in ath6kl_rx()
1478 mgmt->buf, in ath6kl_rx()
1479 mgmt->len, in ath6kl_rx()
1480 mgmt->no_cck); in ath6kl_rx()
1482 kfree(mgmt); in ath6kl_rx()
Dcfg80211.c2753 struct ieee80211_mgmt *mgmt; in ath6kl_start_ap() local
2790 mgmt = (struct ieee80211_mgmt *) info->beacon.head; in ath6kl_start_ap()
2791 ies = mgmt->u.beacon.variable; in ath6kl_start_ap()
3058 const struct ieee80211_mgmt *mgmt; in ath6kl_send_go_probe_resp() local
3060 mgmt = (const struct ieee80211_mgmt *) buf; in ath6kl_send_go_probe_resp()
3069 pos = mgmt->u.probe_resp.variable; in ath6kl_send_go_probe_resp()
3081 mgmt->da, p2p, p2p_len); in ath6kl_send_go_probe_resp()
3095 struct ieee80211_mgmt *mgmt; in ath6kl_mgmt_powersave_ap() local
3102 mgmt = (struct ieee80211_mgmt *) buf; in ath6kl_mgmt_powersave_ap()
3103 if (is_multicast_ether_addr(mgmt->da)) in ath6kl_mgmt_powersave_ap()
[all …]
Dmain.c434 struct ieee80211_mgmt *mgmt = in ath6kl_connect_ap_mode_sta() local
436 if (ieee80211_is_assoc_req(mgmt->frame_control) && in ath6kl_connect_ap_mode_sta()
438 sizeof(mgmt->u.assoc_req)) { in ath6kl_connect_ap_mode_sta()
439 ies = mgmt->u.assoc_req.variable; in ath6kl_connect_ap_mode_sta()
441 } else if (ieee80211_is_reassoc_req(mgmt->frame_control) && in ath6kl_connect_ap_mode_sta()
443 + sizeof(mgmt->u.reassoc_req)) { in ath6kl_connect_ap_mode_sta()
444 ies = mgmt->u.reassoc_req.variable; in ath6kl_connect_ap_mode_sta()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_beacon.c200 struct ieee80211_mgmt *mgmt; in ath9k_htc_send_beacon() local
228 mgmt = (struct ieee80211_mgmt *)beacon->data; in ath9k_htc_send_beacon()
229 mgmt->u.beacon.timestamp = avp->tsfadjust; in ath9k_htc_send_beacon()
Drecv.c509 struct ieee80211_mgmt *mgmt; in ath_beacon_dtim_pending_cab() local
513 mgmt = (struct ieee80211_mgmt *)skb->data; in ath_beacon_dtim_pending_cab()
514 pos = mgmt->u.beacon.variable; in ath_beacon_dtim_pending_cab()
Dhtc_drv_txrx.c220 struct ieee80211_mgmt *mgmt; in ath9k_htc_tx_mgmt() local
237 mgmt = (struct ieee80211_mgmt *)skb->data; in ath9k_htc_tx_mgmt()
238 mgmt->u.probe_resp.timestamp = avp->tsfadjust; in ath9k_htc_tx_mgmt()
/drivers/net/wireless/cw1200/
Dtxrx.c554 struct ieee80211_mgmt *mgmt = in cw1200_tx_h_action() local
557 mgmt->u.action.category == WLAN_CATEGORY_BACK) in cw1200_tx_h_action()
798 struct ieee80211_mgmt *mgmt = (void *)skb->data; in cw1200_handle_action_rx() local
801 if (mgmt->u.action.category == WLAN_CATEGORY_BACK) in cw1200_handle_action_rx()
1014 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in cw1200_rx_cb() local
1036 (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { in cw1200_rx_cb()
1047 (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { in cw1200_rx_cb()
/drivers/staging/rtl8723au/include/
Drtw_ap.h36 struct ieee80211_mgmt *mgmt, unsigned int len);
Drtw_mlme_ext.h508 struct ieee80211_mgmt *mgmt, uint len,
511 struct ieee80211_mgmt *mgmt, u32 packet_len);
/drivers/net/wireless/rtlwifi/
Dps.c722 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_noa_ie() local
729 pos = (u8 *)mgmt->u.beacon.variable; in rtl_p2p_noa_ie()
821 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_action_ie() local
828 pos = (u8 *)&mgmt->u.action.category; in rtl_p2p_action_ie()
Dbase.c1186 struct ieee80211_mgmt *mgmt = (void *)skb->data; in rtl_action_proc() local
1205 le16_to_cpu(mgmt->u.action.u.addba_req.capab); in rtl_action_proc()
1679 struct ieee80211_mgmt *mgmt = (void *)data; in rtl_find_ie() local
1682 pos = (u8 *)mgmt->u.beacon.variable; in rtl_find_ie()
1907 struct ieee80211_mgmt *mgmt = (void *)data; in rtl_find_221_ie() local
1911 pos = (u8 *)mgmt->u.beacon.variable; in rtl_find_221_ie()
/drivers/net/wireless/p54/
Dmain.c79 struct ieee80211_mgmt *mgmt = (void *)skb->data; in p54_find_ie() local
82 if (skb->len <= sizeof(mgmt)) in p54_find_ie()
85 pos = (u8 *)mgmt->u.beacon.variable; in p54_find_ie()
/drivers/staging/wlan-ng/
Dp80211netdev.h105 u32 mgmt; member
/drivers/net/wireless/ath/carl9170/
Drx.c492 struct ieee80211_mgmt *mgmt = (void *)data; in carl9170_find_ie() local
495 pos = (u8 *)mgmt->u.beacon.variable; in carl9170_find_ie()
/drivers/net/wireless/
Dmac80211_hwsim.c1132 struct ieee80211_mgmt *mgmt; in mac80211_hwsim_tx() local
1136 mgmt = (struct ieee80211_mgmt *)skb->data; in mac80211_hwsim_tx()
1139 mgmt->u.probe_resp.timestamp = in mac80211_hwsim_tx()
1268 struct ieee80211_mgmt *mgmt; in mac80211_hwsim_beacon_tx() local
1289 mgmt = (struct ieee80211_mgmt *) skb->data; in mac80211_hwsim_beacon_tx()
1292 mgmt->u.beacon.timestamp = cpu_to_le64(data->abs_bcn_ts + in mac80211_hwsim_beacon_tx()

12