/drivers/net/wireless/silabs/wfx/ |
D | data_rx.c | 16 static void wfx_rx_handle_ba(struct wfx_vif *wvif, struct ieee80211_mgmt *mgmt) in wfx_rx_handle_ba() argument 24 switch (mgmt->u.action.u.addba_req.action_code) { in wfx_rx_handle_ba() 26 params = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in wfx_rx_handle_ba() 28 ieee80211_start_rx_ba_session_offl(vif, mgmt->sa, tid); in wfx_rx_handle_ba() 31 params = le16_to_cpu(mgmt->u.action.u.delba.params); in wfx_rx_handle_ba() 33 ieee80211_stop_rx_ba_session_offl(vif, mgmt->sa, tid); in wfx_rx_handle_ba() 42 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in wfx_rx_cb() local 82 mgmt->u.action.category == WLAN_CATEGORY_BACK && in wfx_rx_cb() 84 wfx_rx_handle_ba(wvif, mgmt); in wfx_rx_cb()
|
D | data_tx.c | 202 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr; in wfx_is_action_back() local 204 if (!ieee80211_is_action(mgmt->frame_control)) in wfx_is_action_back() 206 if (mgmt->u.action.category != WLAN_CATEGORY_BACK) in wfx_is_action_back()
|
/drivers/net/dsa/b53/ |
D | b53_common.c | 327 u8 mgmt; in b53_set_forwarding() local 329 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_set_forwarding() 332 mgmt |= SM_SW_FWD_EN; in b53_set_forwarding() 334 mgmt &= ~SM_SW_FWD_EN; in b53_set_forwarding() 336 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_set_forwarding() 340 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt); in b53_set_forwarding() 341 mgmt |= B53_MII_DUMB_FWDG_EN; in b53_set_forwarding() 342 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt); in b53_set_forwarding() 347 b53_read8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, &mgmt); in b53_set_forwarding() 348 mgmt |= B53_UC_FWD_EN | B53_MC_FWD_EN | B53_IPMC_FWD_EN; in b53_set_forwarding() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | tdls.c | 734 struct ieee80211_mgmt *mgmt; in mwifiex_construct_tdls_action_frame() local 743 mgmt = skb_put(skb, offsetof(struct ieee80211_mgmt, u)); in mwifiex_construct_tdls_action_frame() 745 memset(mgmt, 0, 24); in mwifiex_construct_tdls_action_frame() 746 memcpy(mgmt->da, peer, ETH_ALEN); in mwifiex_construct_tdls_action_frame() 747 memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); in mwifiex_construct_tdls_action_frame() 748 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_construct_tdls_action_frame() 749 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame() 758 extra = sizeof(mgmt->u.action.u.tdls_discover_resp) + in mwifiex_construct_tdls_action_frame() 759 sizeof(mgmt->u.action.category); in mwifiex_construct_tdls_action_frame() 761 mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; in mwifiex_construct_tdls_action_frame() [all …]
|
/drivers/net/wireless/intel/iwlegacy/ |
D | debug.c | 40 stats->mgmt[MANAGEMENT_ASSOC_REQ]++; in il_update_stats() 43 stats->mgmt[MANAGEMENT_ASSOC_RESP]++; in il_update_stats() 46 stats->mgmt[MANAGEMENT_REASSOC_REQ]++; in il_update_stats() 49 stats->mgmt[MANAGEMENT_REASSOC_RESP]++; in il_update_stats() 52 stats->mgmt[MANAGEMENT_PROBE_REQ]++; in il_update_stats() 55 stats->mgmt[MANAGEMENT_PROBE_RESP]++; in il_update_stats() 58 stats->mgmt[MANAGEMENT_BEACON]++; in il_update_stats() 61 stats->mgmt[MANAGEMENT_ATIM]++; in il_update_stats() 64 stats->mgmt[MANAGEMENT_DISASSOC]++; in il_update_stats() 67 stats->mgmt[MANAGEMENT_AUTH]++; in il_update_stats() [all …]
|
/drivers/staging/greybus/Documentation/firmware/ |
D | firmware-management | 51 and will be named gb-fw-mgmt-<N>. The number <N> is assigned at runtime. 56 There can be multiple devices present in /dev/ directory with name gb-fw-mgmt-N 66 /sys/bus/greybus/devices/1-1/1-1.1/1-1.1.1/gb_fw_mgmt/gb-fw-mgmt-0 68 The last name in this path: gb-fw-mgmt-0 is precisely the name of the char 71 /dev/gb-fw-mgmt-0. 76 The Character device (gb-fw-mgmt-0 in example) can be opened by the userspace
|
/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 1458 struct ath6kl_mgmt_buff *mgmt; in ath6kl_rx() local 1463 mgmt = list_first_entry( in ath6kl_rx() 1467 list_del(&mgmt->list); in ath6kl_rx() 1474 mgmt->id, in ath6kl_rx() 1475 mgmt->freq, in ath6kl_rx() 1476 mgmt->wait, in ath6kl_rx() 1477 mgmt->buf, in ath6kl_rx() 1478 mgmt->len, in ath6kl_rx() 1479 mgmt->no_cck); in ath6kl_rx() 1481 kfree(mgmt); in ath6kl_rx()
|
D | cfg80211.c | 2766 struct ieee80211_mgmt *mgmt; in ath6kl_start_ap() local 2802 mgmt = (struct ieee80211_mgmt *) info->beacon.head; in ath6kl_start_ap() 2803 ies = mgmt->u.beacon.variable; in ath6kl_start_ap() 3071 const struct ieee80211_mgmt *mgmt; in ath6kl_send_go_probe_resp() local 3073 mgmt = (const struct ieee80211_mgmt *) buf; in ath6kl_send_go_probe_resp() 3082 pos = mgmt->u.probe_resp.variable; in ath6kl_send_go_probe_resp() 3094 mgmt->da, p2p, p2p_len); in ath6kl_send_go_probe_resp() 3108 struct ieee80211_mgmt *mgmt; in ath6kl_mgmt_powersave_ap() local 3115 mgmt = (struct ieee80211_mgmt *) buf; in ath6kl_mgmt_powersave_ap() 3116 if (is_multicast_ether_addr(mgmt->da)) in ath6kl_mgmt_powersave_ap() [all …]
|
D | main.c | 437 struct ieee80211_mgmt *mgmt = in ath6kl_connect_ap_mode_sta() local 439 if (ieee80211_is_assoc_req(mgmt->frame_control) && in ath6kl_connect_ap_mode_sta() 441 sizeof(mgmt->u.assoc_req)) { in ath6kl_connect_ap_mode_sta() 442 ies = mgmt->u.assoc_req.variable; in ath6kl_connect_ap_mode_sta() 444 } else if (ieee80211_is_reassoc_req(mgmt->frame_control) && in ath6kl_connect_ap_mode_sta() 446 + sizeof(mgmt->u.reassoc_req)) { in ath6kl_connect_ap_mode_sta() 447 ies = mgmt->u.reassoc_req.variable; in ath6kl_connect_ap_mode_sta()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 395 struct hostap_ieee80211_mgmt *mgmt; in hostap_rx_sta_beacon() local 402 if (skb->len < IEEE80211_MGMT_HDR_LEN + sizeof(mgmt->u.beacon)) in hostap_rx_sta_beacon() 405 mgmt = (struct hostap_ieee80211_mgmt *) skb->data; in hostap_rx_sta_beacon() 406 pos = mgmt->u.beacon.variable; in hostap_rx_sta_beacon() 446 bss = __hostap_get_bss(local, mgmt->bssid, ssid, ssid_len); in hostap_rx_sta_beacon() 448 bss = __hostap_add_bss(local, mgmt->bssid, ssid, ssid_len); in hostap_rx_sta_beacon() 452 bss->capab_info = le16_to_cpu(mgmt->u.beacon.capab_info); in hostap_rx_sta_beacon()
|
D | hostap_main.c | 1033 struct hostap_ieee80211_mgmt *mgmt; in prism2_sta_send_mgmt() local 1041 mgmt = skb_put_zero(skb, IEEE80211_MGMT_HDR_LEN); in prism2_sta_send_mgmt() 1042 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in prism2_sta_send_mgmt() 1043 memcpy(mgmt->da, dst, ETH_ALEN); in prism2_sta_send_mgmt() 1044 memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN); in prism2_sta_send_mgmt() 1045 memcpy(mgmt->bssid, dst, ETH_ALEN); in prism2_sta_send_mgmt()
|
/drivers/infiniband/hw/hfi1/ |
D | trace_ibhdrs.h | 174 __entry->dest_qpn = hfi1_16B_get_dest_qpn(packet->mgmt); 175 __entry->src_qpn = hfi1_16B_get_src_qpn(packet->mgmt); 335 __entry->dest_qpn = hfi1_16B_get_dest_qpn(&opah->opah.u.mgmt); 336 __entry->src_qpn = hfi1_16B_get_src_qpn(&opah->opah.u.mgmt);
|
D | hfi.h | 342 struct opa_16b_mgmt *mgmt; member 493 static inline u32 hfi1_16B_get_dest_qpn(struct opa_16b_mgmt *mgmt) in hfi1_16B_get_dest_qpn() argument 495 return be32_to_cpu(mgmt->dest_qpn) & OPA_16B_MGMT_QPN_MASK; in hfi1_16B_get_dest_qpn() 498 static inline u32 hfi1_16B_get_src_qpn(struct opa_16b_mgmt *mgmt) in hfi1_16B_get_src_qpn() argument 500 return be32_to_cpu(mgmt->src_qpn) & OPA_16B_MGMT_QPN_MASK; in hfi1_16B_get_src_qpn() 503 static inline void hfi1_16B_set_qpn(struct opa_16b_mgmt *mgmt, in hfi1_16B_set_qpn() argument 506 mgmt->dest_qpn = cpu_to_be32(dest_qp & OPA_16B_MGMT_QPN_MASK); in hfi1_16B_set_qpn() 507 mgmt->src_qpn = cpu_to_be32(src_qp & OPA_16B_MGMT_QPN_MASK); in hfi1_16B_set_qpn()
|
/drivers/staging/r8188eu/core/ |
D | rtw_mlme_ext.c | 1383 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)precv_frame->rx_data; in OnAssocRsp() local 1394 if (memcmp(myid(&padapter->eeprompriv), mgmt->da, ETH_ALEN)) in OnAssocRsp() 1405 if (le16_to_cpu(mgmt->u.assoc_resp.status_code) > 0) { in OnAssocRsp() 1411 pmlmeinfo->capability = le16_to_cpu(mgmt->u.assoc_resp.capab_info); in OnAssocRsp() 1416 pmlmeinfo->aid = le16_to_cpu(mgmt->u.assoc_resp.aid) & 0x3fff; in OnAssocRsp() 1572 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)precv_frame->rx_data; in OnAction_back() local 1582 if (memcmp(myid(&padapter->eeprompriv), mgmt->da, ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back() 1589 psta = rtw_get_stainfo(pstapriv, mgmt->sa); in OnAction_back() 1599 switch (mgmt->u.action.u.addba_req.action_code) { in OnAction_back() 1602 tid = u16_get_bits(le16_to_cpu(mgmt->u.action.u.addba_req.capab), in OnAction_back() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_beacon.c | 200 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()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 130 bss = cfg80211_inform_bss_frame(wiphy, channel, info->mgmt, in cfg_scan_result() 1033 struct ieee80211_mgmt *mgmt; in wilc_wfi_p2p_rx() local 1059 mgmt = (struct ieee80211_mgmt *)buff; in wilc_wfi_p2p_rx() 1060 if (!ieee80211_is_action(mgmt->frame_control)) in wilc_wfi_p2p_rx() 1072 d = (struct wilc_p2p_pub_act_frame *)(&mgmt->u.action); in wilc_wfi_p2p_rx() 1174 const struct ieee80211_mgmt *mgmt; in mgmt_tx() local 1187 mgmt = (const struct ieee80211_mgmt *)buf; in mgmt_tx() 1189 if (!ieee80211_is_mgmt(mgmt->frame_control)) in mgmt_tx() 1207 if (ieee80211_is_probe_resp(mgmt->frame_control)) { in mgmt_tx() 1222 d = (struct wilc_p2p_pub_act_frame *)(&mgmt->u.action); in mgmt_tx()
|
D | hif.c | 530 if (ieee80211_is_probe_resp(rcvd_info->mgmt->frame_control)) in handle_rcvd_ntwrk_info() 532 else if (ieee80211_is_beacon(rcvd_info->mgmt->frame_control)) in handle_rcvd_ntwrk_info() 537 ies = rcvd_info->mgmt->u.beacon.variable; in handle_rcvd_ntwrk_info() 551 kfree(rcvd_info->mgmt); in handle_rcvd_ntwrk_info() 1578 msg->body.net_info.mgmt = kmemdup(&buffer[9], in wilc_network_info_received() 1581 if (!msg->body.net_info.mgmt) { in wilc_network_info_received() 1589 kfree(msg->body.net_info.mgmt); in wilc_network_info_received()
|
/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 1160 switch (ql84_mgmt->mgmt.cmd) { in qla84xx_mgmt_cmd() 1195 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) { in qla84xx_mgmt_cmd() 1199 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd() 1201 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) { in qla84xx_mgmt_cmd() 1204 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); in qla84xx_mgmt_cmd() 1208 ql84_mgmt->mgmt.mgmtp.u.info.context); in qla84xx_mgmt_cmd() 1250 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd() 1256 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); in qla84xx_mgmt_cmd() 1259 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); in qla84xx_mgmt_cmd() 1262 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); in qla84xx_mgmt_cmd() [all …]
|
/drivers/net/wireless/st/cw1200/ |
D | txrx.c | 551 struct ieee80211_mgmt *mgmt = in cw1200_tx_h_action() local 554 mgmt->u.action.category == WLAN_CATEGORY_BACK) in cw1200_tx_h_action() 792 struct ieee80211_mgmt *mgmt = (void *)skb->data; in cw1200_handle_action_rx() local 795 if (mgmt->u.action.category == WLAN_CATEGORY_BACK) in cw1200_handle_action_rx() 1008 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in cw1200_rx_cb() local 1030 (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { in cw1200_rx_cb() 1041 (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { in cw1200_rx_cb()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 709 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_noa_ie() local 717 pos = (u8 *)mgmt->u.beacon.variable; in rtl_p2p_noa_ie() 812 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_action_ie() local 819 pos = (u8 *)&mgmt->u.action.category; in rtl_p2p_action_ie()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 754 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() local 758 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim() 776 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_mvm_find_ie_offset() local 779 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_mvm_find_ie_offset() 782 frame_size -= mgmt->u.beacon.variable - beacon; in iwl_mvm_find_ie_offset() 784 ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); in iwl_mvm_find_ie_offset()
|
/drivers/net/wireless/intersil/p54/ |
D | main.c | 76 struct ieee80211_mgmt *mgmt = (void *)skb->data; in p54_find_ie() local 79 if (skb->len <= sizeof(mgmt)) in p54_find_ie() 82 pos = (u8 *)mgmt->u.beacon.variable; in p54_find_ie()
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.h | 103 u32 mgmt; member
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mac.c | 369 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in mt76_connac2_mac_write_txwi_80211() local 378 mgmt->u.action.category == WLAN_CATEGORY_BACK && in mt76_connac2_mac_write_txwi_80211() 379 mgmt->u.action.u.addba_req.action_code == WLAN_ACTION_ADDBA_REQ) { in mt76_connac2_mac_write_txwi_80211() 380 u16 capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in mt76_connac2_mac_write_txwi_80211()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_hw.h | 229 u8 mgmt; member
|