mgmt              719 arch/mips/cavium-octeon/octeon-platform.c 		int mgmt;
mgmt              726 arch/mips/cavium-octeon/octeon-platform.c 		mgmt = fdt_path_offset(initial_boot_params, alias_prop);
mgmt              727 arch/mips/cavium-octeon/octeon-platform.c 		if (mgmt < 0)
mgmt              729 arch/mips/cavium-octeon/octeon-platform.c 		octeon_fdt_set_mac_addr(mgmt, &mac_addr_base);
mgmt              795 arch/mips/cavium-octeon/octeon-platform.c 		int mgmt;
mgmt              802 arch/mips/cavium-octeon/octeon-platform.c 			mgmt = fdt_path_offset(initial_boot_params, alias_prop);
mgmt              803 arch/mips/cavium-octeon/octeon-platform.c 			if (mgmt < 0)
mgmt              807 arch/mips/cavium-octeon/octeon-platform.c 				octeon_fdt_rm_ethernet(mgmt);
mgmt              813 arch/mips/cavium-octeon/octeon-platform.c 				octeon_fdt_set_phy(mgmt, phy_addr);
mgmt             1545 drivers/infiniband/hw/hfi1/driver.c 		packet->mgmt = packet->ebuf;
mgmt              374 drivers/infiniband/hw/hfi1/hfi.h 	struct opa_16b_mgmt *mgmt;
mgmt              525 drivers/infiniband/hw/hfi1/hfi.h static inline u32 hfi1_16B_get_dest_qpn(struct opa_16b_mgmt *mgmt)
mgmt              527 drivers/infiniband/hw/hfi1/hfi.h 	return be32_to_cpu(mgmt->dest_qpn) & OPA_16B_MGMT_QPN_MASK;
mgmt              530 drivers/infiniband/hw/hfi1/hfi.h static inline u32 hfi1_16B_get_src_qpn(struct opa_16b_mgmt *mgmt)
mgmt              532 drivers/infiniband/hw/hfi1/hfi.h 	return be32_to_cpu(mgmt->src_qpn) & OPA_16B_MGMT_QPN_MASK;
mgmt              535 drivers/infiniband/hw/hfi1/hfi.h static inline void hfi1_16B_set_qpn(struct opa_16b_mgmt *mgmt,
mgmt              538 drivers/infiniband/hw/hfi1/hfi.h 	mgmt->dest_qpn = cpu_to_be32(dest_qp & OPA_16B_MGMT_QPN_MASK);
mgmt              539 drivers/infiniband/hw/hfi1/hfi.h 	mgmt->src_qpn = cpu_to_be32(src_qp & OPA_16B_MGMT_QPN_MASK);
mgmt              215 drivers/infiniband/hw/hfi1/trace_ibhdrs.h 					__entry->dest_qpn = hfi1_16B_get_dest_qpn(packet->mgmt);
mgmt              216 drivers/infiniband/hw/hfi1/trace_ibhdrs.h 					__entry->src_qpn = hfi1_16B_get_src_qpn(packet->mgmt);
mgmt              376 drivers/infiniband/hw/hfi1/trace_ibhdrs.h 					__entry->dest_qpn = hfi1_16B_get_dest_qpn(&opah->opah.u.mgmt);
mgmt              377 drivers/infiniband/hw/hfi1/trace_ibhdrs.h 					__entry->src_qpn = hfi1_16B_get_src_qpn(&opah->opah.u.mgmt);
mgmt              454 drivers/infiniband/hw/hfi1/ud.c 		hfi1_16B_set_qpn(&ps->s_txreq->phdr.hdr.opah.u.mgmt,
mgmt              899 drivers/infiniband/hw/hfi1/ud.c 		src_qp = hfi1_16B_get_src_qpn(packet->mgmt);
mgmt              542 drivers/infiniband/hw/hfi1/verbs.c 			qp_num = hfi1_16B_get_dest_qpn(packet->mgmt);
mgmt              129 drivers/infiniband/hw/hfi1/verbs.h 		struct opa_16b_mgmt mgmt;
mgmt              329 drivers/net/dsa/b53/b53_common.c 	u8 mgmt;
mgmt              331 drivers/net/dsa/b53/b53_common.c 	b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt);
mgmt              334 drivers/net/dsa/b53/b53_common.c 		mgmt |= SM_SW_FWD_EN;
mgmt              336 drivers/net/dsa/b53/b53_common.c 		mgmt &= ~SM_SW_FWD_EN;
mgmt              338 drivers/net/dsa/b53/b53_common.c 	b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt);
mgmt              342 drivers/net/dsa/b53/b53_common.c 	b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, &mgmt);
mgmt              343 drivers/net/dsa/b53/b53_common.c 	mgmt |= B53_MII_DUMB_FWDG_EN;
mgmt              344 drivers/net/dsa/b53/b53_common.c 	b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_CTRL, mgmt);
mgmt              349 drivers/net/dsa/b53/b53_common.c 	b53_read8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, &mgmt);
mgmt              350 drivers/net/dsa/b53/b53_common.c 	mgmt |= B53_UC_FWD_EN | B53_MC_FWD_EN | B53_IPMC_FWD_EN;
mgmt              351 drivers/net/dsa/b53/b53_common.c 	b53_write8(dev, B53_CTRL_PAGE, B53_IP_MULTICAST_CTRL, mgmt);
mgmt              357 drivers/net/dsa/b53/b53_common.c 	u8 mgmt, vc0, vc1, vc4 = 0, vc5;
mgmt              359 drivers/net/dsa/b53/b53_common.c 	b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt);
mgmt              374 drivers/net/dsa/b53/b53_common.c 	mgmt &= ~SM_SW_FWD_MODE;
mgmt              435 drivers/net/dsa/b53/b53_common.c 	b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt);
mgmt              717 drivers/net/dsa/b53/b53_common.c 	u8 mgmt, reg;
mgmt              749 drivers/net/dsa/b53/b53_common.c 	b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt);
mgmt              751 drivers/net/dsa/b53/b53_common.c 	if (!(mgmt & SM_SW_FWD_EN)) {
mgmt              752 drivers/net/dsa/b53/b53_common.c 		mgmt &= ~SM_SW_FWD_MODE;
mgmt              753 drivers/net/dsa/b53/b53_common.c 		mgmt |= SM_SW_FWD_EN;
mgmt              755 drivers/net/dsa/b53/b53_common.c 		b53_write8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, mgmt);
mgmt              756 drivers/net/dsa/b53/b53_common.c 		b53_read8(dev, B53_CTRL_PAGE, B53_SWITCH_MODE, &mgmt);
mgmt              758 drivers/net/dsa/b53/b53_common.c 		if (!(mgmt & SM_SW_FWD_EN)) {
mgmt             3634 drivers/net/ethernet/cadence/macb_main.c static struct sifive_fu540_macb_mgmt *mgmt;
mgmt             3972 drivers/net/ethernet/cadence/macb_main.c 	return mgmt->rate;
mgmt             4005 drivers/net/ethernet/cadence/macb_main.c 		iowrite32(1, mgmt->reg);
mgmt             4007 drivers/net/ethernet/cadence/macb_main.c 		iowrite32(0, mgmt->reg);
mgmt             4008 drivers/net/ethernet/cadence/macb_main.c 	mgmt->rate = rate;
mgmt             4030 drivers/net/ethernet/cadence/macb_main.c 	mgmt = devm_kzalloc(&pdev->dev, sizeof(*mgmt), GFP_KERNEL);
mgmt             4031 drivers/net/ethernet/cadence/macb_main.c 	if (!mgmt)
mgmt             4039 drivers/net/ethernet/cadence/macb_main.c 	mgmt->rate = 0;
mgmt             4040 drivers/net/ethernet/cadence/macb_main.c 	mgmt->hw.init = &init;
mgmt             4042 drivers/net/ethernet/cadence/macb_main.c 	*tx_clk = devm_clk_register(&pdev->dev, &mgmt->hw);
mgmt             4057 drivers/net/ethernet/cadence/macb_main.c 	mgmt->reg = devm_platform_ioremap_resource(pdev, 1);
mgmt             4058 drivers/net/ethernet/cadence/macb_main.c 	if (IS_ERR(mgmt->reg))
mgmt             4059 drivers/net/ethernet/cadence/macb_main.c 		return PTR_ERR(mgmt->reg);
mgmt              229 drivers/net/ethernet/emulex/benet/be_hw.h 	u8 mgmt;
mgmt              897 drivers/net/ethernet/emulex/benet/be_main.c 	SET_TX_WRB_HDR_BITS(mgmt, hdr,
mgmt             1550 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_mgmt *mgmt;
mgmt             1557 drivers/net/wireless/ath/ath10k/mac.c 	mgmt = (void *)bcn->data;
mgmt             1559 drivers/net/wireless/ath/ath10k/mac.c 					 mgmt->u.beacon.variable,
mgmt             1560 drivers/net/wireless/ath/ath10k/mac.c 					 bcn->len - (mgmt->u.beacon.variable -
mgmt             2057 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt             2063 drivers/net/wireless/ath/ath10k/mac.c 	if (!ether_addr_equal(mgmt->bssid, vif->bss_conf.bssid))
mgmt             1245 drivers/net/wireless/ath/ath5k/base.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1247 drivers/net/wireless/ath/ath5k/base.c 	if (le16_to_cpu(mgmt->u.beacon.capab_info) & WLAN_CAPABILITY_IBSS) {
mgmt             1254 drivers/net/wireless/ath/ath5k/base.c 		bc_tstamp = le64_to_cpu(mgmt->u.beacon.timestamp);
mgmt             2766 drivers/net/wireless/ath/ath6kl/cfg80211.c 	struct ieee80211_mgmt *mgmt;
mgmt             2802 drivers/net/wireless/ath/ath6kl/cfg80211.c 	mgmt = (struct ieee80211_mgmt *) info->beacon.head;
mgmt             2803 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ies = mgmt->u.beacon.variable;
mgmt             3070 drivers/net/wireless/ath/ath6kl/cfg80211.c 	const struct ieee80211_mgmt *mgmt;
mgmt             3072 drivers/net/wireless/ath/ath6kl/cfg80211.c 	mgmt = (const struct ieee80211_mgmt *) buf;
mgmt             3081 drivers/net/wireless/ath/ath6kl/cfg80211.c 	pos = mgmt->u.probe_resp.variable;
mgmt             3093 drivers/net/wireless/ath/ath6kl/cfg80211.c 						 mgmt->da, p2p, p2p_len);
mgmt             3107 drivers/net/wireless/ath/ath6kl/cfg80211.c 	struct ieee80211_mgmt *mgmt;
mgmt             3114 drivers/net/wireless/ath/ath6kl/cfg80211.c 	mgmt = (struct ieee80211_mgmt *) buf;
mgmt             3115 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (is_multicast_ether_addr(mgmt->da))
mgmt             3118 drivers/net/wireless/ath/ath6kl/cfg80211.c 	conn = ath6kl_find_sta(vif, mgmt->da);
mgmt             3171 drivers/net/wireless/ath/ath6kl/cfg80211.c 	const struct ieee80211_mgmt *mgmt;
mgmt             3172 drivers/net/wireless/ath/ath6kl/cfg80211.c 	mgmt = (const struct ieee80211_mgmt *) buf;
mgmt             3175 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (buf + len >= &mgmt->u.probe_resp.variable[1] &&
mgmt             3176 drivers/net/wireless/ath/ath6kl/cfg80211.c 	    (mgmt->u.probe_resp.variable[1] > P2P_WILDCARD_SSID_LEN)) {
mgmt             3194 drivers/net/wireless/ath/ath6kl/cfg80211.c 	const struct ieee80211_mgmt *mgmt;
mgmt             3208 drivers/net/wireless/ath/ath6kl/cfg80211.c 	mgmt = (const struct ieee80211_mgmt *) buf;
mgmt             3210 drivers/net/wireless/ath/ath6kl/cfg80211.c 	    ieee80211_is_probe_resp(mgmt->frame_control) &&
mgmt              434 drivers/net/wireless/ath/ath6kl/main.c 		struct ieee80211_mgmt *mgmt =
mgmt              436 drivers/net/wireless/ath/ath6kl/main.c 		if (ieee80211_is_assoc_req(mgmt->frame_control) &&
mgmt              438 drivers/net/wireless/ath/ath6kl/main.c 		    sizeof(mgmt->u.assoc_req)) {
mgmt              439 drivers/net/wireless/ath/ath6kl/main.c 			ies = mgmt->u.assoc_req.variable;
mgmt              441 drivers/net/wireless/ath/ath6kl/main.c 		} else if (ieee80211_is_reassoc_req(mgmt->frame_control) &&
mgmt              443 drivers/net/wireless/ath/ath6kl/main.c 			   + sizeof(mgmt->u.reassoc_req)) {
mgmt              444 drivers/net/wireless/ath/ath6kl/main.c 			ies = mgmt->u.reassoc_req.variable;
mgmt             1458 drivers/net/wireless/ath/ath6kl/txrx.c 				struct ath6kl_mgmt_buff *mgmt;
mgmt             1463 drivers/net/wireless/ath/ath6kl/txrx.c 					mgmt = list_first_entry(
mgmt             1467 drivers/net/wireless/ath/ath6kl/txrx.c 					list_del(&mgmt->list);
mgmt             1474 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->id,
mgmt             1475 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->freq,
mgmt             1476 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->wait,
mgmt             1477 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->buf,
mgmt             1478 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->len,
mgmt             1479 drivers/net/wireless/ath/ath6kl/txrx.c 								 mgmt->no_cck);
mgmt             1481 drivers/net/wireless/ath/ath6kl/txrx.c 					kfree(mgmt);
mgmt              200 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	struct ieee80211_mgmt *mgmt;
mgmt              228 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	mgmt = (struct ieee80211_mgmt *)beacon->data;
mgmt              229 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	mgmt->u.beacon.timestamp = avp->tsfadjust;
mgmt              220 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	struct ieee80211_mgmt *mgmt;
mgmt              237 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt              238 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		mgmt->u.probe_resp.timestamp = avp->tsfadjust;
mgmt              507 drivers/net/wireless/ath/ath9k/recv.c 	struct ieee80211_mgmt *mgmt;
mgmt              511 drivers/net/wireless/ath/ath9k/recv.c 	mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt              512 drivers/net/wireless/ath/ath9k/recv.c 	pos = mgmt->u.beacon.variable;
mgmt              492 drivers/net/wireless/ath/carl9170/rx.c 	struct ieee80211_mgmt *mgmt = (void *)data;
mgmt              495 drivers/net/wireless/ath/carl9170/rx.c 	pos = (u8 *)mgmt->u.beacon.variable;
mgmt             1768 drivers/net/wireless/atmel/at76c50x-usb.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1787 drivers/net/wireless/atmel/at76c50x-usb.c 	if (mgmt->frame_control & cpu_to_le16(IEEE80211_STYPE_AUTH)) {
mgmt             1788 drivers/net/wireless/atmel/at76c50x-usb.c 		if (!ether_addr_equal_64bits(priv->bssid, mgmt->bssid)) {
mgmt             1789 drivers/net/wireless/atmel/at76c50x-usb.c 			memcpy(priv->bssid, mgmt->bssid, ETH_ALEN);
mgmt             4868 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	const struct ieee80211_mgmt *mgmt;
mgmt             4883 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	mgmt = (const struct ieee80211_mgmt *)buf;
mgmt             4885 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (!ieee80211_is_mgmt(mgmt->frame_control)) {
mgmt             4892 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (ieee80211_is_probe_resp(mgmt->frame_control)) {
mgmt             4915 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	} else if (ieee80211_is_action(mgmt->frame_control)) {
mgmt             4931 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		memcpy(&action_frame->da[0], &mgmt->da[0], ETH_ALEN);
mgmt             4932 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		memcpy(&af_params->bssid[0], &mgmt->bssid[0], ETH_ALEN);
mgmt             4959 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		brcmf_dbg(TRACE, "Unhandled, fc=%04x!!\n", mgmt->frame_control);
mgmt             3759 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon;
mgmt             3765 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	tim_idx = mgmt->u.beacon.variable - beacon;
mgmt             1052 drivers/net/wireless/intel/iwlegacy/common.h 	u32 mgmt[MANAGEMENT_MAX];
mgmt               40 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_ASSOC_REQ]++;
mgmt               43 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_ASSOC_RESP]++;
mgmt               46 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_REASSOC_REQ]++;
mgmt               49 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_REASSOC_RESP]++;
mgmt               52 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_PROBE_REQ]++;
mgmt               55 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_PROBE_RESP]++;
mgmt               58 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_BEACON]++;
mgmt               61 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_ATIM]++;
mgmt               64 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_DISASSOC]++;
mgmt               67 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_AUTH]++;
mgmt               70 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_DEAUTH]++;
mgmt               73 drivers/net/wireless/intel/iwlegacy/debug.c 			stats->mgmt[MANAGEMENT_ACTION]++;
mgmt              219 drivers/net/wireless/intel/iwlegacy/debug.c 			      il_get_mgmt_string(cnt), il->tx_stats.mgmt[cnt]);
mgmt              280 drivers/net/wireless/intel/iwlegacy/debug.c 			      il_get_mgmt_string(cnt), il->rx_stats.mgmt[cnt]);
mgmt              165 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon;
mgmt              171 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	tim_idx = mgmt->u.beacon.variable - beacon;
mgmt              633 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	const struct ieee80211_mgmt *mgmt = (void *)pkt->data;
mgmt              639 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 			 sizeof(mgmt->u.action.u.ftm);
mgmt              648 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	ies = mgmt->u.action.u.ftm.variable;
mgmt              669 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c 	memcpy(entry->addr, mgmt->bssid, ETH_ALEN);
mgmt              817 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon;
mgmt              821 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	tim_idx = mgmt->u.beacon.variable - beacon;
mgmt              839 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	struct ieee80211_mgmt *mgmt = (void *)beacon;
mgmt              842 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon)))
mgmt              845 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	frame_size -= mgmt->u.beacon.variable - beacon;
mgmt              847 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 	ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size);
mgmt              653 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt              654 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	int base_len = (u8 *)mgmt->u.probe_resp.variable - (u8 *)mgmt;
mgmt              674 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 					  mgmt->u.probe_resp.variable,
mgmt              395 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	struct hostap_ieee80211_mgmt *mgmt;
mgmt              402 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	if (skb->len < IEEE80211_MGMT_HDR_LEN + sizeof(mgmt->u.beacon))
mgmt              405 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	mgmt = (struct hostap_ieee80211_mgmt *) skb->data;
mgmt              406 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	pos = mgmt->u.beacon.variable;
mgmt              446 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	bss = __hostap_get_bss(local, mgmt->bssid, ssid, ssid_len);
mgmt              448 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 		bss = __hostap_add_bss(local, mgmt->bssid, ssid, ssid_len);
mgmt              452 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 		bss->capab_info = le16_to_cpu(mgmt->u.beacon.capab_info);
mgmt             1030 drivers/net/wireless/intersil/hostap/hostap_main.c 	struct hostap_ieee80211_mgmt *mgmt;
mgmt             1038 drivers/net/wireless/intersil/hostap/hostap_main.c 	mgmt = skb_put_zero(skb, IEEE80211_MGMT_HDR_LEN);
mgmt             1039 drivers/net/wireless/intersil/hostap/hostap_main.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype);
mgmt             1040 drivers/net/wireless/intersil/hostap/hostap_main.c 	memcpy(mgmt->da, dst, ETH_ALEN);
mgmt             1041 drivers/net/wireless/intersil/hostap/hostap_main.c 	memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN);
mgmt             1042 drivers/net/wireless/intersil/hostap/hostap_main.c 	memcpy(mgmt->bssid, dst, ETH_ALEN);
mgmt               76 drivers/net/wireless/intersil/p54/main.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt               79 drivers/net/wireless/intersil/p54/main.c 	if (skb->len <= sizeof(mgmt))
mgmt               82 drivers/net/wireless/intersil/p54/main.c 	pos = (u8 *)mgmt->u.beacon.variable;
mgmt             1409 drivers/net/wireless/mac80211_hwsim.c 		struct ieee80211_mgmt *mgmt;
mgmt             1413 drivers/net/wireless/mac80211_hwsim.c 		mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1416 drivers/net/wireless/mac80211_hwsim.c 		mgmt->u.probe_resp.timestamp =
mgmt             1546 drivers/net/wireless/mac80211_hwsim.c 	struct ieee80211_mgmt *mgmt;
mgmt             1567 drivers/net/wireless/mac80211_hwsim.c 	mgmt = (struct ieee80211_mgmt *) skb->data;
mgmt             1570 drivers/net/wireless/mac80211_hwsim.c 	mgmt->u.beacon.timestamp = cpu_to_le64(data->abs_bcn_ts +
mgmt             2043 drivers/net/wireless/mac80211_hwsim.c 			struct ieee80211_mgmt *mgmt;
mgmt             2053 drivers/net/wireless/mac80211_hwsim.c 			mgmt = (struct ieee80211_mgmt *) probe->data;
mgmt             2054 drivers/net/wireless/mac80211_hwsim.c 			memcpy(mgmt->da, req->bssid, ETH_ALEN);
mgmt             2055 drivers/net/wireless/mac80211_hwsim.c 			memcpy(mgmt->bssid, req->bssid, ETH_ALEN);
mgmt              215 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	const struct ieee80211_mgmt *mgmt;
mgmt              224 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	mgmt = (const struct ieee80211_mgmt *)buf;
mgmt              226 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	    ieee80211_is_probe_resp(mgmt->frame_control)) {
mgmt              254 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	if (ieee80211_is_action(mgmt->frame_control))
mgmt              733 drivers/net/wireless/marvell/mwifiex/tdls.c 	struct ieee80211_mgmt *mgmt;
mgmt              741 drivers/net/wireless/marvell/mwifiex/tdls.c 	mgmt = skb_put(skb, offsetof(struct ieee80211_mgmt, u));
mgmt              743 drivers/net/wireless/marvell/mwifiex/tdls.c 	memset(mgmt, 0, 24);
mgmt              744 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(mgmt->da, peer, ETH_ALEN);
mgmt              745 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN);
mgmt              746 drivers/net/wireless/marvell/mwifiex/tdls.c 	memcpy(mgmt->bssid, priv->cfg_bssid, ETH_ALEN);
mgmt              747 drivers/net/wireless/marvell/mwifiex/tdls.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              755 drivers/net/wireless/marvell/mwifiex/tdls.c 		skb_put(skb, sizeof(mgmt->u.action.u.tdls_discover_resp) + 1);
mgmt              756 drivers/net/wireless/marvell/mwifiex/tdls.c 		mgmt->u.action.category = WLAN_CATEGORY_PUBLIC;
mgmt              757 drivers/net/wireless/marvell/mwifiex/tdls.c 		mgmt->u.action.u.tdls_discover_resp.action_code =
mgmt              759 drivers/net/wireless/marvell/mwifiex/tdls.c 		mgmt->u.action.u.tdls_discover_resp.dialog_token =
mgmt              761 drivers/net/wireless/marvell/mwifiex/tdls.c 		mgmt->u.action.u.tdls_discover_resp.capability =
mgmt              764 drivers/net/wireless/marvell/mwifiex/tdls.c 		memmove(pos + ETH_ALEN, &mgmt->u.action.category,
mgmt              765 drivers/net/wireless/marvell/mwifiex/tdls.c 			sizeof(mgmt->u.action.u.tdls_discover_resp));
mgmt             1913 drivers/net/wireless/marvell/mwl8k.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1973 drivers/net/wireless/marvell/mwl8k.c 	    mgmt->u.action.category == WLAN_CATEGORY_BACK &&
mgmt             1974 drivers/net/wireless/marvell/mwl8k.c 	    mgmt->u.action.u.addba_req.action_code == WLAN_ACTION_ADDBA_REQ &&
mgmt             1976 drivers/net/wireless/marvell/mwl8k.c 		u16 capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab);
mgmt             3620 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_use_fixed_rate_ap(struct ieee80211_hw *hw, int mcast, int mgmt)
mgmt             3633 drivers/net/wireless/marvell/mwl8k.c 	cmd->management_rate = mgmt;
mgmt             5631 drivers/net/wireless/marvell/mwl8k.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt             5634 drivers/net/wireless/marvell/mwl8k.c 					 mgmt->u.beacon.variable, len);
mgmt              562 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	struct ieee80211_mgmt *mgmt = (void *)data;
mgmt              565 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	pos = (u8 *)mgmt->u.beacon.variable;
mgmt             1287 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	struct ieee80211_mgmt *mgmt;
mgmt             1303 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1304 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	mgmt->u.beacon.timestamp = cpu_to_le64(rtl8180_get_tsf(dev, vif));
mgmt             1070 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 	struct ieee80211_mgmt *mgmt;
mgmt             1086 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 	mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1087 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 	mgmt->u.beacon.timestamp = cpu_to_le64(rtl8187_get_tsf(dev, vif));
mgmt             4729 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr;
mgmt             4735 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	switch (mgmt->u.action.u.addba_resp.action_code) {
mgmt             4737 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		cap = le16_to_cpu(mgmt->u.action.u.addba_resp.capab);
mgmt             4738 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		timeout = le16_to_cpu(mgmt->u.action.u.addba_resp.timeout);
mgmt             4746 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			 le16_to_cpu(mgmt->u.action.u.addba_resp.status));
mgmt             4749 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		cap = le16_to_cpu(mgmt->u.action.u.addba_req.capab);
mgmt             4750 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		timeout = le16_to_cpu(mgmt->u.action.u.addba_req.timeout);
mgmt             4760 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			 mgmt->u.action.u.addba_resp.action_code);
mgmt             1397 drivers/net/wireless/realtek/rtlwifi/base.c 				struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt             1416 drivers/net/wireless/realtek/rtlwifi/base.c 				  le16_to_cpu(mgmt->u.action.u.addba_req.capab);
mgmt             2402 drivers/net/wireless/realtek/rtlwifi/base.c 	struct ieee80211_mgmt *mgmt = (void *)data;
mgmt             2405 drivers/net/wireless/realtek/rtlwifi/base.c 	pos = (u8 *)mgmt->u.beacon.variable;
mgmt             2625 drivers/net/wireless/realtek/rtlwifi/base.c 	struct ieee80211_mgmt *mgmt = (void *)data;
mgmt             2629 drivers/net/wireless/realtek/rtlwifi/base.c 	pos = (u8 *)mgmt->u.beacon.variable;
mgmt              714 drivers/net/wireless/realtek/rtlwifi/ps.c 	struct ieee80211_mgmt *mgmt = data;
mgmt              722 drivers/net/wireless/realtek/rtlwifi/ps.c 	pos = (u8 *)mgmt->u.beacon.variable;
mgmt              817 drivers/net/wireless/realtek/rtlwifi/ps.c 	struct ieee80211_mgmt *mgmt = data;
mgmt              824 drivers/net/wireless/realtek/rtlwifi/ps.c 	pos = (u8 *)&mgmt->u.action.category;
mgmt             2189 drivers/net/wireless/st/cw1200/sta.c 	struct ieee80211_mgmt *mgmt;
mgmt             2218 drivers/net/wireless/st/cw1200/sta.c 	mgmt = (void *)frame.skb->data;
mgmt             2219 drivers/net/wireless/st/cw1200/sta.c 	mgmt->frame_control =
mgmt              551 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_mgmt *mgmt =
mgmt              554 drivers/net/wireless/st/cw1200/txrx.c 	    mgmt->u.action.category == WLAN_CATEGORY_BACK)
mgmt              795 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt              798 drivers/net/wireless/st/cw1200/txrx.c 	if (mgmt->u.action.category == WLAN_CATEGORY_BACK)
mgmt             1011 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)skb->data;
mgmt             1033 drivers/net/wireless/st/cw1200/txrx.c 		   (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) {
mgmt             1044 drivers/net/wireless/st/cw1200/txrx.c 	    (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC)) {
mgmt             1126 drivers/scsi/qla2xxx/qla_bsg.c 	switch (ql84_mgmt->mgmt.cmd) {
mgmt             1161 drivers/scsi/qla2xxx/qla_bsg.c 		if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) {
mgmt             1165 drivers/scsi/qla2xxx/qla_bsg.c 				ql84_mgmt->mgmt.mgmtp.u.mem.start_addr);
mgmt             1167 drivers/scsi/qla2xxx/qla_bsg.c 		} else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) {
mgmt             1170 drivers/scsi/qla2xxx/qla_bsg.c 				cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type);
mgmt             1174 drivers/scsi/qla2xxx/qla_bsg.c 				ql84_mgmt->mgmt.mgmtp.u.info.context);
mgmt             1216 drivers/scsi/qla2xxx/qla_bsg.c 			cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr);
mgmt             1222 drivers/scsi/qla2xxx/qla_bsg.c 			cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id);
mgmt             1225 drivers/scsi/qla2xxx/qla_bsg.c 			cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0);
mgmt             1228 drivers/scsi/qla2xxx/qla_bsg.c 			cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1);
mgmt             1236 drivers/scsi/qla2xxx/qla_bsg.c 	if (ql84_mgmt->mgmt.cmd != QLA84_MGMT_CHNG_CONFIG) {
mgmt             1237 drivers/scsi/qla2xxx/qla_bsg.c 		mn->total_byte_cnt = cpu_to_le32(ql84_mgmt->mgmt.len);
mgmt             1240 drivers/scsi/qla2xxx/qla_bsg.c 		mn->dsd.length = cpu_to_le32(ql84_mgmt->mgmt.len);
mgmt             1258 drivers/scsi/qla2xxx/qla_bsg.c 		if ((ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) ||
mgmt             1259 drivers/scsi/qla2xxx/qla_bsg.c 			(ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO)) {
mgmt              158 drivers/scsi/qla2xxx/qla_bsg.h 	struct qla84_msg_mgmt mgmt;
mgmt              584 drivers/staging/wilc1000/wilc_hif.c 	if (ieee80211_is_probe_resp(rcvd_info->mgmt->frame_control))
mgmt              586 drivers/staging/wilc1000/wilc_hif.c 	else if (ieee80211_is_beacon(rcvd_info->mgmt->frame_control))
mgmt              591 drivers/staging/wilc1000/wilc_hif.c 	ies = rcvd_info->mgmt->u.beacon.variable;
mgmt              605 drivers/staging/wilc1000/wilc_hif.c 	kfree(rcvd_info->mgmt);
mgmt             1647 drivers/staging/wilc1000/wilc_hif.c 	msg->body.net_info.mgmt = kmemdup(&buffer[9],
mgmt             1650 drivers/staging/wilc1000/wilc_hif.c 	if (!msg->body.net_info.mgmt) {
mgmt             1658 drivers/staging/wilc1000/wilc_hif.c 		kfree(msg->body.net_info.mgmt);
mgmt              115 drivers/staging/wilc1000/wilc_hif.h 	struct ieee80211_mgmt *mgmt;
mgmt               96 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 		bss = cfg80211_inform_bss_frame(wiphy, channel, info->mgmt,
mgmt             1225 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	const struct ieee80211_mgmt *mgmt;
mgmt             1236 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	mgmt = (const struct ieee80211_mgmt *)buf;
mgmt             1238 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	if (!ieee80211_is_mgmt(mgmt->frame_control))
mgmt             1257 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	if (ieee80211_is_probe_resp(mgmt->frame_control)) {
mgmt             1263 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 	if (!ieee80211_is_action(mgmt->frame_control))
mgmt              938 drivers/staging/wlan-ng/p80211netdev.c 		wlandev->rx.mgmt++;
mgmt              103 drivers/staging/wlan-ng/p80211netdev.h 	u32 mgmt;
mgmt             3219 include/linux/ieee80211.h 	struct ieee80211_mgmt *mgmt = (void *)hdr;
mgmt             3225 include/linux/ieee80211.h 	return mgmt->u.action.category == WLAN_CATEGORY_PUBLIC;
mgmt             3235 include/linux/ieee80211.h 	struct ieee80211_mgmt *mgmt = (void *)hdr;
mgmt             3241 include/linux/ieee80211.h 	return mgmt->u.action.category == WLAN_CATEGORY_MESH_ACTION ||
mgmt             3242 include/linux/ieee80211.h 	       mgmt->u.action.category == WLAN_CATEGORY_MULTIHOP_ACTION;
mgmt             3334 include/linux/ieee80211.h 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt             3336 include/linux/ieee80211.h 	if (!ieee80211_is_action(mgmt->frame_control))
mgmt             3340 include/linux/ieee80211.h 		       sizeof(mgmt->u.action.u.tpc_report))
mgmt             3354 include/linux/ieee80211.h 	if (mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT &&
mgmt             3355 include/linux/ieee80211.h 	    mgmt->u.action.category != WLAN_CATEGORY_RADIO_MEASUREMENT)
mgmt             3359 include/linux/ieee80211.h 	if (mgmt->u.action.u.tpc_report.action_code !=
mgmt             3363 include/linux/ieee80211.h 	if (mgmt->u.action.u.tpc_report.tpc_elem_id != WLAN_EID_TPC_REPORT ||
mgmt             3364 include/linux/ieee80211.h 	    mgmt->u.action.u.tpc_report.tpc_elem_length !=
mgmt             5654 include/net/cfg80211.h 			       struct ieee80211_mgmt *mgmt, size_t len,
mgmt             5661 include/net/cfg80211.h 				struct ieee80211_mgmt *mgmt, size_t len,
mgmt             5670 include/net/cfg80211.h 	return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp);
mgmt             5676 include/net/cfg80211.h 			  struct ieee80211_mgmt *mgmt, size_t len,
mgmt             5685 include/net/cfg80211.h 	return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp);
mgmt              222 net/mac80211/agg-rx.c 	struct ieee80211_mgmt *mgmt;
mgmt              226 net/mac80211/agg-rx.c 	skb = dev_alloc_skb(sizeof(*mgmt) +
mgmt              233 net/mac80211/agg-rx.c 	mgmt = skb_put_zero(skb, 24);
mgmt              234 net/mac80211/agg-rx.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt              235 net/mac80211/agg-rx.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              239 net/mac80211/agg-rx.c 		memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt              241 net/mac80211/agg-rx.c 		memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN);
mgmt              243 net/mac80211/agg-rx.c 		memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN);
mgmt              245 net/mac80211/agg-rx.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              248 net/mac80211/agg-rx.c 	skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp));
mgmt              249 net/mac80211/agg-rx.c 	mgmt->u.action.category = WLAN_CATEGORY_BACK;
mgmt              250 net/mac80211/agg-rx.c 	mgmt->u.action.u.addba_resp.action_code = WLAN_ACTION_ADDBA_RESP;
mgmt              251 net/mac80211/agg-rx.c 	mgmt->u.action.u.addba_resp.dialog_token = dialog_token;
mgmt              258 net/mac80211/agg-rx.c 	mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab);
mgmt              259 net/mac80211/agg-rx.c 	mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout);
mgmt              260 net/mac80211/agg-rx.c 	mgmt->u.action.u.addba_resp.status = cpu_to_le16(status);
mgmt              475 net/mac80211/agg-rx.c 				     struct ieee80211_mgmt *mgmt,
mgmt              484 net/mac80211/agg-rx.c 	dialog_token = mgmt->u.action.u.addba_req.dialog_token;
mgmt              485 net/mac80211/agg-rx.c 	timeout = le16_to_cpu(mgmt->u.action.u.addba_req.timeout);
mgmt              487 net/mac80211/agg-rx.c 		le16_to_cpu(mgmt->u.action.u.addba_req.start_seq_num) >> 4;
mgmt              489 net/mac80211/agg-rx.c 	capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab);
mgmt              497 net/mac80211/agg-rx.c 		ieee802_11_parse_elems(mgmt->u.action.u.addba_req.variable,
mgmt              498 net/mac80211/agg-rx.c                                 ies_len, true, &elems, mgmt->bssid, NULL);
mgmt               68 net/mac80211/agg-tx.c 	struct ieee80211_mgmt *mgmt;
mgmt               71 net/mac80211/agg-tx.c 	skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
mgmt               77 net/mac80211/agg-tx.c 	mgmt = skb_put_zero(skb, 24);
mgmt               78 net/mac80211/agg-tx.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt               79 net/mac80211/agg-tx.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt               83 net/mac80211/agg-tx.c 		memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt               85 net/mac80211/agg-tx.c 		memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN);
mgmt               87 net/mac80211/agg-tx.c 		memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN);
mgmt               89 net/mac80211/agg-tx.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt               92 net/mac80211/agg-tx.c 	skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req));
mgmt               94 net/mac80211/agg-tx.c 	mgmt->u.action.category = WLAN_CATEGORY_BACK;
mgmt               95 net/mac80211/agg-tx.c 	mgmt->u.action.u.addba_req.action_code = WLAN_ACTION_ADDBA_REQ;
mgmt               97 net/mac80211/agg-tx.c 	mgmt->u.action.u.addba_req.dialog_token = dialog_token;
mgmt              103 net/mac80211/agg-tx.c 	mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab);
mgmt              105 net/mac80211/agg-tx.c 	mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout);
mgmt              106 net/mac80211/agg-tx.c 	mgmt->u.action.u.addba_req.start_seq_num =
mgmt              914 net/mac80211/agg-tx.c 				  struct ieee80211_mgmt *mgmt,
mgmt              922 net/mac80211/agg-tx.c 	capab = le16_to_cpu(mgmt->u.action.u.addba_resp.capab);
mgmt              938 net/mac80211/agg-tx.c 	if (mgmt->u.action.u.addba_resp.dialog_token != tid_tx->dialog_token) {
mgmt              968 net/mac80211/agg-tx.c 	if (le16_to_cpu(mgmt->u.action.u.addba_resp.status)
mgmt              985 net/mac80211/agg-tx.c 			le16_to_cpu(mgmt->u.action.u.addba_resp.timeout);
mgmt              220 net/mac80211/fils_aead.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt              226 net/mac80211/fils_aead.c 	if (ieee80211_is_reassoc_req(mgmt->frame_control)) {
mgmt              227 net/mac80211/fils_aead.c 		capab = (u8 *)&mgmt->u.reassoc_req.capab_info;
mgmt              228 net/mac80211/fils_aead.c 		ies = mgmt->u.reassoc_req.variable;
mgmt              230 net/mac80211/fils_aead.c 		capab = (u8 *)&mgmt->u.assoc_req.capab_info;
mgmt              231 net/mac80211/fils_aead.c 		ies = mgmt->u.assoc_req.variable;
mgmt              244 net/mac80211/fils_aead.c 	addr[0] = mgmt->sa;
mgmt              247 net/mac80211/fils_aead.c 	addr[1] = mgmt->da;
mgmt              271 net/mac80211/fils_aead.c 	struct ieee80211_mgmt *mgmt = (void *)frame;
mgmt              281 net/mac80211/fils_aead.c 	capab = (u8 *)&mgmt->u.assoc_resp.capab_info;
mgmt              282 net/mac80211/fils_aead.c 	ies = mgmt->u.assoc_resp.variable;
mgmt              288 net/mac80211/fils_aead.c 			 mgmt->sa);
mgmt              297 net/mac80211/fils_aead.c 	addr[0] = mgmt->sa;
mgmt              300 net/mac80211/fils_aead.c 	addr[1] = mgmt->da;
mgmt              318 net/mac80211/fils_aead.c 			 mgmt->sa);
mgmt              326 net/mac80211/fils_aead.c 			 mgmt->sa);
mgmt              414 net/mac80211/ht.c 	struct ieee80211_mgmt *mgmt;
mgmt              417 net/mac80211/ht.c 	skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
mgmt              422 net/mac80211/ht.c 	mgmt = skb_put_zero(skb, 24);
mgmt              423 net/mac80211/ht.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt              424 net/mac80211/ht.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              428 net/mac80211/ht.c 		memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt              430 net/mac80211/ht.c 		memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN);
mgmt              432 net/mac80211/ht.c 		memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN);
mgmt              434 net/mac80211/ht.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              437 net/mac80211/ht.c 	skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba));
mgmt              439 net/mac80211/ht.c 	mgmt->u.action.category = WLAN_CATEGORY_BACK;
mgmt              440 net/mac80211/ht.c 	mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA;
mgmt              444 net/mac80211/ht.c 	mgmt->u.action.u.delba.params = cpu_to_le16(params);
mgmt              445 net/mac80211/ht.c 	mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code);
mgmt              452 net/mac80211/ht.c 			     struct ieee80211_mgmt *mgmt, size_t len)
mgmt              457 net/mac80211/ht.c 	params = le16_to_cpu(mgmt->u.action.u.delba.params);
mgmt              462 net/mac80211/ht.c 			   mgmt->sa, initiator ? "initiator" : "recipient",
mgmt              464 net/mac80211/ht.c 			   le16_to_cpu(mgmt->u.action.u.delba.reason_code));
mgmt               48 net/mac80211/ibss.c 	struct ieee80211_mgmt *mgmt;
mgmt               76 net/mac80211/ibss.c 	mgmt = (void *) presp->head;
mgmt               77 net/mac80211/ibss.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt               79 net/mac80211/ibss.c 	eth_broadcast_addr(mgmt->da);
mgmt               80 net/mac80211/ibss.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt               81 net/mac80211/ibss.c 	memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN);
mgmt               82 net/mac80211/ibss.c 	mgmt->u.beacon.beacon_int = cpu_to_le16(beacon_int);
mgmt               83 net/mac80211/ibss.c 	mgmt->u.beacon.timestamp = cpu_to_le64(tsf);
mgmt               84 net/mac80211/ibss.c 	mgmt->u.beacon.capab_info = cpu_to_le16(capability);
mgmt               86 net/mac80211/ibss.c 	pos = (u8 *)mgmt + offsetof(struct ieee80211_mgmt, u.beacon.variable);
mgmt              227 net/mac80211/ibss.c 	struct ieee80211_mgmt *mgmt;
mgmt              324 net/mac80211/ibss.c 	mgmt = (void *)presp->head;
mgmt              389 net/mac80211/ibss.c 	bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt,
mgmt              916 net/mac80211/ibss.c 				struct ieee80211_mgmt *mgmt, size_t len,
mgmt              926 net/mac80211/ibss.c 	if (mgmt->u.action.u.measurement.action_code !=
mgmt              931 net/mac80211/ibss.c 		       sizeof(mgmt->u.action.u.chan_switch);
mgmt              940 net/mac80211/ibss.c 					  struct ieee80211_mgmt *mgmt,
mgmt              943 net/mac80211/ibss.c 	u16 reason = le16_to_cpu(mgmt->u.deauth.reason_code);
mgmt              948 net/mac80211/ibss.c 	ibss_dbg(sdata, "RX DeAuth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da);
mgmt              949 net/mac80211/ibss.c 	ibss_dbg(sdata, "\tBSSID=%pM (reason: %d)\n", mgmt->bssid, reason);
mgmt              950 net/mac80211/ibss.c 	sta_info_destroy_addr(sdata, mgmt->sa);
mgmt              954 net/mac80211/ibss.c 					struct ieee80211_mgmt *mgmt,
mgmt              964 net/mac80211/ibss.c 	auth_alg = le16_to_cpu(mgmt->u.auth.auth_alg);
mgmt              965 net/mac80211/ibss.c 	auth_transaction = le16_to_cpu(mgmt->u.auth.auth_transaction);
mgmt              967 net/mac80211/ibss.c 	ibss_dbg(sdata, "RX Auth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da);
mgmt              969 net/mac80211/ibss.c 		 mgmt->bssid, auth_transaction);
mgmt              981 net/mac80211/ibss.c 			    mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0, 0);
mgmt              985 net/mac80211/ibss.c 				      struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1001 net/mac80211/ibss.c 	if (!ether_addr_equal(mgmt->bssid, sdata->u.ibss.bssid))
mgmt             1009 net/mac80211/ibss.c 	sta = sta_info_get(sdata, mgmt->sa);
mgmt             1036 net/mac80211/ibss.c 			sta = ieee80211_ibss_add_sta(sdata, mgmt->bssid,
mgmt             1037 net/mac80211/ibss.c 						     mgmt->sa, supp_rates);
mgmt             1107 net/mac80211/ibss.c 				  struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1123 net/mac80211/ibss.c 	ieee80211_update_sta_info(sdata, mgmt, len, rx_status, elems, channel);
mgmt             1125 net/mac80211/ibss.c 	bss = ieee80211_bss_info_update(local, rx_status, mgmt, len, channel);
mgmt             1132 net/mac80211/ibss.c 	beacon_timestamp = le64_to_cpu(mgmt->u.beacon.timestamp);
mgmt             1178 net/mac80211/ibss.c 		 mgmt->sa, mgmt->bssid,
mgmt             1188 net/mac80211/ibss.c 			 mgmt->bssid);
mgmt             1191 net/mac80211/ibss.c 		ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa,
mgmt             1528 net/mac80211/ibss.c 	struct ieee80211_mgmt *mgmt = (void *)req->data;
mgmt             1547 net/mac80211/ibss.c 	ibss_dbg(sdata, "RX ProbeReq SA=%pM DA=%pM\n", mgmt->sa, mgmt->da);
mgmt             1549 net/mac80211/ibss.c 		 mgmt->bssid, tx_last_beacon);
mgmt             1551 net/mac80211/ibss.c 	if (!tx_last_beacon && is_multicast_ether_addr(mgmt->da))
mgmt             1554 net/mac80211/ibss.c 	if (!ether_addr_equal(mgmt->bssid, ifibss->bssid) &&
mgmt             1555 net/mac80211/ibss.c 	    !is_broadcast_ether_addr(mgmt->bssid))
mgmt             1558 net/mac80211/ibss.c 	end = ((u8 *) mgmt) + len;
mgmt             1559 net/mac80211/ibss.c 	pos = mgmt->u.probe_req.variable;
mgmt             1563 net/mac80211/ibss.c 			 mgmt->sa);
mgmt             1581 net/mac80211/ibss.c 	memcpy(((struct ieee80211_mgmt *) skb->data)->da, mgmt->sa, ETH_ALEN);
mgmt             1582 net/mac80211/ibss.c 	ibss_dbg(sdata, "Sending ProbeResp to %pM\n", mgmt->sa);
mgmt             1594 net/mac80211/ibss.c 				    struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1600 net/mac80211/ibss.c 	BUILD_BUG_ON(offsetof(typeof(mgmt->u.probe_resp), variable) !=
mgmt             1601 net/mac80211/ibss.c 		     offsetof(typeof(mgmt->u.beacon), variable));
mgmt             1607 net/mac80211/ibss.c 	baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt;
mgmt             1611 net/mac80211/ibss.c 	ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen,
mgmt             1612 net/mac80211/ibss.c 			       false, &elems, mgmt->bssid, NULL);
mgmt             1614 net/mac80211/ibss.c 	ieee80211_rx_bss_info(sdata, mgmt, len, rx_status, &elems);
mgmt             1621 net/mac80211/ibss.c 	struct ieee80211_mgmt *mgmt;
mgmt             1627 net/mac80211/ibss.c 	mgmt = (struct ieee80211_mgmt *) skb->data;
mgmt             1628 net/mac80211/ibss.c 	fc = le16_to_cpu(mgmt->frame_control);
mgmt             1641 net/mac80211/ibss.c 		ieee80211_rx_mgmt_probe_beacon(sdata, mgmt, skb->len,
mgmt             1645 net/mac80211/ibss.c 		ieee80211_rx_mgmt_auth_ibss(sdata, mgmt, skb->len);
mgmt             1648 net/mac80211/ibss.c 		ieee80211_rx_mgmt_deauth_ibss(sdata, mgmt, skb->len);
mgmt             1651 net/mac80211/ibss.c 		switch (mgmt->u.action.category) {
mgmt             1661 net/mac80211/ibss.c 				mgmt->u.action.u.chan_switch.variable,
mgmt             1662 net/mac80211/ibss.c 				ies_len, true, &elems, mgmt->bssid, NULL);
mgmt             1667 net/mac80211/ibss.c 			ieee80211_rx_mgmt_spectrum_mgmt(sdata, mgmt, skb->len,
mgmt              631 net/mac80211/ieee80211_i.h 			     struct ieee80211_mgmt *mgmt,
mgmt             1687 net/mac80211/ieee80211_i.h 			  struct ieee80211_mgmt *mgmt,
mgmt             1816 net/mac80211/ieee80211_i.h 			     struct ieee80211_mgmt *mgmt, size_t len);
mgmt             1819 net/mac80211/ieee80211_i.h 				  struct ieee80211_mgmt *mgmt,
mgmt             1823 net/mac80211/ieee80211_i.h 				     struct ieee80211_mgmt *mgmt,
mgmt             1856 net/mac80211/ieee80211_i.h 				 struct ieee80211_mgmt *mgmt);
mgmt             1886 net/mac80211/ieee80211_i.h 				       struct ieee80211_mgmt *mgmt,
mgmt             1247 net/mac80211/iface.c 		struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt             1249 net/mac80211/iface.c 		if (ieee80211_is_action(mgmt->frame_control) &&
mgmt             1250 net/mac80211/iface.c 		    mgmt->u.action.category == WLAN_CATEGORY_BACK) {
mgmt             1254 net/mac80211/iface.c 			sta = sta_info_get_bss(sdata, mgmt->sa);
mgmt             1256 net/mac80211/iface.c 				switch (mgmt->u.action.u.addba_req.action_code) {
mgmt             1259 net/mac80211/iface.c 							local, sta, mgmt, len);
mgmt             1263 net/mac80211/iface.c 								     mgmt, len);
mgmt             1267 net/mac80211/iface.c 								mgmt, len);
mgmt             1275 net/mac80211/iface.c 		} else if (ieee80211_is_action(mgmt->frame_control) &&
mgmt             1276 net/mac80211/iface.c 			   mgmt->u.action.category == WLAN_CATEGORY_VHT) {
mgmt             1277 net/mac80211/iface.c 			switch (mgmt->u.action.u.vht_group_notif.action_code) {
mgmt             1285 net/mac80211/iface.c 				opmode = mgmt->u.action.u.vht_opmode_notif.operating_mode;
mgmt             1288 net/mac80211/iface.c 				sta = sta_info_get_bss(sdata, mgmt->sa);
mgmt             1299 net/mac80211/iface.c 				ieee80211_process_mu_groups(sdata, mgmt);
mgmt             1305 net/mac80211/iface.c 		} else if (ieee80211_is_data_qos(mgmt->frame_control)) {
mgmt             1306 net/mac80211/iface.c 			struct ieee80211_hdr *hdr = (void *)mgmt;
mgmt             1325 net/mac80211/iface.c 			sta = sta_info_get_bss(sdata, mgmt->sa);
mgmt               18 net/mac80211/mesh.c bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt)
mgmt               20 net/mac80211/mesh.c 	return (mgmt->u.action.u.mesh_action.action_code ==
mgmt              731 net/mac80211/mesh.c 	struct ieee80211_mgmt *mgmt;
mgmt              785 net/mac80211/mesh.c 	mgmt = skb_put_zero(skb, hdr_len);
mgmt              786 net/mac80211/mesh.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              788 net/mac80211/mesh.c 	eth_broadcast_addr(mgmt->da);
mgmt              789 net/mac80211/mesh.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              790 net/mac80211/mesh.c 	memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt              791 net/mac80211/mesh.c 	ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt);
mgmt              792 net/mac80211/mesh.c 	mgmt->u.beacon.beacon_int =
mgmt              794 net/mac80211/mesh.c 	mgmt->u.beacon.capab_info |= cpu_to_le16(
mgmt             1153 net/mac80211/mesh.c 			    struct ieee80211_mgmt *mgmt, size_t len)
mgmt             1164 net/mac80211/mesh.c 	pos = mgmt->u.probe_req.variable;
mgmt             1165 net/mac80211/mesh.c 	baselen = (u8 *) pos - (u8 *) mgmt;
mgmt             1169 net/mac80211/mesh.c 	ieee802_11_parse_elems(pos, len - baselen, false, &elems, mgmt->bssid,
mgmt             1176 net/mac80211/mesh.c 	if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) &&
mgmt             1177 net/mac80211/mesh.c 	     !is_broadcast_ether_addr(mgmt->da)) ||
mgmt             1203 net/mac80211/mesh.c 	memcpy(hdr->da, mgmt->sa, ETH_ALEN);
mgmt             1212 net/mac80211/mesh.c 					struct ieee80211_mgmt *mgmt,
mgmt             1226 net/mac80211/mesh.c 	    !ether_addr_equal(mgmt->da, sdata->vif.addr))
mgmt             1229 net/mac80211/mesh.c 	baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt;
mgmt             1233 net/mac80211/mesh.c 	ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen,
mgmt             1234 net/mac80211/mesh.c 			       false, &elems, mgmt->bssid, NULL);
mgmt             1258 net/mac80211/mesh.c 			mesh_neighbour_update(sdata, mgmt->sa, &elems,
mgmt             1268 net/mac80211/mesh.c 			stype, mgmt, &elems, rx_status);
mgmt             1330 net/mac80211/mesh.c 			       struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1347 net/mac80211/mesh.c 	memcpy(mgmt_fwd, mgmt, len);
mgmt             1357 net/mac80211/mesh.c 			      struct ieee80211_mgmt *mgmt, size_t len)
mgmt             1366 net/mac80211/mesh.c 	if (mgmt->u.action.u.measurement.action_code !=
mgmt             1370 net/mac80211/mesh.c 	pos = mgmt->u.action.u.chan_switch.variable;
mgmt             1374 net/mac80211/mesh.c 			       mgmt->bssid, NULL);
mgmt             1397 net/mac80211/mesh.c 		if (mesh_fwd_csa_frame(sdata, mgmt, len, &elems) < 0)
mgmt             1403 net/mac80211/mesh.c 					  struct ieee80211_mgmt *mgmt,
mgmt             1407 net/mac80211/mesh.c 	switch (mgmt->u.action.category) {
mgmt             1409 net/mac80211/mesh.c 		switch (mgmt->u.action.u.self_prot.action_code) {
mgmt             1413 net/mac80211/mesh.c 			mesh_rx_plink_frame(sdata, mgmt, len, rx_status);
mgmt             1418 net/mac80211/mesh.c 		if (mesh_action_is_path_sel(mgmt))
mgmt             1419 net/mac80211/mesh.c 			mesh_rx_path_sel_frame(sdata, mgmt, len);
mgmt             1422 net/mac80211/mesh.c 		mesh_rx_csa_frame(sdata, mgmt, len);
mgmt             1431 net/mac80211/mesh.c 	struct ieee80211_mgmt *mgmt;
mgmt             1441 net/mac80211/mesh.c 	mgmt = (struct ieee80211_mgmt *) skb->data;
mgmt             1442 net/mac80211/mesh.c 	stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE;
mgmt             1447 net/mac80211/mesh.c 		ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len,
mgmt             1451 net/mac80211/mesh.c 		ieee80211_mesh_rx_probe_req(sdata, mgmt, skb->len);
mgmt             1454 net/mac80211/mesh.c 		ieee80211_mesh_rx_mgmt_action(sdata, mgmt, skb->len, rx_status);
mgmt              275 net/mac80211/mesh.h 			    struct ieee80211_mgmt *mgmt, size_t len);
mgmt              297 net/mac80211/mesh.h 			 struct ieee80211_mgmt *mgmt, size_t len,
mgmt              318 net/mac80211/mesh.h bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt);
mgmt              110 net/mac80211/mesh_hwmp.c 	struct ieee80211_mgmt *mgmt;
mgmt              121 net/mac80211/mesh_hwmp.c 	mgmt = skb_put_zero(skb, hdr_len);
mgmt              122 net/mac80211/mesh_hwmp.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              125 net/mac80211/mesh_hwmp.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt              126 net/mac80211/mesh_hwmp.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              128 net/mac80211/mesh_hwmp.c 	memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt              129 net/mac80211/mesh_hwmp.c 	mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION;
mgmt              130 net/mac80211/mesh_hwmp.c 	mgmt->u.action.u.mesh_action.action_code =
mgmt              241 net/mac80211/mesh_hwmp.c 	struct ieee80211_mgmt *mgmt;
mgmt              257 net/mac80211/mesh_hwmp.c 	mgmt = skb_put_zero(skb, hdr_len);
mgmt              258 net/mac80211/mesh_hwmp.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              261 net/mac80211/mesh_hwmp.c 	memcpy(mgmt->da, ra, ETH_ALEN);
mgmt              262 net/mac80211/mesh_hwmp.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              264 net/mac80211/mesh_hwmp.c 	memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt              265 net/mac80211/mesh_hwmp.c 	mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION;
mgmt              266 net/mac80211/mesh_hwmp.c 	mgmt->u.action.u.mesh_action.action_code =
mgmt              381 net/mac80211/mesh_hwmp.c 			       struct ieee80211_mgmt *mgmt,
mgmt              396 net/mac80211/mesh_hwmp.c 	sta = sta_info_get(sdata, mgmt->sa);
mgmt              512 net/mac80211/mesh_hwmp.c 	ta = mgmt->sa;
mgmt              560 net/mac80211/mesh_hwmp.c 				    struct ieee80211_mgmt *mgmt,
mgmt              644 net/mac80211/mesh_hwmp.c 					       target_sn, mgmt->sa, 0, ttl,
mgmt              696 net/mac80211/mesh_hwmp.c 				    struct ieee80211_mgmt *mgmt,
mgmt              758 net/mac80211/mesh_hwmp.c 				    struct ieee80211_mgmt *mgmt,
mgmt              768 net/mac80211/mesh_hwmp.c 	ta = mgmt->sa;
mgmt              810 net/mac80211/mesh_hwmp.c 				    struct ieee80211_mgmt *mgmt,
mgmt              838 net/mac80211/mesh_hwmp.c 		  orig_addr, mgmt->sa, root_is_gate);
mgmt              841 net/mac80211/mesh_hwmp.c 	sta = sta_info_get(sdata, mgmt->sa);
mgmt              885 net/mac80211/mesh_hwmp.c 	memcpy(mpath->rann_snd_addr, mgmt->sa, ETH_ALEN);
mgmt              909 net/mac80211/mesh_hwmp.c 			    struct ieee80211_mgmt *mgmt, size_t len)
mgmt              921 net/mac80211/mesh_hwmp.c 	sta = sta_info_get(sdata, mgmt->sa);
mgmt              928 net/mac80211/mesh_hwmp.c 	baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt;
mgmt              929 net/mac80211/mesh_hwmp.c 	ieee802_11_parse_elems(mgmt->u.action.u.mesh_action.variable,
mgmt              930 net/mac80211/mesh_hwmp.c 			       len - baselen, false, &elems, mgmt->bssid, NULL);
mgmt              936 net/mac80211/mesh_hwmp.c 		path_metric = hwmp_route_info_get(sdata, mgmt, elems.preq,
mgmt              939 net/mac80211/mesh_hwmp.c 			hwmp_preq_frame_process(sdata, mgmt, elems.preq,
mgmt              946 net/mac80211/mesh_hwmp.c 		path_metric = hwmp_route_info_get(sdata, mgmt, elems.prep,
mgmt              949 net/mac80211/mesh_hwmp.c 			hwmp_prep_frame_process(sdata, mgmt, elems.prep,
mgmt              956 net/mac80211/mesh_hwmp.c 		hwmp_perr_frame_process(sdata, mgmt, elems.perr);
mgmt              959 net/mac80211/mesh_hwmp.c 		hwmp_rann_frame_process(sdata, mgmt, elems.rann);
mgmt               16 net/mac80211/mesh_plink.c #define PLINK_CNF_AID(mgmt) ((mgmt)->u.action.u.self_prot.variable + 2)
mgmt              217 net/mac80211/mesh_plink.c 	struct ieee80211_mgmt *mgmt;
mgmt              247 net/mac80211/mesh_plink.c 	mgmt = skb_put_zero(skb, hdr_len);
mgmt              248 net/mac80211/mesh_plink.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              250 net/mac80211/mesh_plink.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt              251 net/mac80211/mesh_plink.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              252 net/mac80211/mesh_plink.c 	memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt              253 net/mac80211/mesh_plink.c 	mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED;
mgmt              254 net/mac80211/mesh_plink.c 	mgmt->u.action.u.self_prot.action_code = action;
mgmt             1093 net/mac80211/mesh_plink.c 			 struct ieee80211_mgmt *mgmt,
mgmt             1118 net/mac80211/mesh_plink.c 	ftype = mgmt->u.action.u.self_prot.action_code;
mgmt             1145 net/mac80211/mesh_plink.c 	sta = sta_info_get(sdata, mgmt->sa);
mgmt             1150 net/mac80211/mesh_plink.c 			mgmt->sa);
mgmt             1160 net/mac80211/mesh_plink.c 		sta = mesh_sta_info_get(sdata, mgmt->sa, elems, rx_status);
mgmt             1168 net/mac80211/mesh_plink.c 				    mgmt->sa, 0, plid,
mgmt             1181 net/mac80211/mesh_plink.c 		sta->mesh->aid = get_unaligned_le16(PLINK_CNF_AID(mgmt));
mgmt             1194 net/mac80211/mesh_plink.c 			 struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1209 net/mac80211/mesh_plink.c 	if (is_multicast_ether_addr(mgmt->da)) {
mgmt             1215 net/mac80211/mesh_plink.c 	baseaddr = mgmt->u.action.u.self_prot.variable;
mgmt             1216 net/mac80211/mesh_plink.c 	baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt;
mgmt             1217 net/mac80211/mesh_plink.c 	if (mgmt->u.action.u.self_prot.action_code ==
mgmt             1226 net/mac80211/mesh_plink.c 			       mgmt->bssid, NULL);
mgmt             1227 net/mac80211/mesh_plink.c 	mesh_process_plink_frame(sdata, mgmt, &elems, rx_status);
mgmt               81 net/mac80211/mesh_sync.c 				   struct ieee80211_mgmt *mgmt,
mgmt              112 net/mac80211/mesh_sync.c 	sta = sta_info_get(sdata, mgmt->sa);
mgmt              129 net/mac80211/mesh_sync.c 	t_t = le64_to_cpu(mgmt->u.beacon.timestamp);
mgmt              644 net/mac80211/mlme.c 	struct ieee80211_mgmt *mgmt;
mgmt              692 net/mac80211/mlme.c 			sizeof(*mgmt) + /* bit too much but doesn't matter */
mgmt              728 net/mac80211/mlme.c 	mgmt = skb_put_zero(skb, 24);
mgmt              729 net/mac80211/mlme.c 	memcpy(mgmt->da, assoc_data->bss->bssid, ETH_ALEN);
mgmt              730 net/mac80211/mlme.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              731 net/mac80211/mlme.c 	memcpy(mgmt->bssid, assoc_data->bss->bssid, ETH_ALEN);
mgmt              735 net/mac80211/mlme.c 		mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              737 net/mac80211/mlme.c 		mgmt->u.reassoc_req.capab_info = cpu_to_le16(capab);
mgmt              738 net/mac80211/mlme.c 		mgmt->u.reassoc_req.listen_interval =
mgmt              740 net/mac80211/mlme.c 		memcpy(mgmt->u.reassoc_req.current_ap, assoc_data->prev_bssid,
mgmt              744 net/mac80211/mlme.c 		mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              746 net/mac80211/mlme.c 		mgmt->u.assoc_req.capab_info = cpu_to_le16(capab);
mgmt              747 net/mac80211/mlme.c 		mgmt->u.assoc_req.listen_interval =
mgmt             1526 net/mac80211/mlme.c 				       struct ieee80211_mgmt *mgmt,
mgmt             1535 net/mac80211/mlme.c 	__le16 capab = mgmt->u.probe_resp.capab_info;
mgmt             2825 net/mac80211/mlme.c 				     struct ieee80211_mgmt *mgmt, size_t len)
mgmt             2833 net/mac80211/mlme.c 	pos = mgmt->u.auth.variable;
mgmt             2834 net/mac80211/mlme.c 	ieee802_11_parse_elems(pos, len - (pos - (u8 *)mgmt), false, &elems,
mgmt             2835 net/mac80211/mlme.c 			       mgmt->bssid, auth_data->bss->bssid);
mgmt             2883 net/mac80211/mlme.c 				   struct ieee80211_mgmt *mgmt, size_t len)
mgmt             2903 net/mac80211/mlme.c 	if (!ether_addr_equal(bssid, mgmt->bssid))
mgmt             2906 net/mac80211/mlme.c 	auth_alg = le16_to_cpu(mgmt->u.auth.auth_alg);
mgmt             2907 net/mac80211/mlme.c 	auth_transaction = le16_to_cpu(mgmt->u.auth.auth_transaction);
mgmt             2908 net/mac80211/mlme.c 	status_code = le16_to_cpu(mgmt->u.auth.status_code);
mgmt             2917 net/mac80211/mlme.c 			   mgmt->sa, auth_alg, ifmgd->auth_data->algorithm,
mgmt             2925 net/mac80211/mlme.c 			   mgmt->sa, status_code);
mgmt             2927 net/mac80211/mlme.c 		cfg80211_rx_mlme_mgmt(sdata->dev, (u8 *)mgmt, len);
mgmt             2945 net/mac80211/mlme.c 			ieee80211_auth_challenge(sdata, mgmt, len);
mgmt             2969 net/mac80211/mlme.c 	cfg80211_rx_mlme_mgmt(sdata->dev, (u8 *)mgmt, len);
mgmt             3030 net/mac80211/mlme.c 				     struct ieee80211_mgmt *mgmt, size_t len)
mgmt             3033 net/mac80211/mlme.c 	u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code);
mgmt             3040 net/mac80211/mlme.c 	if (!ether_addr_equal(mgmt->bssid, mgmt->sa)) {
mgmt             3041 net/mac80211/mlme.c 		ieee80211_tdls_handle_disconnect(sdata, mgmt->sa, reason_code);
mgmt             3046 net/mac80211/mlme.c 	    ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid)) {
mgmt             3055 net/mac80211/mlme.c 		ieee80211_report_disconnect(sdata, (u8 *)mgmt, len, false,
mgmt             3061 net/mac80211/mlme.c 	    ether_addr_equal(mgmt->bssid, ifmgd->assoc_data->bss->bssid)) {
mgmt             3071 net/mac80211/mlme.c 		cfg80211_rx_mlme_mgmt(sdata->dev, (u8 *)mgmt, len);
mgmt             3078 net/mac80211/mlme.c 				       struct ieee80211_mgmt *mgmt, size_t len)
mgmt             3089 net/mac80211/mlme.c 	    !ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid))
mgmt             3092 net/mac80211/mlme.c 	reason_code = le16_to_cpu(mgmt->u.disassoc.reason_code);
mgmt             3094 net/mac80211/mlme.c 	if (!ether_addr_equal(mgmt->bssid, mgmt->sa)) {
mgmt             3095 net/mac80211/mlme.c 		ieee80211_tdls_handle_disconnect(sdata, mgmt->sa, reason_code);
mgmt             3100 net/mac80211/mlme.c 		   mgmt->sa, reason_code,
mgmt             3105 net/mac80211/mlme.c 	ieee80211_report_disconnect(sdata, (u8 *)mgmt, len, false, reason_code);
mgmt             3185 net/mac80211/mlme.c 				    struct ieee80211_mgmt *mgmt, size_t len)
mgmt             3203 net/mac80211/mlme.c 	aid = le16_to_cpu(mgmt->u.assoc_resp.aid);
mgmt             3204 net/mac80211/mlme.c 	capab_info = le16_to_cpu(mgmt->u.assoc_resp.capab_info);
mgmt             3221 net/mac80211/mlme.c 	pos = mgmt->u.assoc_resp.variable;
mgmt             3222 net/mac80211/mlme.c 	ieee802_11_parse_elems(pos, len - (pos - (u8 *)mgmt), false, &elems,
mgmt             3223 net/mac80211/mlme.c 			       mgmt->bssid, assoc_data->bss->bssid);
mgmt             3261 net/mac80211/mlme.c 				       mgmt->bssid,
mgmt             3512 net/mac80211/mlme.c 	ieee80211_sta_rx_notify(sdata, (struct ieee80211_hdr *)mgmt);
mgmt             3522 net/mac80211/mlme.c 					 struct ieee80211_mgmt *mgmt,
mgmt             3542 net/mac80211/mlme.c 	if (!ether_addr_equal(assoc_data->bss->bssid, mgmt->bssid))
mgmt             3553 net/mac80211/mlme.c 	reassoc = ieee80211_is_reassoc_resp(mgmt->frame_control);
mgmt             3554 net/mac80211/mlme.c 	capab_info = le16_to_cpu(mgmt->u.assoc_resp.capab_info);
mgmt             3555 net/mac80211/mlme.c 	status_code = le16_to_cpu(mgmt->u.assoc_resp.status_code);
mgmt             3556 net/mac80211/mlme.c 	aid = le16_to_cpu(mgmt->u.assoc_resp.aid);
mgmt             3560 net/mac80211/mlme.c 		   reassoc ? "Rea" : "A", mgmt->sa,
mgmt             3564 net/mac80211/mlme.c 	    fils_decrypt_assoc_resp(sdata, (u8 *)mgmt, &len, assoc_data) < 0)
mgmt             3567 net/mac80211/mlme.c 	pos = mgmt->u.assoc_resp.variable;
mgmt             3568 net/mac80211/mlme.c 	ieee802_11_parse_elems(pos, len - (pos - (u8 *)mgmt), false, &elems,
mgmt             3569 net/mac80211/mlme.c 			       mgmt->bssid, assoc_data->bss->bssid);
mgmt             3579 net/mac80211/mlme.c 			   mgmt->sa, tu, ms);
mgmt             3591 net/mac80211/mlme.c 			   mgmt->sa, status_code);
mgmt             3597 net/mac80211/mlme.c 		if (!ieee80211_assoc_success(sdata, bss, mgmt, len)) {
mgmt             3621 net/mac80211/mlme.c 	cfg80211_rx_assoc_resp(sdata->dev, bss, (u8 *)mgmt, len, uapsd_queues,
mgmt             3626 net/mac80211/mlme.c 				  struct ieee80211_mgmt *mgmt, size_t len,
mgmt             3639 net/mac80211/mlme.c 	bss = ieee80211_bss_info_update(local, rx_status, mgmt, len, channel);
mgmt             3650 net/mac80211/mlme.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt             3659 net/mac80211/mlme.c 	if (!ether_addr_equal(mgmt->da, sdata->vif.addr))
mgmt             3662 net/mac80211/mlme.c 	baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt;
mgmt             3666 net/mac80211/mlme.c 	ieee80211_rx_bss_info(sdata, mgmt, len, rx_status);
mgmt             3669 net/mac80211/mlme.c 	    ether_addr_equal(mgmt->bssid, ifmgd->associated->bssid))
mgmt             3804 net/mac80211/mlme.c 				     struct ieee80211_mgmt *mgmt, size_t len,
mgmt             3825 net/mac80211/mlme.c 	baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt;
mgmt             3844 net/mac80211/mlme.c 	    ieee80211_rx_our_beacon(mgmt->bssid, ifmgd->assoc_data->bss)) {
mgmt             3845 net/mac80211/mlme.c 		ieee802_11_parse_elems(mgmt->u.beacon.variable,
mgmt             3847 net/mac80211/mlme.c 				       mgmt->bssid,
mgmt             3850 net/mac80211/mlme.c 		ieee80211_rx_bss_info(sdata, mgmt, len, rx_status);
mgmt             3858 net/mac80211/mlme.c 				le64_to_cpu(mgmt->u.beacon.timestamp);
mgmt             3880 net/mac80211/mlme.c 	    !ieee80211_rx_our_beacon(mgmt->bssid,  ifmgd->associated))
mgmt             3900 net/mac80211/mlme.c 	ncrc = crc32_be(0, (void *)&mgmt->u.beacon.beacon_int, 4);
mgmt             3901 net/mac80211/mlme.c 	ncrc = ieee802_11_parse_elems_crc(mgmt->u.beacon.variable,
mgmt             3904 net/mac80211/mlme.c 					  mgmt->bssid, bssid);
mgmt             3935 net/mac80211/mlme.c 		ret = cfg80211_get_p2p_attr(mgmt->u.beacon.variable,
mgmt             3973 net/mac80211/mlme.c 			le64_to_cpu(mgmt->u.beacon.timestamp);
mgmt             3984 net/mac80211/mlme.c 	ieee80211_rx_bss_info(sdata, mgmt, len, rx_status);
mgmt             4021 net/mac80211/mlme.c 			le16_to_cpu(mgmt->u.beacon.capab_info),
mgmt             4051 net/mac80211/mlme.c 	changed |= ieee80211_handle_pwr_constr(sdata, chan, mgmt,
mgmt             4064 net/mac80211/mlme.c 	struct ieee80211_mgmt *mgmt;
mgmt             4070 net/mac80211/mlme.c 	mgmt = (struct ieee80211_mgmt *) skb->data;
mgmt             4071 net/mac80211/mlme.c 	fc = le16_to_cpu(mgmt->frame_control);
mgmt             4077 net/mac80211/mlme.c 		ieee80211_rx_mgmt_beacon(sdata, mgmt, skb->len, rx_status);
mgmt             4083 net/mac80211/mlme.c 		ieee80211_rx_mgmt_auth(sdata, mgmt, skb->len);
mgmt             4086 net/mac80211/mlme.c 		ieee80211_rx_mgmt_deauth(sdata, mgmt, skb->len);
mgmt             4089 net/mac80211/mlme.c 		ieee80211_rx_mgmt_disassoc(sdata, mgmt, skb->len);
mgmt             4093 net/mac80211/mlme.c 		ieee80211_rx_mgmt_assoc_resp(sdata, mgmt, skb->len);
mgmt             4096 net/mac80211/mlme.c 		if (mgmt->u.action.category == WLAN_CATEGORY_SPECTRUM_MGMT) {
mgmt             4106 net/mac80211/mlme.c 				mgmt->u.action.u.chan_switch.variable,
mgmt             4107 net/mac80211/mlme.c 				ies_len, true, &elems, mgmt->bssid, NULL);
mgmt             4116 net/mac80211/mlme.c 		} else if (mgmt->u.action.category == WLAN_CATEGORY_PUBLIC) {
mgmt             4129 net/mac80211/mlme.c 				mgmt->u.action.u.ext_chan_switch.variable,
mgmt             4130 net/mac80211/mlme.c 				ies_len, true, &elems, mgmt->bssid, NULL);
mgmt             4137 net/mac80211/mlme.c 				&mgmt->u.action.u.ext_chan_switch.data;
mgmt              787 net/mac80211/offchannel.c 	const struct ieee80211_mgmt *mgmt = (void *)params->buf;
mgmt              821 net/mac80211/offchannel.c 		if (!ieee80211_is_action(mgmt->frame_control) ||
mgmt              822 net/mac80211/offchannel.c 		    mgmt->u.action.category == WLAN_CATEGORY_PUBLIC ||
mgmt              823 net/mac80211/offchannel.c 		    mgmt->u.action.category == WLAN_CATEGORY_SELF_PROTECTED ||
mgmt              824 net/mac80211/offchannel.c 		    mgmt->u.action.category == WLAN_CATEGORY_SPECTRUM_MGMT)
mgmt              827 net/mac80211/offchannel.c 		sta = sta_info_get_bss(sdata, mgmt->da);
mgmt              839 net/mac80211/offchannel.c 			    mgmt->bssid, ETH_ALEN)))
mgmt             1071 net/mac80211/rx.c 		struct ieee80211_mgmt *mgmt;
mgmt             1083 net/mac80211/rx.c 			mgmt = (struct ieee80211_mgmt *)hdr;
mgmt             1084 net/mac80211/rx.c 			category = mgmt->u.action.category;
mgmt             2959 net/mac80211/rx.c 					   struct ieee80211_mgmt *mgmt,
mgmt             2966 net/mac80211/rx.c 	if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) {
mgmt             2971 net/mac80211/rx.c 	if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) ||
mgmt             2972 net/mac80211/rx.c 	    !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) {
mgmt             2988 net/mac80211/rx.c 	memcpy(resp->da, mgmt->sa, ETH_ALEN);
mgmt             2997 net/mac80211/rx.c 	       mgmt->u.action.u.sa_query.trans_id,
mgmt             3006 net/mac80211/rx.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
mgmt             3017 net/mac80211/rx.c 	if (!ieee80211_is_mgmt(mgmt->frame_control))
mgmt             3021 net/mac80211/rx.c 	    ieee80211_is_beacon(mgmt->frame_control) &&
mgmt             3046 net/mac80211/rx.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
mgmt             3050 net/mac80211/rx.c 	if (!ieee80211_is_action(mgmt->frame_control))
mgmt             3057 net/mac80211/rx.c 	if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC &&
mgmt             3058 net/mac80211/rx.c 	    mgmt->u.action.category != WLAN_CATEGORY_SELF_PROTECTED &&
mgmt             3059 net/mac80211/rx.c 	    mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT)
mgmt             3062 net/mac80211/rx.c 	switch (mgmt->u.action.category) {
mgmt             3079 net/mac80211/rx.c 		switch (mgmt->u.action.u.ht_smps.action) {
mgmt             3086 net/mac80211/rx.c 			switch (mgmt->u.action.u.ht_smps.smps_control) {
mgmt             3120 net/mac80211/rx.c 			u8 chanwidth = mgmt->u.action.u.ht_notify_cw.chanwidth;
mgmt             3167 net/mac80211/rx.c 		if (!ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid))
mgmt             3169 net/mac80211/rx.c 		if (mgmt->u.action.u.ext_chan_switch.action_code !=
mgmt             3188 net/mac80211/rx.c 		switch (mgmt->u.action.u.vht_opmode_notif.action_code) {
mgmt             3216 net/mac80211/rx.c 		switch (mgmt->u.action.u.addba_req.action_code) {
mgmt             3219 net/mac80211/rx.c 				   sizeof(mgmt->u.action.u.addba_req)))
mgmt             3224 net/mac80211/rx.c 				   sizeof(mgmt->u.action.u.addba_resp)))
mgmt             3229 net/mac80211/rx.c 				   sizeof(mgmt->u.action.u.delba)))
mgmt             3242 net/mac80211/rx.c 		switch (mgmt->u.action.u.measurement.action_code) {
mgmt             3248 net/mac80211/rx.c 				   sizeof(mgmt->u.action.u.measurement)))
mgmt             3254 net/mac80211/rx.c 			ieee80211_process_measurement_req(sdata, mgmt, len);
mgmt             3259 net/mac80211/rx.c 				   sizeof(mgmt->u.action.u.chan_switch)))
mgmt             3272 net/mac80211/rx.c 				bssid = mgmt->sa;
mgmt             3276 net/mac80211/rx.c 			if (!ether_addr_equal(mgmt->bssid, bssid))
mgmt             3285 net/mac80211/rx.c 			   sizeof(mgmt->u.action.u.sa_query)))
mgmt             3288 net/mac80211/rx.c 		switch (mgmt->u.action.u.sa_query.action) {
mgmt             3292 net/mac80211/rx.c 			ieee80211_process_sa_query_req(sdata, mgmt, len);
mgmt             3298 net/mac80211/rx.c 			   sizeof(mgmt->u.action.u.self_prot.action_code)))
mgmt             3301 net/mac80211/rx.c 		switch (mgmt->u.action.u.self_prot.action_code) {
mgmt             3320 net/mac80211/rx.c 			   sizeof(mgmt->u.action.u.mesh_action.action_code)))
mgmt             3325 net/mac80211/rx.c 		if (mesh_action_is_path_sel(mgmt) &&
mgmt             3388 net/mac80211/rx.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
mgmt             3393 net/mac80211/rx.c 	if (!ieee80211_is_action(mgmt->frame_control))
mgmt             3411 net/mac80211/rx.c 	if (is_multicast_ether_addr(mgmt->da))
mgmt             3415 net/mac80211/rx.c 	if (mgmt->u.action.category & 0x80)
mgmt             3451 net/mac80211/rx.c 	struct ieee80211_mgmt *mgmt = (void *)rx->skb->data;
mgmt             3454 net/mac80211/rx.c 	stype = mgmt->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE);
mgmt             3469 net/mac80211/rx.c 		if (is_multicast_ether_addr(mgmt->da) &&
mgmt             3470 net/mac80211/rx.c 		    !is_broadcast_ether_addr(mgmt->da))
mgmt             3481 net/mac80211/rx.c 		if (is_multicast_ether_addr(mgmt->da) &&
mgmt             3482 net/mac80211/rx.c 		    !is_broadcast_ether_addr(mgmt->da))
mgmt              140 net/mac80211/scan.c 			  struct ieee80211_mgmt *mgmt, size_t len,
mgmt              143 net/mac80211/scan.c 	bool beacon = ieee80211_is_beacon(mgmt->frame_control);
mgmt              184 net/mac80211/scan.c 					      mgmt, len, GFP_ATOMIC);
mgmt              188 net/mac80211/scan.c 	if (ieee80211_is_probe_resp(mgmt->frame_control)) {
mgmt              189 net/mac80211/scan.c 		elements = mgmt->u.probe_resp.variable;
mgmt              194 net/mac80211/scan.c 		elements = mgmt->u.beacon.variable;
mgmt              201 net/mac80211/scan.c 			       mgmt->bssid, cbss->bssid);
mgmt              240 net/mac80211/scan.c 	struct ieee80211_mgmt *mgmt = (void *)skb->data;
mgmt              245 net/mac80211/scan.c 	    (!ieee80211_is_probe_resp(mgmt->frame_control) &&
mgmt              246 net/mac80211/scan.c 	     !ieee80211_is_beacon(mgmt->frame_control)))
mgmt              255 net/mac80211/scan.c 	if (ieee80211_is_probe_resp(mgmt->frame_control)) {
mgmt              273 net/mac80211/scan.c 						 mgmt->da) &&
mgmt              275 net/mac80211/scan.c 						 mgmt->da))
mgmt              285 net/mac80211/scan.c 					mgmt, skb->len,
mgmt              229 net/mac80211/spectmgmt.c 				       struct ieee80211_mgmt *mgmt,
mgmt              240 net/mac80211/spectmgmt.c 			&mgmt->u.action.u.measurement.msr_elem,
mgmt              241 net/mac80211/spectmgmt.c 			mgmt->sa, mgmt->bssid,
mgmt              242 net/mac80211/spectmgmt.c 			mgmt->u.action.u.measurement.dialog_token);
mgmt              184 net/mac80211/status.c 	struct ieee80211_mgmt *mgmt = (void *) skb->data;
mgmt              200 net/mac80211/status.c 	if (ieee80211_is_data_qos(mgmt->frame_control)) {
mgmt              208 net/mac80211/status.c 	if (ieee80211_is_action(mgmt->frame_control) &&
mgmt              209 net/mac80211/status.c 	    !ieee80211_has_protected(mgmt->frame_control) &&
mgmt              210 net/mac80211/status.c 	    mgmt->u.action.category == WLAN_CATEGORY_HT &&
mgmt              211 net/mac80211/status.c 	    mgmt->u.action.u.ht_smps.action == WLAN_HT_ACTION_SMPS &&
mgmt              215 net/mac80211/status.c 		switch (mgmt->u.action.u.ht_smps.smps_control) {
mgmt              832 net/mac80211/tdls.c 	struct ieee80211_mgmt *mgmt;
mgmt              834 net/mac80211/tdls.c 	mgmt = skb_put_zero(skb, 24);
mgmt              835 net/mac80211/tdls.c 	memcpy(mgmt->da, peer, ETH_ALEN);
mgmt              836 net/mac80211/tdls.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt              837 net/mac80211/tdls.c 	memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN);
mgmt              839 net/mac80211/tdls.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt              844 net/mac80211/tdls.c 		skb_put(skb, 1 + sizeof(mgmt->u.action.u.tdls_discover_resp));
mgmt              845 net/mac80211/tdls.c 		mgmt->u.action.category = WLAN_CATEGORY_PUBLIC;
mgmt              846 net/mac80211/tdls.c 		mgmt->u.action.u.tdls_discover_resp.action_code =
mgmt              848 net/mac80211/tdls.c 		mgmt->u.action.u.tdls_discover_resp.dialog_token =
mgmt              850 net/mac80211/tdls.c 		mgmt->u.action.u.tdls_discover_resp.capability =
mgmt             1560 net/mac80211/util.c 	struct ieee80211_mgmt *mgmt;
mgmt             1571 net/mac80211/util.c 	mgmt = skb_put_zero(skb, 24 + 6);
mgmt             1572 net/mac80211/util.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt             1574 net/mac80211/util.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt             1575 net/mac80211/util.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt             1576 net/mac80211/util.c 	memcpy(mgmt->bssid, bssid, ETH_ALEN);
mgmt             1577 net/mac80211/util.c 	mgmt->u.auth.auth_alg = cpu_to_le16(auth_alg);
mgmt             1578 net/mac80211/util.c 	mgmt->u.auth.auth_transaction = cpu_to_le16(transaction);
mgmt             1579 net/mac80211/util.c 	mgmt->u.auth.status_code = cpu_to_le16(status);
mgmt             1584 net/mac80211/util.c 		mgmt->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED);
mgmt             1601 net/mac80211/util.c 	struct ieee80211_mgmt *mgmt = (void *)frame_buf;
mgmt             1604 net/mac80211/util.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype);
mgmt             1605 net/mac80211/util.c 	mgmt->duration = 0; /* initialize only */
mgmt             1606 net/mac80211/util.c 	mgmt->seq_ctrl = 0; /* initialize only */
mgmt             1607 net/mac80211/util.c 	memcpy(mgmt->da, da, ETH_ALEN);
mgmt             1608 net/mac80211/util.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt             1609 net/mac80211/util.c 	memcpy(mgmt->bssid, bssid, ETH_ALEN);
mgmt             1611 net/mac80211/util.c 	mgmt->u.deauth.reason_code = cpu_to_le16(reason);
mgmt             1622 net/mac80211/util.c 		skb_put_data(skb, mgmt, IEEE80211_DEAUTH_FRAME_LEN);
mgmt             1887 net/mac80211/util.c 	struct ieee80211_mgmt *mgmt;
mgmt             1916 net/mac80211/util.c 		mgmt = (struct ieee80211_mgmt *) skb->data;
mgmt             1917 net/mac80211/util.c 		memcpy(mgmt->da, dst, ETH_ALEN);
mgmt             1918 net/mac80211/util.c 		memcpy(mgmt->bssid, dst, ETH_ALEN);
mgmt             3472 net/mac80211/util.c 	struct ieee80211_mgmt *mgmt;
mgmt             3492 net/mac80211/util.c 	mgmt = skb_put_zero(skb, hdr_len);
mgmt             3493 net/mac80211/util.c 	mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
mgmt             3496 net/mac80211/util.c 	eth_broadcast_addr(mgmt->da);
mgmt             3497 net/mac80211/util.c 	memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
mgmt             3499 net/mac80211/util.c 		memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
mgmt             3502 net/mac80211/util.c 		memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN);
mgmt             3504 net/mac80211/util.c 	mgmt->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT;
mgmt             3505 net/mac80211/util.c 	mgmt->u.action.u.chan_switch.action_code = WLAN_ACTION_SPCT_CHL_SWITCH;
mgmt              555 net/mac80211/vht.c 				 struct ieee80211_mgmt *mgmt)
mgmt              562 net/mac80211/vht.c 	if (!memcmp(mgmt->u.action.u.vht_group_notif.position,
mgmt              564 net/mac80211/vht.c 	    !memcmp(mgmt->u.action.u.vht_group_notif.membership,
mgmt              569 net/mac80211/vht.c 	       mgmt->u.action.u.vht_group_notif.membership,
mgmt              572 net/mac80211/vht.c 	       mgmt->u.action.u.vht_group_notif.position,
mgmt              317 net/mac80211/wpa.c 	int a4_included, mgmt;
mgmt              327 net/mac80211/wpa.c 	mgmt = ieee80211_is_mgmt(hdr->frame_control);
mgmt              331 net/mac80211/wpa.c 	if (!mgmt)
mgmt              356 net/mac80211/wpa.c 	b_0[1] = qos_tid | (mgmt << 4);
mgmt               30 net/wireless/mlme.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf;
mgmt               34 net/wireless/mlme.c 	cr.status = (int)le16_to_cpu(mgmt->u.assoc_resp.status_code);
mgmt               35 net/wireless/mlme.c 	cr.bssid = mgmt->bssid;
mgmt               39 net/wireless/mlme.c 	cr.resp_ie = mgmt->u.assoc_resp.variable;
mgmt               78 net/wireless/mlme.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf;
mgmt               79 net/wireless/mlme.c 	const u8 *bssid = mgmt->bssid;
mgmt               80 net/wireless/mlme.c 	u16 reason_code = le16_to_cpu(mgmt->u.deauth.reason_code);
mgmt               81 net/wireless/mlme.c 	bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr);
mgmt               97 net/wireless/mlme.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf;
mgmt               98 net/wireless/mlme.c 	const u8 *bssid = mgmt->bssid;
mgmt               99 net/wireless/mlme.c 	u16 reason_code = le16_to_cpu(mgmt->u.disassoc.reason_code);
mgmt              100 net/wireless/mlme.c 	bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr);
mgmt              115 net/wireless/mlme.c 	struct ieee80211_mgmt *mgmt = (void *)buf;
mgmt              124 net/wireless/mlme.c 	if (ieee80211_is_auth(mgmt->frame_control))
mgmt              126 net/wireless/mlme.c 	else if (ieee80211_is_deauth(mgmt->frame_control))
mgmt              128 net/wireless/mlme.c 	else if (ieee80211_is_disassoc(mgmt->frame_control))
mgmt              177 net/wireless/mlme.c 	struct ieee80211_mgmt *mgmt = (void *)buf;
mgmt              186 net/wireless/mlme.c 	if (ieee80211_is_deauth(mgmt->frame_control))
mgmt              587 net/wireless/mlme.c 	const struct ieee80211_mgmt *mgmt;
mgmt              599 net/wireless/mlme.c 	mgmt = (const struct ieee80211_mgmt *)params->buf;
mgmt              601 net/wireless/mlme.c 	if (!ieee80211_is_mgmt(mgmt->frame_control))
mgmt              604 net/wireless/mlme.c 	stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE;
mgmt              608 net/wireless/mlme.c 	if (ieee80211_is_action(mgmt->frame_control) &&
mgmt              609 net/wireless/mlme.c 	    mgmt->u.action.category != WLAN_CATEGORY_PUBLIC) {
mgmt              624 net/wireless/mlme.c 					      mgmt->bssid)) {
mgmt              638 net/wireless/mlme.c 					      mgmt->da)) {
mgmt              646 net/wireless/mlme.c 			if (!ether_addr_equal(mgmt->bssid, wdev_address(wdev)))
mgmt              650 net/wireless/mlme.c 			if (!ether_addr_equal(mgmt->sa, mgmt->bssid)) {
mgmt              675 net/wireless/mlme.c 	if (!ether_addr_equal(mgmt->sa, wdev_address(wdev))) {
mgmt              680 net/wireless/mlme.c 		if (!ieee80211_is_action(mgmt->frame_control) ||
mgmt              681 net/wireless/mlme.c 		    mgmt->u.action.category != WLAN_CATEGORY_PUBLIC)
mgmt              707 net/wireless/mlme.c 	struct ieee80211_mgmt *mgmt = (void *)buf;
mgmt              711 net/wireless/mlme.c 	__le16 ftype = mgmt->frame_control &
mgmt              716 net/wireless/mlme.c 	stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4;
mgmt              723 net/wireless/mlme.c 	data = buf + ieee80211_hdrlen(mgmt->frame_control);
mgmt              724 net/wireless/mlme.c 	data_len = len - ieee80211_hdrlen(mgmt->frame_control);
mgmt              210 net/wireless/nl80211.c 	const struct ieee80211_mgmt *mgmt = (void *)data;
mgmt              217 net/wireless/nl80211.c 	if (ieee80211_hdrlen(mgmt->frame_control) !=
mgmt             15156 net/wireless/nl80211.c 	const struct ieee80211_mgmt *mgmt = (void *)buf;
mgmt             15162 net/wireless/nl80211.c 	if (ieee80211_is_deauth(mgmt->frame_control))
mgmt             1685 net/wireless/scan.c 				 struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1690 net/wireless/scan.c 	const u8 *ie = mgmt->u.probe_resp.variable;
mgmt             1694 net/wireless/scan.c 	ftype = ieee80211_is_beacon(mgmt->frame_control) ?
mgmt             1697 net/wireless/scan.c 	cfg80211_parse_mbssid_data(wiphy, data, ftype, mgmt->bssid,
mgmt             1698 net/wireless/scan.c 				   le64_to_cpu(mgmt->u.probe_resp.timestamp),
mgmt             1699 net/wireless/scan.c 				   le16_to_cpu(mgmt->u.probe_resp.beacon_int),
mgmt             1706 net/wireless/scan.c 				   struct ieee80211_mgmt *mgmt, size_t len)
mgmt             1719 net/wireless/scan.c 	ie = mgmt->u.probe_resp.variable;
mgmt             1770 net/wireless/scan.c 	new_ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp);
mgmt             1771 net/wireless/scan.c 	new_ies->from_beacon = ieee80211_is_beacon(mgmt->frame_control);
mgmt             1773 net/wireless/scan.c 	if (ieee80211_is_probe_resp(mgmt->frame_control)) {
mgmt             1795 net/wireless/scan.c 				      struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1809 net/wireless/scan.c 	trace_cfg80211_inform_bss_frame(wiphy, data, mgmt, len);
mgmt             1811 net/wireless/scan.c 	if (WARN_ON(!mgmt))
mgmt             1824 net/wireless/scan.c 	channel = cfg80211_get_bss_channel(wiphy, mgmt->u.beacon.variable,
mgmt             1833 net/wireless/scan.c 	ies->tsf = le64_to_cpu(mgmt->u.probe_resp.timestamp);
mgmt             1834 net/wireless/scan.c 	ies->from_beacon = ieee80211_is_beacon(mgmt->frame_control);
mgmt             1835 net/wireless/scan.c 	memcpy(ies->data, mgmt->u.probe_resp.variable, ielen);
mgmt             1837 net/wireless/scan.c 	if (ieee80211_is_probe_resp(mgmt->frame_control))
mgmt             1843 net/wireless/scan.c 	memcpy(tmp.pub.bssid, mgmt->bssid, ETH_ALEN);
mgmt             1847 net/wireless/scan.c 	tmp.pub.beacon_interval = le16_to_cpu(mgmt->u.probe_resp.beacon_int);
mgmt             1848 net/wireless/scan.c 	tmp.pub.capability = le16_to_cpu(mgmt->u.probe_resp.capab_info);
mgmt             1880 net/wireless/scan.c 			       struct ieee80211_mgmt *mgmt, size_t len,
mgmt             1884 net/wireless/scan.c 	const u8 *ie = mgmt->u.probe_resp.variable;
mgmt             1890 net/wireless/scan.c 	res = cfg80211_inform_single_bss_frame_data(wiphy, data, mgmt,
mgmt             1901 net/wireless/scan.c 	cfg80211_parse_mbssid_frame_data(wiphy, data, mgmt, len,
mgmt             1920 net/wireless/scan.c 							   mgmt, len);
mgmt              333 net/wireless/sme.c 	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)buf;
mgmt              334 net/wireless/sme.c 	u16 status_code = le16_to_cpu(mgmt->u.auth.status_code);
mgmt              371 net/wireless/sme.c 		cr.bssid = mgmt->bssid;
mgmt             3218 net/wireless/trace.h 		 struct ieee80211_mgmt *mgmt, size_t len),
mgmt             3219 net/wireless/trace.h 	TP_ARGS(wiphy, data, mgmt, len),
mgmt             3224 net/wireless/trace.h 		__dynamic_array(u8, mgmt, len)
mgmt             3234 net/wireless/trace.h 		if (mgmt)
mgmt             3235 net/wireless/trace.h 			memcpy(__get_dynamic_array(mgmt), mgmt, len);