Home
last modified time | relevance | path

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

12

/drivers/net/dsa/b53/
Db53_common.c330 u8 mgmt; in b53_set_forwarding() local
332 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_set_forwarding()
335 mgmt |= SM_SW_FWD_EN; in b53_set_forwarding()
337 mgmt &= ~SM_SW_FWD_EN; in b53_set_forwarding()
339 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt); in b53_set_forwarding()
345 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt); in b53_set_forwarding()
346 mgmt |= B53_MII_DUMB_FWDG_EN; in b53_set_forwarding()
347 b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt); in b53_set_forwarding()
353 u8 mgmt, vc0, vc1, vc4 = 0, vc5; in b53_enable_vlan() local
355 b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt); in b53_enable_vlan()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dtdls.c699 struct ieee80211_mgmt *mgmt; in mwifiex_construct_tdls_action_frame() local
708 mgmt = (void *)skb_put(skb, offsetof(struct ieee80211_mgmt, u)); in mwifiex_construct_tdls_action_frame()
710 memset(mgmt, 0, 24); in mwifiex_construct_tdls_action_frame()
711 memcpy(mgmt->da, peer, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
712 memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
713 memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN); in mwifiex_construct_tdls_action_frame()
714 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame()
722 skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1); in mwifiex_construct_tdls_action_frame()
723 mgmt->u.action.category = WLAN_CATEGORY_PUBLIC; in mwifiex_construct_tdls_action_frame()
724 mgmt->u.action.u.tdls_discover_resp.action_code = in mwifiex_construct_tdls_action_frame()
[all …]
/drivers/net/wireless/intel/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/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/intersil/hostap/
Dhostap_main.c1045 struct hostap_ieee80211_mgmt *mgmt; in prism2_sta_send_mgmt() local
1053 mgmt = (struct hostap_ieee80211_mgmt *) in prism2_sta_send_mgmt()
1055 memset(mgmt, 0, IEEE80211_MGMT_HDR_LEN); in prism2_sta_send_mgmt()
1056 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in prism2_sta_send_mgmt()
1057 memcpy(mgmt->da, dst, ETH_ALEN); in prism2_sta_send_mgmt()
1058 memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN); in prism2_sta_send_mgmt()
1059 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/net/wireless/ath/ath6kl/
Dtxrx.c1463 struct ath6kl_mgmt_buff *mgmt; in ath6kl_rx() local
1468 mgmt = list_first_entry( in ath6kl_rx()
1472 list_del(&mgmt->list); in ath6kl_rx()
1479 mgmt->id, in ath6kl_rx()
1480 mgmt->freq, in ath6kl_rx()
1481 mgmt->wait, in ath6kl_rx()
1482 mgmt->buf, in ath6kl_rx()
1483 mgmt->len, in ath6kl_rx()
1484 mgmt->no_cck); in ath6kl_rx()
1486 kfree(mgmt); in ath6kl_rx()
Dcfg80211.c2762 struct ieee80211_mgmt *mgmt; in ath6kl_start_ap() local
2799 mgmt = (struct ieee80211_mgmt *) info->beacon.head; in ath6kl_start_ap()
2800 ies = mgmt->u.beacon.variable; in ath6kl_start_ap()
3068 const struct ieee80211_mgmt *mgmt; in ath6kl_send_go_probe_resp() local
3070 mgmt = (const struct ieee80211_mgmt *) buf; in ath6kl_send_go_probe_resp()
3079 pos = mgmt->u.probe_resp.variable; in ath6kl_send_go_probe_resp()
3091 mgmt->da, p2p, p2p_len); in ath6kl_send_go_probe_resp()
3105 struct ieee80211_mgmt *mgmt; in ath6kl_mgmt_powersave_ap() local
3112 mgmt = (struct ieee80211_mgmt *) buf; in ath6kl_mgmt_powersave_ap()
3113 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/scsi/qla2xxx/
Dqla_bsg.c1112 switch (ql84_mgmt->mgmt.cmd) { in qla84xx_mgmt_cmd()
1147 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) { in qla84xx_mgmt_cmd()
1151 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1153 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) { in qla84xx_mgmt_cmd()
1156 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); in qla84xx_mgmt_cmd()
1160 ql84_mgmt->mgmt.mgmtp.u.info.context); in qla84xx_mgmt_cmd()
1202 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1208 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); in qla84xx_mgmt_cmd()
1211 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); in qla84xx_mgmt_cmd()
1214 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); in qla84xx_mgmt_cmd()
[all …]
Dqla_bsg.h157 struct qla84_msg_mgmt mgmt; member
/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.c507 struct ieee80211_mgmt *mgmt; in ath_beacon_dtim_pending_cab() local
511 mgmt = (struct ieee80211_mgmt *)skb->data; in ath_beacon_dtim_pending_cab()
512 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/st/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/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c998 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() local
1002 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim()
1020 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_mvm_find_ie_offset() local
1023 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_mvm_find_ie_offset()
1026 frame_size -= mgmt->u.beacon.variable - beacon; in iwl_mvm_find_ie_offset()
1028 ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); in iwl_mvm_find_ie_offset()
/drivers/net/wireless/realtek/rtlwifi/
Dps.c731 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_noa_ie() local
738 pos = (u8 *)mgmt->u.beacon.variable; in rtl_p2p_noa_ie()
830 struct ieee80211_mgmt *mgmt = data; in rtl_p2p_action_ie() local
837 pos = (u8 *)&mgmt->u.action.category; in rtl_p2p_action_ie()
Dbase.c1256 struct ieee80211_mgmt *mgmt = (void *)skb->data; in rtl_action_proc() local
1275 le16_to_cpu(mgmt->u.action.u.addba_req.capab); in rtl_action_proc()
1752 struct ieee80211_mgmt *mgmt = (void *)data; in rtl_find_ie() local
1755 pos = (u8 *)mgmt->u.beacon.variable; in rtl_find_ie()
1980 struct ieee80211_mgmt *mgmt = (void *)data; in rtl_find_221_ie() local
1984 pos = (u8 *)mgmt->u.beacon.variable; in rtl_find_221_ie()
/drivers/net/wireless/intersil/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.h102 u32 mgmt; member
/drivers/net/wireless/
Dmac80211_hwsim.c1368 struct ieee80211_mgmt *mgmt; in mac80211_hwsim_tx() local
1372 mgmt = (struct ieee80211_mgmt *)skb->data; in mac80211_hwsim_tx()
1375 mgmt->u.probe_resp.timestamp = in mac80211_hwsim_tx()
1505 struct ieee80211_mgmt *mgmt; in mac80211_hwsim_beacon_tx() local
1526 mgmt = (struct ieee80211_mgmt *) skb->data; in mac80211_hwsim_beacon_tx()
1529 mgmt->u.beacon.timestamp = cpu_to_le64(data->abs_bcn_ts + in mac80211_hwsim_beacon_tx()
1972 struct ieee80211_mgmt *mgmt; in hw_scan_work() local
1982 mgmt = (struct ieee80211_mgmt *) probe->data; in hw_scan_work()
1983 memcpy(mgmt->da, req->bssid, ETH_ALEN); in hw_scan_work()
1984 memcpy(mgmt->bssid, req->bssid, ETH_ALEN); in hw_scan_work()
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h230 u8 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/staging/wilc1000/
Dwilc_wfi_cfgoperations.c1626 const struct ieee80211_mgmt *mgmt; in mgmt_tx() local
1640 mgmt = (const struct ieee80211_mgmt *) buf; in mgmt_tx()
1642 if (ieee80211_is_mgmt(mgmt->frame_control)) { in mgmt_tx()
1657 if (ieee80211_is_probe_resp(mgmt->frame_control)) { in mgmt_tx()
1660 } else if (ieee80211_is_action(mgmt->frame_control)) { in mgmt_tx()
/drivers/net/wireless/atmel/
Dat76c50x-usb.c1773 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data; in at76_mac80211_tx() local
1792 if (mgmt->frame_control & cpu_to_le16(IEEE80211_STYPE_AUTH)) { in at76_mac80211_tx()
1793 if (!ether_addr_equal_64bits(priv->bssid, mgmt->bssid)) { in at76_mac80211_tx()
1794 memcpy(priv->bssid, mgmt->bssid, ETH_ALEN); in at76_mac80211_tx()

12