Home
last modified time | relevance | path

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

123

/drivers/net/dsa/b53/
Db53_common.c329 u8 mgmt; in b53_set_forwarding() local
331 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_set_forwarding()
334 mgmt |= SM_SW_FWD_EN; in b53_set_forwarding()
336 mgmt &= ~SM_SW_FWD_EN; in b53_set_forwarding()
338 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_set_forwarding()
342 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt); in b53_set_forwarding()
343 mgmt |= B53_MII_DUMB_FWDG_EN; in b53_set_forwarding()
344 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt); in b53_set_forwarding()
349 b53_read8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, &mgmt); in b53_set_forwarding()
350 mgmt |= B53_UC_FWD_EN | B53_MC_FWD_EN | B53_IPMC_FWD_EN; in b53_set_forwarding()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dtdls.c733 struct ieee80211_mgmt *mgmt; in mwifiex_construct_tdls_action_frame() local
741 mgmt = skb_put(skb, offsetof(struct ieee80211_mgmt, u)); in mwifiex_construct_tdls_action_frame()
743 memset(mgmt, 0, 24); in mwifiex_construct_tdls_action_frame()
744 memcpy(mgmt->da, peer, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
745 memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
746 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
747 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame()
755 skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1); in mwifiex_construct_tdls_action_frame()
756 mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; in mwifiex_construct_tdls_action_frame()
757 mgmt->u.action.u.tdls_discover_resp.action_code = in mwifiex_construct_tdls_action_frame()
[all …]
/drivers/net/wireless/intel/iwlegacy/
Ddebug.c40 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/
Dfirmware-management51 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/
Dtxrx.c1458 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()
Dcfg80211.c2766 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()
3070 const struct ieee80211_mgmt *mgmt; in ath6kl_send_go_probe_resp() local
3072 mgmt = (const struct ieee80211_mgmt *) buf; in ath6kl_send_go_probe_resp()
3081 pos = mgmt->u.probe_resp.variable; in ath6kl_send_go_probe_resp()
3093 mgmt->da, p2p, p2p_len); in ath6kl_send_go_probe_resp()
3107 struct ieee80211_mgmt *mgmt; in ath6kl_mgmt_powersave_ap() local
3114 mgmt = (struct ieee80211_mgmt *) buf; in ath6kl_mgmt_powersave_ap()
3115 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/infiniband/hw/hfi1/
Dtrace_ibhdrs.h215 __entry->dest_qpn = hfi1_16B_get_dest_qpn(packet->mgmt);
216 __entry->src_qpn = hfi1_16B_get_src_qpn(packet->mgmt);
376 __entry->dest_qpn = hfi1_16B_get_dest_qpn(&opah->opah.u.mgmt);
377 __entry->src_qpn = hfi1_16B_get_src_qpn(&opah->opah.u.mgmt);
Dhfi.h374 struct opa_16b_mgmt *mgmt; member
525 static inline u32 hfi1_16B_get_dest_qpn(struct opa_16b_mgmt *mgmt) in hfi1_16B_get_dest_qpn() argument
527 return be32_to_cpu(mgmt->dest_qpn) & OPA_16B_MGMT_QPN_MASK; in hfi1_16B_get_dest_qpn()
530 static inline u32 hfi1_16B_get_src_qpn(struct opa_16b_mgmt *mgmt) in hfi1_16B_get_src_qpn() argument
532 return be32_to_cpu(mgmt->src_qpn) & OPA_16B_MGMT_QPN_MASK; in hfi1_16B_get_src_qpn()
535 static inline void hfi1_16B_set_qpn(struct opa_16b_mgmt *mgmt, in hfi1_16B_set_qpn() argument
538 mgmt->dest_qpn = cpu_to_be32(dest_qp & OPA_16B_MGMT_QPN_MASK); in hfi1_16B_set_qpn()
539 mgmt->src_qpn = cpu_to_be32(src_qp & OPA_16B_MGMT_QPN_MASK); in hfi1_16B_set_qpn()
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c395 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()
Dhostap_main.c1030 struct hostap_ieee80211_mgmt *mgmt; in prism2_sta_send_mgmt() local
1038 mgmt = skb_put_zero(skb, IEEE80211_MGMT_HDR_LEN); in prism2_sta_send_mgmt()
1039 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in prism2_sta_send_mgmt()
1040 memcpy(mgmt->da, dst, ETH_ALEN); in prism2_sta_send_mgmt()
1041 memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN); in prism2_sta_send_mgmt()
1042 memcpy(mgmt->bssid, dst, ETH_ALEN); in prism2_sta_send_mgmt()
/drivers/scsi/qla2xxx/
Dqla_bsg.c1126 switch (ql84_mgmt->mgmt.cmd) { in qla84xx_mgmt_cmd()
1161 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) { in qla84xx_mgmt_cmd()
1165 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1167 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) { in qla84xx_mgmt_cmd()
1170 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); in qla84xx_mgmt_cmd()
1174 ql84_mgmt->mgmt.mgmtp.u.info.context); in qla84xx_mgmt_cmd()
1216 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1222 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); in qla84xx_mgmt_cmd()
1225 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); in qla84xx_mgmt_cmd()
1228 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); in qla84xx_mgmt_cmd()
[all …]
Dqla_bsg.h158 struct qla84_msg_mgmt mgmt; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c630 const struct ieee80211_mgmt *mgmt = (void *)pkt->data; in iwl_mvm_ftm_lc_notif() local
636 sizeof(mgmt->u.action.u.ftm); in iwl_mvm_ftm_lc_notif()
645 ies = mgmt->u.action.u.ftm.variable; in iwl_mvm_ftm_lc_notif()
666 memcpy(entry->addr, mgmt->bssid, ETH_ALEN); in iwl_mvm_ftm_lc_notif()
Dmac-ctxt.c817 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() local
821 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim()
839 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_mvm_find_ie_offset() local
842 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_mvm_find_ie_offset()
845 frame_size -= mgmt->u.beacon.variable - beacon; in iwl_mvm_find_ie_offset()
847 ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); in iwl_mvm_find_ie_offset()
/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()
/drivers/net/wireless/st/cw1200/
Dtxrx.c551 struct ieee80211_mgmt *mgmt = in cw1200_tx_h_action() local
554 mgmt->u.action.category == WLAN_CATEGORY_BACK) in cw1200_tx_h_action()
795 struct ieee80211_mgmt *mgmt = (void *)skb->data; in cw1200_handle_action_rx() local
798 if (mgmt->u.action.category == WLAN_CATEGORY_BACK) in cw1200_handle_action_rx()
1011 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in cw1200_rx_cb() local
1033 (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { in cw1200_rx_cb()
1044 (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) { in cw1200_rx_cb()
/drivers/net/wireless/realtek/rtlwifi/
Dps.c714 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_noa_ie() local
722 pos = (u8 *)mgmt->u.beacon.variable; in rtl_p2p_noa_ie()
817 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_action_ie() local
824 pos = (u8 *)&mgmt->u.action.category; in rtl_p2p_action_ie()
/drivers/net/wireless/intersil/p54/
Dmain.c76 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/
Dp80211netdev.h103 u32 mgmt; member
/drivers/staging/wilc1000/
Dwilc_hif.c584 if (ieee80211_is_probe_resp(rcvd_info->mgmt->frame_control)) in handle_rcvd_ntwrk_info()
586 else if (ieee80211_is_beacon(rcvd_info->mgmt->frame_control)) in handle_rcvd_ntwrk_info()
591 ies = rcvd_info->mgmt->u.beacon.variable; in handle_rcvd_ntwrk_info()
605 kfree(rcvd_info->mgmt); in handle_rcvd_ntwrk_info()
1647 msg->body.net_info.mgmt = kmemdup(&buffer[9], in wilc_network_info_received()
1650 if (!msg->body.net_info.mgmt) { in wilc_network_info_received()
1658 kfree(msg->body.net_info.mgmt); in wilc_network_info_received()
Dwilc_wfi_cfgoperations.c96 bss = cfg80211_inform_bss_frame(wiphy, channel, info->mgmt, in cfg_scan_result()
1225 const struct ieee80211_mgmt *mgmt; in mgmt_tx() local
1236 mgmt = (const struct ieee80211_mgmt *)buf; in mgmt_tx()
1238 if (!ieee80211_is_mgmt(mgmt->frame_control)) in mgmt_tx()
1257 if (ieee80211_is_probe_resp(mgmt->frame_control)) { in mgmt_tx()
1263 if (!ieee80211_is_action(mgmt->frame_control)) in mgmt_tx()
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h229 u8 mgmt; member
/drivers/net/ethernet/cadence/
Dmacb_main.c3628 static struct sifive_fu540_macb_mgmt *mgmt; variable
3960 return mgmt->rate; in fu540_macb_tx_recalc_rate()
3993 iowrite32(1, mgmt->reg); in fu540_macb_tx_set_rate()
3995 iowrite32(0, mgmt->reg); in fu540_macb_tx_set_rate()
3996 mgmt->rate = rate; in fu540_macb_tx_set_rate()
4018 mgmt = devm_kzalloc(&pdev->dev, sizeof(*mgmt), GFP_KERNEL); in fu540_c000_clk_init()
4019 if (!mgmt) in fu540_c000_clk_init()
4027 mgmt->rate = 0; in fu540_c000_clk_init()
4028 mgmt->hw.init = &init; in fu540_c000_clk_init()
4030 *tx_clk = devm_clk_register(&pdev->dev, &mgmt->hw); in fu540_c000_clk_init()
[all …]
/drivers/net/wireless/
Dmac80211_hwsim.c1409 struct ieee80211_mgmt *mgmt; in mac80211_hwsim_tx() local
1413 mgmt = (struct ieee80211_mgmt *)skb->data; in mac80211_hwsim_tx()
1416 mgmt->u.probe_resp.timestamp = in mac80211_hwsim_tx()
1546 struct ieee80211_mgmt *mgmt; in mac80211_hwsim_beacon_tx() local
1567 mgmt = (struct ieee80211_mgmt *) skb->data; in mac80211_hwsim_beacon_tx()
1570 mgmt->u.beacon.timestamp = cpu_to_le64(data->abs_bcn_ts + in mac80211_hwsim_beacon_tx()
2043 struct ieee80211_mgmt *mgmt; in hw_scan_work() local
2053 mgmt = (struct ieee80211_mgmt *) probe->data; in hw_scan_work()
2054 memcpy(mgmt->da, req->bssid, ETH_ALEN); in hw_scan_work()
2055 memcpy(mgmt->bssid, req->bssid, ETH_ALEN); in hw_scan_work()

123